Pull request #1620 opened 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 a714b48757c517d54332fd659dfbe749d230d672+6fbfd523e75a65f7b52cf25b753a535ead5785c5 (860ba2e08d78b4fbb4231f4bd5df07970c34f210) 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-ssh11368055075479271953.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-ssh16345245219520322648.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17805374136938357032.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13496754877685581128.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9150029275771247854.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11468906172593912276.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 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 Running on prd-ubuntu20.04-docker-8c-8g-9184 in /w/workspace/gexfoundry_device-sdk-go_PR-1620 [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-1620 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit a714b48757c517d54332fd659dfbe749d230d672 Merge succeeded, producing a714b48757c517d54332fd659dfbe749d230d672 Checking out Revision a714b48757c517d54332fd659dfbe749d230d672 (PR-1620) > 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/1620/head:refs/remotes/origin/PR-1620 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a714b48757c517d54332fd659dfbe749d230d672 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a714b48757c517d54332fd659dfbe749d230d672 # timeout=10 Commit message: "feat: Add new APIs to stop the device discovery/profile scan" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-02T09:16:38.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-02T09:16:38.451Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-02T09:16:38.566Z] ========================================================= [2024-09-02T09:16:38.566Z] EdgeX Global Pipelines Version Info [2024-09-02T09:16:38.566Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:16:39.359Z] ------------------- [2024-09-02T09:16:39.359Z] stable info: [2024-09-02T09:16:39.359Z] ------------------- [2024-09-02T09:16:39.359Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-02T09:16:39.359Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-02T09:16:39.359Z] Message: update stable to v1.0.263 [2024-09-02T09:16:39.933Z] ------------------- [2024-09-02T09:16:39.933Z] experimental info: [2024-09-02T09:16:39.933Z] ------------------- [2024-09-02T09:16:39.933Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-02T09:16:39.933Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-02T09:16:39.933Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-02T09:16:40.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-02T09:16:40.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-02T09:16:40.433Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-02T09:16:40.494Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-02T09:16:40.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-02T09:16:40.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-02T09:16:40.672Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-02T09:16:40.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-02T09:16:40.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-02T09:16:40.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-02T09:16:40.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-02T09:16:40.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-02T09:16:41.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-02T09:16:41.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-02T09:16:41.165Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-02T09:16:41.223Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-02T09:16:41.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-02T09:16:41.340Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-02T09:16:41.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-02T09:16:41.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-02T09:16:41.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-02T09:16:41.578Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-02T09:16:41.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-02T09:16:41.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-02T09:16:41.767Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-02T09:16:41.824Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-02T09:16:41.881Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-02T09:16:41.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1620 [Pipeline] echo [2024-09-02T09:16:42.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1620 [Pipeline] echo [2024-09-02T09:16:42.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1620 [Pipeline] echo [2024-09-02T09:16:42.115Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a714b48757c517d54332fd659dfbe749d230d672 [Pipeline] echo [2024-09-02T09:16:42.172Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a714b48 [Pipeline] echo [2024-09-02T09:16:42.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-02T09:16:42.368Z] provisioning config files... [2024-09-02T09:16:42.384Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config6878128692419645434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:16:42.759Z] ---> ****-login.sh [2024-09-02T09:16:42.759Z] nexus3.edgexfoundry.org:10001 [2024-09-02T09:16:42.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:16:43.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:16:43.019Z] Configure a credential helper to remove this warning. See [2024-09-02T09:16:43.019Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:16:43.019Z] [2024-09-02T09:16:43.019Z] Login Succeeded [2024-09-02T09:16:43.019Z] nexus3.edgexfoundry.org:10002 [2024-09-02T09:16:43.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:16:43.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:16:43.280Z] Configure a credential helper to remove this warning. See [2024-09-02T09:16:43.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:16:43.280Z] [2024-09-02T09:16:43.280Z] Login Succeeded [2024-09-02T09:16:43.280Z] nexus3.edgexfoundry.org:10003 [2024-09-02T09:16:43.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:16:43.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:16:43.280Z] Configure a credential helper to remove this warning. See [2024-09-02T09:16:43.280Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:16:43.280Z] [2024-09-02T09:16:43.280Z] Login Succeeded [2024-09-02T09:16:43.280Z] nexus3.edgexfoundry.org:10004 [2024-09-02T09:16:43.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:16:43.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:16:43.543Z] Configure a credential helper to remove this warning. See [2024-09-02T09:16:43.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:16:43.543Z] [2024-09-02T09:16:43.543Z] Login Succeeded [2024-09-02T09:16:43.543Z] ****.io [2024-09-02T09:16:43.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:16:43.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:16:43.804Z] Configure a credential helper to remove this warning. See [2024-09-02T09:16:43.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:16:43.804Z] [2024-09-02T09:16:43.804Z] Login Succeeded [2024-09-02T09:16:43.804Z] ---> ****-login.sh ends [Pipeline] } [2024-09-02T09:16:43.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-02T09:16:44.557Z] + git rev-list -1 --merges a714b48757c517d54332fd659dfbe749d230d672~1..a714b48757c517d54332fd659dfbe749d230d672 [Pipeline] echo [2024-09-02T09:16:44.610Z] -----------> git rev-list -1 --merges a714b48757c517d54332fd659dfbe749d230d672~1..a714b48757c517d54332fd659dfbe749d230d672 a714b48757c517d54332fd659dfbe749d230d672 [false] [Pipeline] sh [2024-09-02T09:16:44.929Z] + git log --format=format:%s -1 a714b48757c517d54332fd659dfbe749d230d672 [Pipeline] echo [2024-09-02T09:16:44.971Z] ========================================================= [2024-09-02T09:16:44.971Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-02T09:16:44.971Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-02T09:16:45.444Z] + git log --format=format:%s -1 a714b48757c517d54332fd659dfbe749d230d672 [Pipeline] echo [2024-09-02T09:16:45.488Z] [semverPrep] GIT_COMMIT: a714b48757c517d54332fd659dfbe749d230d672, Commit Message: feat: Add new APIs to stop the device discovery/profile scan [Pipeline] echo [2024-09-02T09:16:45.542Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-02T09:16:46.032Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-02T09:16:46.032Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-02T09:16:46.032Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-02T09:16:46.032Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-02T09:16:46.032Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-02T09:16:46.032Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-02T09:16:46.032Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:16:46.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-02T09:16:46.549Z] [2024-09-02T09:16:46.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:16:46.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-02T09:16:46.922Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-02T09:16:46.922Z] b85a868b505f: Pulling fs layer [2024-09-02T09:16:46.922Z] e2be974225ed: Pulling fs layer [2024-09-02T09:16:46.922Z] 339a4e72a1f5: Pulling fs layer [2024-09-02T09:16:46.922Z] 988bab9f4d93: Pulling fs layer [2024-09-02T09:16:46.922Z] 1469e6f7b9e6: Pulling fs layer [2024-09-02T09:16:46.922Z] eaf3925da568: Pulling fs layer [2024-09-02T09:16:46.922Z] bab4dde63d76: Pulling fs layer [2024-09-02T09:16:46.922Z] bde34c3a00c8: Pulling fs layer [2024-09-02T09:16:46.922Z] b352a97aabf1: Pulling fs layer [2024-09-02T09:16:46.922Z] 4872d77fe225: Pulling fs layer [2024-09-02T09:16:46.922Z] 5851b861e8e6: Pulling fs layer [2024-09-02T09:16:46.922Z] bde34c3a00c8: Waiting [2024-09-02T09:16:46.922Z] 1469e6f7b9e6: Waiting [2024-09-02T09:16:46.922Z] b352a97aabf1: Waiting [2024-09-02T09:16:46.922Z] eaf3925da568: Waiting [2024-09-02T09:16:46.922Z] bab4dde63d76: Waiting [2024-09-02T09:16:46.922Z] 5851b861e8e6: Waiting [2024-09-02T09:16:46.922Z] 988bab9f4d93: Waiting [2024-09-02T09:16:46.922Z] e2be974225ed: Verifying Checksum [2024-09-02T09:16:46.922Z] e2be974225ed: Download complete [2024-09-02T09:16:46.922Z] 988bab9f4d93: Verifying Checksum [2024-09-02T09:16:46.922Z] 988bab9f4d93: Download complete [2024-09-02T09:16:47.182Z] 339a4e72a1f5: Verifying Checksum [2024-09-02T09:16:47.182Z] 339a4e72a1f5: Download complete [2024-09-02T09:16:47.182Z] 1469e6f7b9e6: Verifying Checksum [2024-09-02T09:16:47.182Z] 1469e6f7b9e6: Download complete [2024-09-02T09:16:47.182Z] eaf3925da568: Verifying Checksum [2024-09-02T09:16:47.182Z] eaf3925da568: Download complete [2024-09-02T09:16:47.182Z] bde34c3a00c8: Verifying Checksum [2024-09-02T09:16:47.182Z] bde34c3a00c8: Download complete [2024-09-02T09:16:47.182Z] b352a97aabf1: Download complete [2024-09-02T09:16:47.182Z] 4872d77fe225: Verifying Checksum [2024-09-02T09:16:47.182Z] 4872d77fe225: Download complete [2024-09-02T09:16:47.182Z] 5851b861e8e6: Verifying Checksum [2024-09-02T09:16:47.182Z] 5851b861e8e6: Download complete [2024-09-02T09:16:47.182Z] b85a868b505f: Verifying Checksum [2024-09-02T09:16:47.182Z] b85a868b505f: Download complete [2024-09-02T09:16:47.442Z] bab4dde63d76: Verifying Checksum [2024-09-02T09:16:47.442Z] bab4dde63d76: Download complete [2024-09-02T09:16:48.376Z] b85a868b505f: Pull complete [2024-09-02T09:16:48.635Z] e2be974225ed: Pull complete [2024-09-02T09:16:49.210Z] 339a4e72a1f5: Pull complete [2024-09-02T09:16:49.210Z] 988bab9f4d93: Pull complete [2024-09-02T09:16:49.470Z] 1469e6f7b9e6: Pull complete [2024-09-02T09:16:49.470Z] eaf3925da568: Pull complete [2024-09-02T09:16:51.377Z] bab4dde63d76: Pull complete [2024-09-02T09:16:51.377Z] bde34c3a00c8: Pull complete [2024-09-02T09:16:51.636Z] b352a97aabf1: Pull complete [2024-09-02T09:16:51.636Z] 4872d77fe225: Pull complete [2024-09-02T09:16:51.636Z] 5851b861e8e6: Pull complete [2024-09-02T09:16:51.636Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-02T09:16:51.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-02T09:16:51.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:16:51.940Z] prd-ubuntu20.04-docker-8c-8g-9184 does not seem to be running inside a container [2024-09-02T09:16:51.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-02T09:16:56.590Z] $ docker top aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb -eo pid,comm [2024-09-02T09:16:56.646Z] 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-09-02T09:16:56.646Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-02T09:16:56.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-02T09:16:56.816Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-02T09:16:56.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-02T09:16:56.933Z] $ docker exec aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb ssh-agent [2024-09-02T09:16:57.043Z] SSH_AUTH_SOCK=/tmp/ssh-A07rLJx2tjrq/agent.32 [2024-09-02T09:16:57.043Z] SSH_AGENT_PID=38 [2024-09-02T09:16:57.051Z] Running ssh-add (command line suppressed) [2024-09-02T09:16:57.164Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_1619293970021567535.key (/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_1619293970021567535.key) [2024-09-02T09:16:57.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-02T09:16:57.522Z] + git tag --points-at HEAD [Pipeline] } [2024-09-02T09:16:57.549Z] $ docker exec --env ******** --env ******** aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb ssh-agent -k [2024-09-02T09:16:57.648Z] unset SSH_AUTH_SOCK; [2024-09-02T09:16:57.648Z] unset SSH_AGENT_PID; [2024-09-02T09:16:57.648Z] echo Agent pid 38 killed; [2024-09-02T09:16:57.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-02T09:16:57.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-02T09:16:57.768Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-02T09:16:57.885Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-02T09:16:57.887Z] $ docker exec aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb ssh-agent [2024-09-02T09:16:58.009Z] SSH_AUTH_SOCK=/tmp/ssh-OQL5y8o3kZWb/agent.71 [2024-09-02T09:16:58.009Z] SSH_AGENT_PID=77 [2024-09-02T09:16:58.014Z] Running ssh-add (command line suppressed) [2024-09-02T09:16:58.108Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_5396536888287331260.key (/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_5396536888287331260.key) [2024-09-02T09:16:58.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-02T09:16:58.476Z] + git semver init [2024-09-02T09:16:58.739Z] 2024-09-02 09:16:58,682 [run_init] DEBUG init version:0.0.0 force:False [2024-09-02T09:16:58.739Z] 2024-09-02 09:16:58,683 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver [2024-09-02T09:16:58.739Z] 2024-09-02 09:16:58,683 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver [2024-09-02T09:16:58.739Z] 2024-09-02 09:16:58,684 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620, universal_newlines=False, shell=None, istream=None) [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,717 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.git/info/exclude [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 with force:False [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,718 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,723 [execute] INFO git cat-file --batch-check [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver, universal_newlines=False, shell=None, istream=) [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,730 [execute] INFO git cat-file --batch [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver, universal_newlines=False, shell=None, istream=) [2024-09-02T09:17:01.282Z] 2024-09-02 09:17:00,735 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 [2024-09-02T09:17:01.282Z] 0.0.0 [Pipeline] } [2024-09-02T09:17:01.310Z] $ docker exec --env ******** --env ******** aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb ssh-agent -k [2024-09-02T09:17:01.405Z] unset SSH_AUTH_SOCK; [2024-09-02T09:17:01.406Z] unset SSH_AGENT_PID; [2024-09-02T09:17:01.406Z] echo Agent pid 77 killed; [2024-09-02T09:17:01.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-02T09:17:01.888Z] + git semver [Pipeline] } [2024-09-02T09:17:02.173Z] $ docker stop --time=1 aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb [2024-09-02T09:17:03.469Z] $ docker rm -f --volumes aca144aba9ba3a603d23f9a561053675a9421f7da91f2fd717ee6003dfdd71fb [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-02T09:17:03.896Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-02T09:17:04.204Z] Stashed 1 file(s) [Pipeline] echo [2024-09-02T09:17:04.230Z] [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-09-02T09:17:04.956Z] provisioning config files... [2024-09-02T09:17:04.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config12362104351983407239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:17:05.338Z] ---> ****-login.sh [2024-09-02T09:17:05.338Z] nexus3.edgexfoundry.org:10001 [2024-09-02T09:17:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:17:05.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:17:05.338Z] Configure a credential helper to remove this warning. See [2024-09-02T09:17:05.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:17:05.338Z] [2024-09-02T09:17:05.338Z] Login Succeeded [2024-09-02T09:17:05.338Z] nexus3.edgexfoundry.org:10002 [2024-09-02T09:17:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:17:05.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:17:05.338Z] Configure a credential helper to remove this warning. See [2024-09-02T09:17:05.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:17:05.338Z] [2024-09-02T09:17:05.338Z] Login Succeeded [2024-09-02T09:17:05.338Z] nexus3.edgexfoundry.org:10003 [2024-09-02T09:17:05.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:17:05.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:17:05.598Z] Configure a credential helper to remove this warning. See [2024-09-02T09:17:05.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:17:05.598Z] [2024-09-02T09:17:05.598Z] Login Succeeded [2024-09-02T09:17:05.598Z] nexus3.edgexfoundry.org:10004 [2024-09-02T09:17:05.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:17:05.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:17:05.598Z] Configure a credential helper to remove this warning. See [2024-09-02T09:17:05.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:17:05.598Z] [2024-09-02T09:17:05.598Z] Login Succeeded [2024-09-02T09:17:05.598Z] ****.io [2024-09-02T09:17:05.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:17:05.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:17:05.857Z] Configure a credential helper to remove this warning. See [2024-09-02T09:17:05.857Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:17:05.857Z] [2024-09-02T09:17:05.857Z] Login Succeeded [2024-09-02T09:17:05.857Z] ---> ****-login.sh ends [Pipeline] } [2024-09-02T09:17:05.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-02T09:17:06.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-02T09:17:06.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-02T09:17:06.210Z] ========================================================= [2024-09-02T09:17:06.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-02T09:17:06.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:17:06.748Z] + 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-09-02T09:17:06.748Z] Sending build context to Docker daemon 25.39MB [2024-09-02T09:17:06.748Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-02T09:17:06.748Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-02T09:17:07.007Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-02T09:17:07.007Z] 619be1103602: Pulling fs layer [2024-09-02T09:17:07.007Z] 7862e08f4a3e: Pulling fs layer [2024-09-02T09:17:07.007Z] 5df492c9dc93: Pulling fs layer [2024-09-02T09:17:07.007Z] 7629e6793208: Pulling fs layer [2024-09-02T09:17:07.007Z] 4f4fb700ef54: Pulling fs layer [2024-09-02T09:17:07.007Z] fb5054dd5b73: Pulling fs layer [2024-09-02T09:17:07.007Z] eeca6798cff9: Pulling fs layer [2024-09-02T09:17:07.007Z] aa269ceb94a6: Pulling fs layer [2024-09-02T09:17:07.007Z] ada007ff1a6a: Pulling fs layer [2024-09-02T09:17:07.007Z] eeca6798cff9: Waiting [2024-09-02T09:17:07.007Z] aa269ceb94a6: Waiting [2024-09-02T09:17:07.007Z] ada007ff1a6a: Waiting [2024-09-02T09:17:07.007Z] 4f4fb700ef54: Waiting [2024-09-02T09:17:07.007Z] fb5054dd5b73: Waiting [2024-09-02T09:17:07.007Z] 7862e08f4a3e: Verifying Checksum [2024-09-02T09:17:07.007Z] 7862e08f4a3e: Download complete [2024-09-02T09:17:07.007Z] 7629e6793208: Verifying Checksum [2024-09-02T09:17:07.007Z] 7629e6793208: Download complete [2024-09-02T09:17:07.007Z] 4f4fb700ef54: Download complete [2024-09-02T09:17:07.007Z] 619be1103602: Verifying Checksum [2024-09-02T09:17:07.007Z] 619be1103602: Download complete [2024-09-02T09:17:07.007Z] fb5054dd5b73: Verifying Checksum [2024-09-02T09:17:07.007Z] fb5054dd5b73: Download complete [2024-09-02T09:17:07.007Z] eeca6798cff9: Verifying Checksum [2024-09-02T09:17:07.007Z] eeca6798cff9: Download complete [2024-09-02T09:17:07.266Z] 619be1103602: Pull complete [2024-09-02T09:17:07.266Z] ada007ff1a6a: Verifying Checksum [2024-09-02T09:17:07.266Z] ada007ff1a6a: Download complete [2024-09-02T09:17:07.266Z] 7862e08f4a3e: Pull complete [2024-09-02T09:17:07.525Z] 5df492c9dc93: Verifying Checksum [2024-09-02T09:17:07.525Z] 5df492c9dc93: Download complete [2024-09-02T09:17:07.784Z] aa269ceb94a6: Verifying Checksum [2024-09-02T09:17:07.784Z] aa269ceb94a6: Download complete [2024-09-02T09:17:11.066Z] 5df492c9dc93: Pull complete [2024-09-02T09:17:11.066Z] 7629e6793208: Pull complete [2024-09-02T09:17:11.066Z] 4f4fb700ef54: Pull complete [2024-09-02T09:17:11.066Z] fb5054dd5b73: Pull complete [2024-09-02T09:17:11.066Z] eeca6798cff9: Pull complete [2024-09-02T09:17:12.965Z] aa269ceb94a6: Pull complete [2024-09-02T09:17:13.531Z] ada007ff1a6a: Pull complete [2024-09-02T09:17:13.531Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-02T09:17:13.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-02T09:17:13.531Z] ---> f489d0715acc [2024-09-02T09:17:13.531Z] Step 3/10 : ARG MAKE=make build [2024-09-02T09:17:18.831Z] ---> Running in fef6f6a12aac [2024-09-02T09:17:18.831Z] Removing intermediate container fef6f6a12aac [2024-09-02T09:17:18.831Z] ---> 29889bfc57aa [2024-09-02T09:17:18.831Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-02T09:17:18.831Z] ---> Running in 8bee11a82f14 [2024-09-02T09:17:19.091Z] Removing intermediate container 8bee11a82f14 [2024-09-02T09:17:19.091Z] ---> 19800c06a75d [2024-09-02T09:17:19.091Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-02T09:17:19.091Z] ---> Running in 5d7a5f13a0b1 [2024-09-02T09:17:19.091Z] Removing intermediate container 5d7a5f13a0b1 [2024-09-02T09:17:19.091Z] ---> 423bedf3799f [2024-09-02T09:17:19.091Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-02T09:17:19.091Z] ---> Running in 28bc0cf6549d [2024-09-02T09:17:19.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-02T09:17:19.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-02T09:17:19.739Z] Still waiting to schedule task [2024-09-02T09:17:19.740Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-02T09:17:19.870Z] OK: 264 MiB in 52 packages [2024-09-02T09:17:20.130Z] Removing intermediate container 28bc0cf6549d [2024-09-02T09:17:20.130Z] ---> 07d23631b1a3 [2024-09-02T09:17:20.130Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-02T09:17:20.130Z] ---> b0a488402af0 [2024-09-02T09:17:20.130Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-02T09:17:20.130Z] ---> Running in 2242c053fa89 [2024-09-02T09:18:16.680Z] Removing intermediate container 2242c053fa89 [2024-09-02T09:18:16.680Z] ---> 47ac54dcec0f [2024-09-02T09:18:16.680Z] Step 9/10 : COPY . . [2024-09-02T09:18:17.326Z] ---> 1f51149296fa [2024-09-02T09:18:17.326Z] Step 10/10 : RUN ${MAKE} [2024-09-02T09:18:17.326Z] ---> Running in ac5da251e919 [2024-09-02T09:18:17.587Z] noop [2024-09-02T09:18:17.847Z] Removing intermediate container ac5da251e919 [2024-09-02T09:18:17.847Z] ---> c6ba54edb708 [2024-09-02T09:18:17.847Z] Successfully built c6ba54edb708 [2024-09-02T09:18:17.847Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:18:18.335Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-02T09:18:18.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:18:18.505Z] prd-ubuntu20.04-docker-8c-8g-9184 does not seem to be running inside a container [2024-09-02T09:18:18.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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 ******** ci-base-image-x86_64 cat [2024-09-02T09:18:18.872Z] $ docker top c931e7944529144c62b77ab0d974837b1e866749ee37425ff973133088eff56e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-02T09:18:19.282Z] + go version [2024-09-02T09:18:19.282Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-02T09:18:19.317Z] $ docker stop --time=1 c931e7944529144c62b77ab0d974837b1e866749ee37425ff973133088eff56e [2024-09-02T09:18:20.581Z] $ docker rm -f --volumes c931e7944529144c62b77ab0d974837b1e866749ee37425ff973133088eff56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:18:21.357Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-02T09:18:21.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:18:21.531Z] prd-ubuntu20.04-docker-8c-8g-9184 does not seem to be running inside a container [2024-09-02T09:18:21.560Z] $ 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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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 ******** ci-base-image-x86_64 cat [2024-09-02T09:18:21.880Z] $ docker top 7f2a0bf6c3cc01906463ece1320c2cdba78120f2102e5586cde03fa1d06e98bc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-02T09:18:22.298Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1620 [Pipeline] fileExists [Pipeline] sh [2024-09-02T09:18:22.685Z] + make test [2024-09-02T09:18:22.685Z] go test -race -coverprofile=coverage.out ./... [2024-09-02T09:18:29.257Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-02T09:18:45.507Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9185 in /w/workspace/gexfoundry_device-sdk-go_PR-1620 [Pipeline] { [Pipeline] ws [2024-09-02T09:18:45.584Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-09-02T09:18:48.699Z] The recommended git tool is: git [2024-09-02T09:18:53.376Z] using credential edgex-jenkins-ssh [2024-09-02T09:18:53.406Z] Cloning the remote Git repository [2024-09-02T09:18:53.447Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-02T09:18:53.542Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-02T09:18:53.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-02T09:18:53.698Z] > git --version # timeout=10 [2024-09-02T09:18:53.719Z] > git --version # 'git version 2.25.1' [2024-09-02T09:18:53.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-02T09:18:53.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-02T09:18:57.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-02T09:18:57.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-02T09:18:58.868Z] Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit a714b48757c517d54332fd659dfbe749d230d672 [2024-09-02T09:18:58.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-02T09:18:58.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-02T09:18:58.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-02T09:18:58.234Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1620/head:refs/remotes/origin/PR-1620 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-02T09:18:59.188Z] Merge succeeded, producing a714b48757c517d54332fd659dfbe749d230d672 [2024-09-02T09:18:59.189Z] Checking out Revision a714b48757c517d54332fd659dfbe749d230d672 (PR-1620) [2024-09-02T09:18:58.895Z] > git config core.sparsecheckout # timeout=10 [2024-09-02T09:18:58.973Z] > git checkout -f a714b48757c517d54332fd659dfbe749d230d672 # timeout=10 [2024-09-02T09:18:59.086Z] > git remote # timeout=10 [2024-09-02T09:18:59.104Z] > git config --get remote.origin.url # timeout=10 [2024-09-02T09:18:59.121Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-02T09:18:59.142Z] > git merge 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 [2024-09-02T09:18:59.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-02T09:18:59.191Z] > git config core.sparsecheckout # timeout=10 [2024-09-02T09:18:59.203Z] > git checkout -f a714b48757c517d54332fd659dfbe749d230d672 # timeout=10 [2024-09-02T09:19:01.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-02T09:19:01.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-02T09:19:01.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-02T09:19:01.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-02T09:19:01.347Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-02T09:19:01.915Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.024s coverage: 26.0% of statements [2024-09-02T09:19:01.915Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements [2024-09-02T09:19:02.804Z] Commit message: "feat: Add new APIs to stop the device discovery/profile scan" [2024-09-02T09:19:02.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-02T09:19:02.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-02T09:19:02.858Z] > git --version # timeout=10 [2024-09-02T09:19:02.873Z] > git --version # 'git version 2.25.1' [2024-09-02T09:19:02.897Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-02T09:19:03.414Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-02T09:19:03.673Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-02T09:19:03.673Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-02T09:19:03.673Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-02T09:19:03.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.038s coverage: 86.0% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-02T09:19:04.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.090s coverage: 45.2% of statements [2024-09-02T09:19:04.767Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-02T09:19:04.767Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-02T09:19:04.767Z] Dload Upload Total Spent Left Speed [2024-09-02T09:19:04.767Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2024-09-02T09:19:05.120Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-02T09:19:05.553Z] + sudo tee /etc/docker/daemon.new [2024-09-02T09:19:05.553Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-02T09:19:05.553Z] { [2024-09-02T09:19:05.553Z] "registry-mirrors": [ [2024-09-02T09:19:05.553Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-02T09:19:05.553Z] ], [2024-09-02T09:19:05.553Z] "bip": "10.250.0.254/24", [2024-09-02T09:19:05.553Z] "hosts": [ [2024-09-02T09:19:05.553Z] "tcp://0.0.0.0:5555", [2024-09-02T09:19:05.553Z] "unix:///var/run/docker.sock" [2024-09-02T09:19:05.553Z] ], [2024-09-02T09:19:05.553Z] "mtu": 1458, [2024-09-02T09:19:05.553Z] "selinux-enabled": true, [2024-09-02T09:19:05.553Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-02T09:19:05.553Z] } [Pipeline] sh [2024-09-02T09:19:05.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-02T09:19:06.045Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-02T09:19:06.259Z] + sudo service docker restart [2024-09-02T09:19:07.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-09-02T09:19:07.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.416s coverage: 44.6% of statements [2024-09-02T09:19:07.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.050s coverage: 68.5% of statements [2024-09-02T09:19:07.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements [2024-09-02T09:19:07.417Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-02T09:19:24.610Z] provisioning config files... [2024-09-02T09:19:24.639Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10656815070671227479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:19:25.128Z] ---> ****-login.sh [2024-09-02T09:19:25.128Z] nexus3.edgexfoundry.org:10001 [2024-09-02T09:19:25.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:19:25.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:19:25.671Z] Configure a credential helper to remove this warning. See [2024-09-02T09:19:25.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:19:25.671Z] [2024-09-02T09:19:25.671Z] Login Succeeded [2024-09-02T09:19:25.671Z] nexus3.edgexfoundry.org:10002 [2024-09-02T09:19:25.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:19:25.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:19:25.938Z] Configure a credential helper to remove this warning. See [2024-09-02T09:19:25.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:19:25.938Z] [2024-09-02T09:19:25.938Z] Login Succeeded [2024-09-02T09:19:25.938Z] nexus3.edgexfoundry.org:10003 [2024-09-02T09:19:26.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:19:26.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:19:26.477Z] Configure a credential helper to remove this warning. See [2024-09-02T09:19:26.477Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:19:26.477Z] [2024-09-02T09:19:26.477Z] Login Succeeded [2024-09-02T09:19:26.477Z] nexus3.edgexfoundry.org:10004 [2024-09-02T09:19:26.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:19:26.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:19:26.745Z] Configure a credential helper to remove this warning. See [2024-09-02T09:19:26.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:19:26.745Z] [2024-09-02T09:19:26.745Z] Login Succeeded [2024-09-02T09:19:26.745Z] ****.io [2024-09-02T09:19:27.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-02T09:19:27.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-02T09:19:27.279Z] Configure a credential helper to remove this warning. See [2024-09-02T09:19:27.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-02T09:19:27.279Z] [2024-09-02T09:19:27.279Z] Login Succeeded [2024-09-02T09:19:27.279Z] ---> ****-login.sh ends [Pipeline] } [2024-09-02T09:19:27.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-02T09:19:27.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-02T09:19:27.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-02T09:19:27.985Z] ========================================================= [2024-09-02T09:19:27.985Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-02T09:19:27.986Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:19:28.557Z] + 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-09-02T09:19:29.145Z] Sending build context to Docker daemon 13.2MB [2024-09-02T09:19:29.145Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-02T09:19:29.145Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-02T09:19:29.415Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-02T09:19:29.415Z] c6b39de5b339: Pulling fs layer [2024-09-02T09:19:29.415Z] a69c41024577: Pulling fs layer [2024-09-02T09:19:29.415Z] d6de4b400683: Pulling fs layer [2024-09-02T09:19:29.415Z] 35cb2a7552d0: Pulling fs layer [2024-09-02T09:19:29.415Z] 4f4fb700ef54: Pulling fs layer [2024-09-02T09:19:29.415Z] 464afbd9ba4c: Pulling fs layer [2024-09-02T09:19:29.415Z] 00f215d4a9da: Pulling fs layer [2024-09-02T09:19:29.415Z] d496ad576159: Pulling fs layer [2024-09-02T09:19:29.415Z] 464afbd9ba4c: Waiting [2024-09-02T09:19:29.415Z] 00f215d4a9da: Waiting [2024-09-02T09:19:29.415Z] d496ad576159: Waiting [2024-09-02T09:19:29.415Z] 35cb2a7552d0: Waiting [2024-09-02T09:19:29.415Z] 4f4fb700ef54: Waiting [2024-09-02T09:19:29.415Z] a69c41024577: Download complete [2024-09-02T09:19:29.415Z] 35cb2a7552d0: Verifying Checksum [2024-09-02T09:19:29.415Z] 35cb2a7552d0: Download complete [2024-09-02T09:19:29.415Z] 4f4fb700ef54: Verifying Checksum [2024-09-02T09:19:29.415Z] 4f4fb700ef54: Download complete [2024-09-02T09:19:29.415Z] c6b39de5b339: Verifying Checksum [2024-09-02T09:19:29.415Z] c6b39de5b339: Download complete [2024-09-02T09:19:29.415Z] 464afbd9ba4c: Verifying Checksum [2024-09-02T09:19:29.415Z] 464afbd9ba4c: Download complete [2024-09-02T09:19:30.003Z] d496ad576159: Verifying Checksum [2024-09-02T09:19:30.003Z] d496ad576159: Download complete [2024-09-02T09:19:30.274Z] c6b39de5b339: Pull complete [2024-09-02T09:19:30.860Z] a69c41024577: Pull complete [2024-09-02T09:19:31.450Z] d6de4b400683: Verifying Checksum [2024-09-02T09:19:31.450Z] d6de4b400683: Download complete [2024-09-02T09:19:32.416Z] 00f215d4a9da: Verifying Checksum [2024-09-02T09:19:32.416Z] 00f215d4a9da: Download complete [2024-09-02T09:19:39.495Z] GO111MODULE=on go vet ./... [2024-09-02T09:19:44.748Z] d6de4b400683: Pull complete [2024-09-02T09:19:44.748Z] 35cb2a7552d0: Pull complete [2024-09-02T09:19:44.748Z] 4f4fb700ef54: Pull complete [2024-09-02T09:19:44.748Z] 464afbd9ba4c: Pull complete [2024-09-02T09:19:46.065Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-02T09:19:46.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-02T09:19:46.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-02T09:19:46.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-02T09:19:46.162Z] $ docker stop --time=1 7f2a0bf6c3cc01906463ece1320c2cdba78120f2102e5586cde03fa1d06e98bc [2024-09-02T09:19:51.690Z] $ docker rm -f --volumes 7f2a0bf6c3cc01906463ece1320c2cdba78120f2102e5586cde03fa1d06e98bc [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-02T09:19:52.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-02T09:19:52.522Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-02T09:19:53.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-02T09:19:53.584Z] + ls -al . [2024-09-02T09:19:53.584Z] total 384 [2024-09-02T09:19:53.584Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 09:18 . [2024-09-02T09:19:53.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 09:16 .. [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 09:16 .dockerignore [2024-09-02T09:19:53.584Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 09:19 .git [2024-09-02T09:19:53.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 09:16 .github [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 2 09:16 .gitignore [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 09:16 .golangci.yml [2024-09-02T09:19:53.584Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 09:17 .semver [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 2 09:16 CHANGELOG.md [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 09:16 GOVERNANCE.md [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 2 09:16 Jenkinsfile [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 2 09:16 LICENSE [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 2 09:16 Makefile [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 2 09:16 OWNERS.md [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 2 09:16 README.md [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 09:17 VERSION [2024-09-02T09:19:53.584Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 09:16 bin [2024-09-02T09:19:53.584Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 2 09:19 coverage.out [2024-09-02T09:19:53.584Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 2 09:16 example [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 2 09:16 go.mod [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 2 09:16 go.sum [2024-09-02T09:19:53.584Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 2 09:16 internal [2024-09-02T09:19:53.584Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 09:16 openapi [2024-09-02T09:19:53.584Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 09:16 pkg [2024-09-02T09:19:53.584Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 09:16 snap [2024-09-02T09:19:53.584Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 2 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:19:54.027Z] + 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=a714b48757c517d54332fd659dfbe749d230d672 --label arch=amd64 --label version=0.0.0 . [2024-09-02T09:19:54.027Z] Sending build context to Docker daemon 25.52MB [2024-09-02T09:19:54.027Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-02T09:19:54.027Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-02T09:19:54.027Z] ---> c6ba54edb708 [2024-09-02T09:19:54.027Z] Step 3/24 : ARG MAKE=make build [2024-09-02T09:19:54.603Z] ---> Running in b3c804a9866f [2024-09-02T09:19:54.603Z] Removing intermediate container b3c804a9866f [2024-09-02T09:19:54.603Z] ---> 8be23f26788f [2024-09-02T09:19:54.603Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-02T09:19:54.603Z] ---> Running in 4dd09ea8a08e [2024-09-02T09:19:54.823Z] 00f215d4a9da: Pull complete [2024-09-02T09:19:54.863Z] Removing intermediate container 4dd09ea8a08e [2024-09-02T09:19:54.863Z] ---> 23f8964c0e10 [2024-09-02T09:19:54.863Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-02T09:19:54.863Z] ---> Running in c7282556da65 [2024-09-02T09:19:54.863Z] Removing intermediate container c7282556da65 [2024-09-02T09:19:54.863Z] ---> 982ae5ad1c9a [2024-09-02T09:19:54.863Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-02T09:19:54.863Z] ---> Running in 13d7f3e9d173 [2024-09-02T09:19:55.091Z] d496ad576159: Pull complete [2024-09-02T09:19:55.091Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-02T09:19:55.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-02T09:19:55.091Z] ---> f246e2811388 [2024-09-02T09:19:55.091Z] Step 3/10 : ARG MAKE=make build [2024-09-02T09:19:55.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-02T09:19:55.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-02T09:19:55.384Z] OK: 264 MiB in 52 packages [2024-09-02T09:19:55.648Z] Removing intermediate container 13d7f3e9d173 [2024-09-02T09:19:55.648Z] ---> bbf69d7ec37d [2024-09-02T09:19:55.648Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-02T09:19:55.908Z] ---> 22bfeda7e596 [2024-09-02T09:19:55.908Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-02T09:19:55.908Z] ---> Running in efc17f5acc1f [2024-09-02T09:19:56.054Z] ---> Running in 53e7b4ef5c6c [2024-09-02T09:19:56.326Z] Removing intermediate container 53e7b4ef5c6c [2024-09-02T09:19:56.326Z] ---> 44901a36187e [2024-09-02T09:19:56.326Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-02T09:19:56.326Z] ---> Running in 60e78a84e440 [2024-09-02T09:19:56.476Z] Removing intermediate container efc17f5acc1f [2024-09-02T09:19:56.476Z] ---> 99626bafd1d8 [2024-09-02T09:19:56.476Z] Step 9/24 : COPY . . [2024-09-02T09:19:56.597Z] Removing intermediate container 60e78a84e440 [2024-09-02T09:19:56.597Z] ---> 08a13ec75131 [2024-09-02T09:19:56.597Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-02T09:19:56.865Z] ---> Running in c34086620ba1 [2024-09-02T09:19:57.132Z] Removing intermediate container c34086620ba1 [2024-09-02T09:19:57.132Z] ---> 24e87acfe7df [2024-09-02T09:19:57.132Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-02T09:19:57.132Z] ---> Running in b8c51f02ed3d [2024-09-02T09:19:57.411Z] ---> 1546367d118f [2024-09-02T09:19:57.411Z] Step 10/24 : RUN ${MAKE} [2024-09-02T09:19:57.411Z] ---> Running in b6a4c248374e [2024-09-02T09:19:57.670Z] 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-09-02T09:19:58.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-02T09:19:58.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-02T09:20:00.089Z] OK: 266 MiB in 52 packages [2024-09-02T09:20:00.672Z] Removing intermediate container b8c51f02ed3d [2024-09-02T09:20:00.672Z] ---> d8ccf7f3afd9 [2024-09-02T09:20:00.672Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-02T09:20:01.259Z] ---> 27a24245b46a [2024-09-02T09:20:01.259Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-02T09:20:01.259Z] ---> Running in 408babf8c157 [2024-09-02T09:20:29.744Z] Removing intermediate container b6a4c248374e [2024-09-02T09:20:29.744Z] ---> 566637754ad0 [2024-09-02T09:20:29.744Z] Step 11/24 : FROM alpine:3.18 [2024-09-02T09:20:29.744Z] 3.18: Pulling from library/alpine [2024-09-02T09:20:29.744Z] 930bdd4d222e: Pulling fs layer [2024-09-02T09:20:29.744Z] 930bdd4d222e: Download complete [2024-09-02T09:20:29.744Z] 930bdd4d222e: Pull complete [2024-09-02T09:20:29.744Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-02T09:20:29.744Z] Status: Downloaded newer image for alpine:3.18 [2024-09-02T09:20:29.744Z] ---> 18f865063206 [2024-09-02T09:20:29.744Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-02T09:20:29.744Z] ---> Running in 0aca44a8555f [2024-09-02T09:20:29.744Z] Removing intermediate container 0aca44a8555f [2024-09-02T09:20:29.744Z] ---> 882ef7775f6f [2024-09-02T09:20:29.744Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-02T09:20:30.004Z] ---> Running in 02698aa12fb7 [2024-09-02T09:20:30.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-02T09:20:30.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-02T09:20:30.521Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-02T09:20:30.521Z] Executing busybox-1.36.1-r7.trigger [2024-09-02T09:20:30.521Z] OK: 7 MiB in 16 packages [2024-09-02T09:20:31.089Z] Removing intermediate container 02698aa12fb7 [2024-09-02T09:20:31.089Z] ---> 2970e47d645e [2024-09-02T09:20:31.089Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-02T09:20:31.089Z] ---> Running in ff04b6dd2580 [2024-09-02T09:20:31.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-02T09:20:31.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-02T09:20:31.607Z] OK: 7 MiB in 16 packages [2024-09-02T09:20:31.866Z] Removing intermediate container ff04b6dd2580 [2024-09-02T09:20:31.866Z] ---> acda2762f4d3 [2024-09-02T09:20:31.866Z] Step 15/24 : WORKDIR / [2024-09-02T09:20:31.866Z] ---> Running in 5bf1e693fe90 [2024-09-02T09:20:31.866Z] Removing intermediate container 5bf1e693fe90 [2024-09-02T09:20:31.866Z] ---> 542260040aa8 [2024-09-02T09:20:31.866Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-02T09:20:32.125Z] ---> 7d0e2abbf1e2 [2024-09-02T09:20:32.125Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-02T09:20:34.051Z] ---> 3115377a541a [2024-09-02T09:20:34.051Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-02T09:20:34.051Z] ---> 9cf39f06a8ef [2024-09-02T09:20:34.051Z] Step 19/24 : EXPOSE 59999 [2024-09-02T09:20:34.051Z] ---> Running in cdc7dbfd6b63 [2024-09-02T09:20:34.051Z] Removing intermediate container cdc7dbfd6b63 [2024-09-02T09:20:34.051Z] ---> 902483b95749 [2024-09-02T09:20:34.051Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-02T09:20:34.051Z] ---> Running in f9401e9eb60e [2024-09-02T09:20:34.051Z] Removing intermediate container f9401e9eb60e [2024-09-02T09:20:34.051Z] ---> eeeadea0165a [2024-09-02T09:20:34.051Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-02T09:20:34.051Z] ---> Running in 6a3bbd7dd99c [2024-09-02T09:20:34.309Z] Removing intermediate container 6a3bbd7dd99c [2024-09-02T09:20:34.309Z] ---> 8f412a1b3768 [2024-09-02T09:20:34.309Z] Step 22/24 : LABEL arch=amd64 [2024-09-02T09:20:34.309Z] ---> Running in ed2f392907fb [2024-09-02T09:20:34.309Z] Removing intermediate container ed2f392907fb [2024-09-02T09:20:34.309Z] ---> 5b0723cdc00a [2024-09-02T09:20:34.309Z] Step 23/24 : LABEL git_sha=a714b48757c517d54332fd659dfbe749d230d672 [2024-09-02T09:20:34.309Z] ---> Running in b4e0707aa3a6 [2024-09-02T09:20:34.309Z] Removing intermediate container b4e0707aa3a6 [2024-09-02T09:20:34.309Z] ---> 97de2c282cdf [2024-09-02T09:20:34.309Z] Step 24/24 : LABEL version=0.0.0 [2024-09-02T09:20:34.309Z] ---> Running in af619f9c8074 [2024-09-02T09:20:34.569Z] Removing intermediate container af619f9c8074 [2024-09-02T09:20:34.569Z] ---> 237c2b88b94f [2024-09-02T09:20:34.569Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-02T09:20:34.569Z] Successfully built 237c2b88b94f [2024-09-02T09:20:34.569Z] 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-09-02T09:20:35.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-02T09:20:35.608Z] [2024-09-02T09:20:35.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:20:36.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-02T09:20:36.004Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-02T09:20:36.004Z] 5eb5b503b376: Pulling fs layer [2024-09-02T09:20:36.004Z] 5c69ac0246d0: Pulling fs layer [2024-09-02T09:20:36.004Z] ec43610c2a17: Pulling fs layer [2024-09-02T09:20:36.004Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-02T09:20:36.004Z] 33b1e0a273af: Pulling fs layer [2024-09-02T09:20:36.004Z] 5d3b04190fa2: Pulling fs layer [2024-09-02T09:20:36.004Z] 2f39f015ded8: Pulling fs layer [2024-09-02T09:20:36.004Z] 33b1e0a273af: Waiting [2024-09-02T09:20:36.004Z] 2f39f015ded8: Waiting [2024-09-02T09:20:36.004Z] 3a2ae6a8a46f: Waiting [2024-09-02T09:20:36.004Z] 5d3b04190fa2: Waiting [2024-09-02T09:20:36.004Z] 5c69ac0246d0: Verifying Checksum [2024-09-02T09:20:36.004Z] 5c69ac0246d0: Download complete [2024-09-02T09:20:36.004Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-02T09:20:36.004Z] 3a2ae6a8a46f: Download complete [2024-09-02T09:20:36.004Z] 33b1e0a273af: Verifying Checksum [2024-09-02T09:20:36.004Z] 33b1e0a273af: Download complete [2024-09-02T09:20:36.004Z] 5d3b04190fa2: Verifying Checksum [2024-09-02T09:20:36.004Z] 5d3b04190fa2: Download complete [2024-09-02T09:20:36.004Z] ec43610c2a17: Verifying Checksum [2024-09-02T09:20:36.004Z] ec43610c2a17: Download complete [2024-09-02T09:20:36.264Z] 5eb5b503b376: Verifying Checksum [2024-09-02T09:20:36.264Z] 5eb5b503b376: Download complete [2024-09-02T09:20:36.830Z] 2f39f015ded8: Download complete [2024-09-02T09:20:37.398Z] 5eb5b503b376: Pull complete [2024-09-02T09:20:37.398Z] 5c69ac0246d0: Pull complete [2024-09-02T09:20:37.966Z] ec43610c2a17: Pull complete [2024-09-02T09:20:37.966Z] 3a2ae6a8a46f: Pull complete [2024-09-02T09:20:38.226Z] 33b1e0a273af: Pull complete [2024-09-02T09:20:38.226Z] 5d3b04190fa2: Pull complete [2024-09-02T09:20:42.413Z] 2f39f015ded8: Pull complete [2024-09-02T09:20:42.413Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-02T09:20:42.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-02T09:20:42.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:20:42.698Z] prd-ubuntu20.04-docker-8c-8g-9184 does not seem to be running inside a container [2024-09-02T09:20:42.730Z] $ 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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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-lftools-log-publisher:latest cat [2024-09-02T09:20:47.654Z] $ docker top 87d12050cec71eb0a1f26241e82e74772c10277e9d0371d511462f4cc29dc7ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:20:48.159Z] ---> job-cost.sh [2024-09-02T09:20:48.159Z] lf-activate-venv: SKIPPING [2024-09-02T09:20:48.159Z] INFO: No Stack... [2024-09-02T09:20:48.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-02T09:20:48.989Z] INFO: Archiving Costs [Pipeline] sh [2024-09-02T09:20:49.324Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/cost.csv [2024-09-02T09:20:49.324Z] + cut -d, -f6 [Pipeline] lock [2024-09-02T09:20:49.386Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [2024-09-02T09:20:49.394Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] did not exist. Created. [2024-09-02T09:20:49.404Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-02T09:20:49.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-02T09:20:49.896Z] Stashed 1 file(s) [Pipeline] } [2024-09-02T09:20:49.927Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-02T09:20:50.025Z] $ docker stop --time=1 87d12050cec71eb0a1f26241e82e74772c10277e9d0371d511462f4cc29dc7ac [2024-09-02T09:20:51.154Z] $ docker rm -f --volumes 87d12050cec71eb0a1f26241e82e74772c10277e9d0371d511462f4cc29dc7ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-02T09:21:52.938Z] Removing intermediate container 408babf8c157 [2024-09-02T09:21:52.938Z] ---> d3de8a13a931 [2024-09-02T09:21:52.938Z] Step 9/10 : COPY . . [2024-09-02T09:21:52.938Z] ---> 6d5e35f64d50 [2024-09-02T09:21:52.938Z] Step 10/10 : RUN ${MAKE} [2024-09-02T09:21:52.938Z] ---> Running in 41c89224fd1e [2024-09-02T09:21:52.938Z] noop [2024-09-02T09:21:52.938Z] Removing intermediate container 41c89224fd1e [2024-09-02T09:21:52.938Z] ---> a69a255aeb07 [2024-09-02T09:21:52.938Z] Successfully built a69a255aeb07 [2024-09-02T09:21:52.938Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:21:53.470Z] + docker inspect -f . ci-base-image-arm64 [2024-09-02T09:21:53.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:21:53.784Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2024-09-02T09:21:53.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-02T09:21:55.024Z] $ docker top 68a41a118c0a33a6ed8f5b5b0682e85559a939182e7e9fc5c912fd4aee8f9ff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-02T09:21:55.903Z] + go version [2024-09-02T09:21:55.903Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-02T09:21:55.942Z] $ docker stop --time=1 68a41a118c0a33a6ed8f5b5b0682e85559a939182e7e9fc5c912fd4aee8f9ff4 [2024-09-02T09:21:57.551Z] $ docker rm -f --volumes 68a41a118c0a33a6ed8f5b5b0682e85559a939182e7e9fc5c912fd4aee8f9ff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:21:58.478Z] + docker inspect -f . ci-base-image-arm64 [2024-09-02T09:21:58.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:21:58.730Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2024-09-02T09:21:58.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-02T09:21:59.870Z] $ docker top b233bec06c0b98bc875cd771455ac15741d8fddf9cea50645391de5a70cb785a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-02T09:22:00.738Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-02T09:22:01.457Z] + make test [2024-09-02T09:22:01.457Z] go test -race -coverprofile=coverage.out ./... [2024-09-02T09:22:48.314Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-02T09:26:25.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-02T09:26:25.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-02T09:26:25.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-02T09:26:25.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-02T09:26:25.405Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-02T09:26:33.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.128s coverage: 26.0% of statements [2024-09-02T09:26:36.981Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.158s coverage: 79.4% of statements [2024-09-02T09:26:43.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-02T09:26:43.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-02T09:26:44.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.227s coverage: 86.0% of statements [2024-09-02T09:26:48.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-02T09:26:49.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.582s coverage: 45.2% of statements [2024-09-02T09:26:53.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.155s coverage: 14.4% of statements [2024-09-02T09:26:53.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.734s coverage: 44.6% of statements [2024-09-02T09:26:54.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-02T09:26:54.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-02T09:26:54.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-02T09:26:55.581Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.295s coverage: 68.5% of statements [2024-09-02T09:26:59.842Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.379s coverage: 89.2% of statements [2024-09-02T09:27:02.472Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-02T09:27:03.432Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.230s coverage: 5.3% of statements [2024-09-02T09:27:04.837Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-02T09:27:04.837Z] GO111MODULE=on go vet ./... [2024-09-02T09:30:56.620Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-02T09:30:56.620Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-02T09:30:56.620Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-02T09:30:56.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-02T09:30:56.717Z] $ docker stop --time=1 b233bec06c0b98bc875cd771455ac15741d8fddf9cea50645391de5a70cb785a [2024-09-02T09:30:58.565Z] $ docker rm -f --volumes b233bec06c0b98bc875cd771455ac15741d8fddf9cea50645391de5a70cb785a [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-02T09:31:00.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-02T09:31:00.768Z] Warning: overwriting stash ‘coverage-report’ [2024-09-02T09:31:01.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-02T09:31:01.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-02T09:31:02.303Z] + ls -al . [2024-09-02T09:31:02.303Z] total 380 [2024-09-02T09:31:02.303Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 09:22 . [2024-09-02T09:31:02.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 09:18 .. [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 09:18 .dockerignore [2024-09-02T09:31:02.303Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 09:18 .git [2024-09-02T09:31:02.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 09:18 .github [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 2 09:18 .gitignore [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 09:18 .golangci.yml [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 2 09:18 CHANGELOG.md [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 09:18 GOVERNANCE.md [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 2 09:18 Jenkinsfile [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 2 09:18 LICENSE [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 2 09:18 Makefile [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 2 09:18 OWNERS.md [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 2 09:18 README.md [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 09:17 VERSION [2024-09-02T09:31:02.303Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 09:18 bin [2024-09-02T09:31:02.303Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 2 09:27 coverage.out [2024-09-02T09:31:02.303Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 2 09:18 example [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 2 09:18 go.mod [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 2 09:18 go.sum [2024-09-02T09:31:02.303Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 2 09:18 internal [2024-09-02T09:31:02.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 09:18 openapi [2024-09-02T09:31:02.303Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 09:18 pkg [2024-09-02T09:31:02.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 09:18 snap [2024-09-02T09:31:02.303Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 2 09:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:31:02.751Z] + 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=a714b48757c517d54332fd659dfbe749d230d672 --label arch=arm64 --label version=0.0.0 . [2024-09-02T09:31:03.329Z] Sending build context to Docker daemon 13.33MB [2024-09-02T09:31:03.329Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-02T09:31:03.329Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-02T09:31:03.329Z] ---> a69a255aeb07 [2024-09-02T09:31:03.329Z] Step 3/24 : ARG MAKE=make build [2024-09-02T09:31:03.592Z] ---> Running in 46ae8a2761b9 [2024-09-02T09:31:03.857Z] Removing intermediate container 46ae8a2761b9 [2024-09-02T09:31:03.857Z] ---> 18b066591f9d [2024-09-02T09:31:03.857Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-02T09:31:03.857Z] ---> Running in ab42f068cc26 [2024-09-02T09:31:04.123Z] Removing intermediate container ab42f068cc26 [2024-09-02T09:31:04.123Z] ---> 650234a4332f [2024-09-02T09:31:04.123Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-02T09:31:04.123Z] ---> Running in 3c76080f2b46 [2024-09-02T09:31:04.390Z] Removing intermediate container 3c76080f2b46 [2024-09-02T09:31:04.390Z] ---> 95b25a038794 [2024-09-02T09:31:04.390Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-02T09:31:04.656Z] ---> Running in e2cdb62308f2 [2024-09-02T09:31:05.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-02T09:31:05.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-02T09:31:06.827Z] OK: 266 MiB in 52 packages [2024-09-02T09:31:07.784Z] Removing intermediate container e2cdb62308f2 [2024-09-02T09:31:07.784Z] ---> ecb9313efea6 [2024-09-02T09:31:07.784Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-02T09:31:08.375Z] ---> 3de619ebb45a [2024-09-02T09:31:08.375Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-02T09:31:08.375Z] ---> Running in 12b3d4fa1ced [2024-09-02T09:31:10.325Z] Removing intermediate container 12b3d4fa1ced [2024-09-02T09:31:10.326Z] ---> 662d80ea961f [2024-09-02T09:31:10.326Z] Step 9/24 : COPY . . [2024-09-02T09:31:12.267Z] ---> 9fbcedf0cca2 [2024-09-02T09:31:12.267Z] Step 10/24 : RUN ${MAKE} [2024-09-02T09:31:12.267Z] ---> Running in cf55b8c06105 [2024-09-02T09:31:12.850Z] 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-09-02T09:34:34.617Z] Removing intermediate container cf55b8c06105 [2024-09-02T09:34:34.617Z] ---> 82fa61c05a26 [2024-09-02T09:34:34.617Z] Step 11/24 : FROM alpine:3.18 [2024-09-02T09:34:34.617Z] 3.18: Pulling from library/alpine [2024-09-02T09:34:34.617Z] 4983c3fe2029: Pulling fs layer [2024-09-02T09:34:34.617Z] 4983c3fe2029: Verifying Checksum [2024-09-02T09:34:34.617Z] 4983c3fe2029: Download complete [2024-09-02T09:34:34.901Z] 4983c3fe2029: Pull complete [2024-09-02T09:34:34.901Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-02T09:34:34.901Z] Status: Downloaded newer image for alpine:3.18 [2024-09-02T09:34:34.901Z] ---> a0237000ae83 [2024-09-02T09:34:34.901Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-02T09:34:34.901Z] ---> Running in d0ad0012c995 [2024-09-02T09:34:35.171Z] Removing intermediate container d0ad0012c995 [2024-09-02T09:34:35.171Z] ---> da235ecc46de [2024-09-02T09:34:35.171Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-02T09:34:35.442Z] ---> Running in fb2edd25bb14 [2024-09-02T09:34:36.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-02T09:34:36.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-02T09:34:37.567Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-02T09:34:37.841Z] Executing busybox-1.36.1-r7.trigger [2024-09-02T09:34:37.841Z] OK: 8 MiB in 16 packages [2024-09-02T09:34:38.803Z] Removing intermediate container fb2edd25bb14 [2024-09-02T09:34:38.803Z] ---> 016d3acc6492 [2024-09-02T09:34:38.803Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-02T09:34:38.803Z] ---> Running in 87a06bc8a448 [2024-09-02T09:34:39.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-02T09:34:39.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-02T09:34:40.726Z] OK: 8 MiB in 16 packages [2024-09-02T09:34:41.684Z] Removing intermediate container 87a06bc8a448 [2024-09-02T09:34:41.684Z] ---> b979084ca231 [2024-09-02T09:34:41.684Z] Step 15/24 : WORKDIR / [2024-09-02T09:34:41.684Z] ---> Running in 00642d907947 [2024-09-02T09:34:41.948Z] Removing intermediate container 00642d907947 [2024-09-02T09:34:41.948Z] ---> 071a299c9b55 [2024-09-02T09:34:41.948Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-02T09:34:42.528Z] ---> 5ecd8a9407d8 [2024-09-02T09:34:42.528Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-02T09:34:44.463Z] ---> e59de37de71f [2024-09-02T09:34:44.463Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-02T09:34:45.045Z] ---> 0bc3d3e2411a [2024-09-02T09:34:45.045Z] Step 19/24 : EXPOSE 59999 [2024-09-02T09:34:45.045Z] ---> Running in ce192c92f4dc [2024-09-02T09:34:45.312Z] Removing intermediate container ce192c92f4dc [2024-09-02T09:34:45.312Z] ---> c7454a486feb [2024-09-02T09:34:45.312Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-02T09:34:45.578Z] ---> Running in dd4ef448cf64 [2024-09-02T09:34:45.842Z] Removing intermediate container dd4ef448cf64 [2024-09-02T09:34:45.842Z] ---> c5f85b1eb12f [2024-09-02T09:34:45.842Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-02T09:34:45.842Z] ---> Running in e26b9222161e [2024-09-02T09:34:46.108Z] Removing intermediate container e26b9222161e [2024-09-02T09:34:46.108Z] ---> 2d6e35153063 [2024-09-02T09:34:46.108Z] Step 22/24 : LABEL arch=arm64 [2024-09-02T09:34:46.108Z] ---> Running in deaa75306a27 [2024-09-02T09:34:46.376Z] Removing intermediate container deaa75306a27 [2024-09-02T09:34:46.376Z] ---> 25328a8b78f5 [2024-09-02T09:34:46.376Z] Step 23/24 : LABEL git_sha=a714b48757c517d54332fd659dfbe749d230d672 [2024-09-02T09:34:46.376Z] ---> Running in 78b39c3acb9c [2024-09-02T09:34:46.640Z] Removing intermediate container 78b39c3acb9c [2024-09-02T09:34:46.640Z] ---> 988cc8171e50 [2024-09-02T09:34:46.640Z] Step 24/24 : LABEL version=0.0.0 [2024-09-02T09:34:46.907Z] ---> Running in 7d20ba145d47 [2024-09-02T09:34:47.173Z] Removing intermediate container 7d20ba145d47 [2024-09-02T09:34:47.173Z] ---> 75ca35934f09 [2024-09-02T09:34:47.173Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-02T09:34:47.173Z] Successfully built 75ca35934f09 [2024-09-02T09:34:47.173Z] 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-09-02T09:34:48.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-02T09:34:48.152Z] [2024-09-02T09:34:48.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:34:48.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-02T09:34:48.580Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-02T09:34:48.580Z] 8998bd30e6a1: Pulling fs layer [2024-09-02T09:34:48.580Z] 04944245beec: Pulling fs layer [2024-09-02T09:34:48.580Z] 699f458cf7ca: Pulling fs layer [2024-09-02T09:34:48.580Z] 765212b225bb: Pulling fs layer [2024-09-02T09:34:48.580Z] f23df028b6ca: Pulling fs layer [2024-09-02T09:34:48.580Z] d65c8cfc05b1: Pulling fs layer [2024-09-02T09:34:48.580Z] 765212b225bb: Waiting [2024-09-02T09:34:48.580Z] f23df028b6ca: Waiting [2024-09-02T09:34:48.580Z] 2437ff75d9bd: Pulling fs layer [2024-09-02T09:34:48.580Z] d65c8cfc05b1: Waiting [2024-09-02T09:34:48.580Z] 2437ff75d9bd: Waiting [2024-09-02T09:34:48.846Z] 04944245beec: Verifying Checksum [2024-09-02T09:34:48.846Z] 04944245beec: Download complete [2024-09-02T09:34:48.846Z] 765212b225bb: Verifying Checksum [2024-09-02T09:34:48.846Z] 765212b225bb: Download complete [2024-09-02T09:34:48.846Z] f23df028b6ca: Download complete [2024-09-02T09:34:48.846Z] d65c8cfc05b1: Verifying Checksum [2024-09-02T09:34:48.846Z] d65c8cfc05b1: Download complete [2024-09-02T09:34:48.846Z] 699f458cf7ca: Verifying Checksum [2024-09-02T09:34:48.846Z] 699f458cf7ca: Download complete [2024-09-02T09:34:49.427Z] 8998bd30e6a1: Verifying Checksum [2024-09-02T09:34:49.427Z] 8998bd30e6a1: Download complete [2024-09-02T09:34:51.998Z] 2437ff75d9bd: Verifying Checksum [2024-09-02T09:34:51.998Z] 2437ff75d9bd: Download complete [2024-09-02T09:34:53.932Z] 8998bd30e6a1: Pull complete [2024-09-02T09:34:54.200Z] 04944245beec: Pull complete [2024-09-02T09:34:56.139Z] 699f458cf7ca: Pull complete [2024-09-02T09:34:56.139Z] 765212b225bb: Pull complete [2024-09-02T09:34:57.098Z] f23df028b6ca: Pull complete [2024-09-02T09:34:57.098Z] d65c8cfc05b1: Pull complete [2024-09-02T09:35:15.292Z] 2437ff75d9bd: Pull complete [2024-09-02T09:35:15.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-02T09:35:15.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-02T09:35:15.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:35:15.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-9185 does not seem to be running inside a container [2024-09-02T09:35:15.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-02T09:35:18.324Z] $ docker top f503efdcdf36d664efa2ab4497bbacff06f96c7e9553477b8ea7abe08b5e3b68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:19.240Z] ---> job-cost.sh [2024-09-02T09:35:19.240Z] lf-activate-venv: SKIPPING [2024-09-02T09:35:19.240Z] INFO: No Stack... [2024-09-02T09:35:19.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-02T09:35:20.395Z] INFO: Archiving Costs [Pipeline] sh [2024-09-02T09:35:21.309Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-09-02T09:35:21.309Z] + cut -d, -f6 [Pipeline] lock [2024-09-02T09:35:21.461Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [2024-09-02T09:35:21.467Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] did not exist. Created. [2024-09-02T09:35:21.475Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-02T09:35:21.936Z] /w/workspace/device-sdk-go/1@tmp/durable-315ed0f8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-02T09:35:22.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-02T09:35:22.671Z] Warning: overwriting stash ‘stack-cost’ [2024-09-02T09:35:22.751Z] Stashed 1 file(s) [Pipeline] } [2024-09-02T09:35:22.774Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-02T09:35:22.859Z] $ docker stop --time=1 f503efdcdf36d664efa2ab4497bbacff06f96c7e9553477b8ea7abe08b5e3b68 [2024-09-02T09:35:24.368Z] $ docker rm -f --volumes f503efdcdf36d664efa2ab4497bbacff06f96c7e9553477b8ea7abe08b5e3b68 [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-09-02T09:35:25.579Z] provisioning config files... [2024-09-02T09:35:25.587Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config4175784004520219527tmp [Pipeline] { [Pipeline] sh [2024-09-02T09:35:25.951Z] + set +x [2024-09-02T09:35:25.951Z] + curl -s https://codecov.io/bash [2024-09-02T09:35:25.951Z] + bash -s -- [2024-09-02T09:35:25.951Z] [2024-09-02T09:35:25.951Z] _____ _ [2024-09-02T09:35:25.951Z] / ____| | | [2024-09-02T09:35:25.951Z] | | ___ __| | ___ ___ _____ __ [2024-09-02T09:35:25.951Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-02T09:35:25.951Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-02T09:35:25.951Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-02T09:35:25.951Z] Bash-1.0.6 [2024-09-02T09:35:25.951Z] [2024-09-02T09:35:25.951Z] [2024-09-02T09:35:25.951Z] ==> git version 2.25.1 found [2024-09-02T09:35:25.951Z] ==> 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-09-02T09:35:25.951Z] Release-Date: 2020-01-08 [2024-09-02T09:35:25.951Z] 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-09-02T09:35:25.952Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-02T09:35:25.952Z] ==> Jenkins CI detected. [2024-09-02T09:35:25.952Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1620 [2024-09-02T09:35:25.952Z] project root: . [2024-09-02T09:35:25.952Z] --> token set from env [2024-09-02T09:35:26.211Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-02T09:35:26.211Z] ==> Running gcov in . (disable via -X gcov) [2024-09-02T09:35:26.211Z] ==> Python coveragepy not found [2024-09-02T09:35:26.211Z] ==> Searching for coverage reports in: [2024-09-02T09:35:26.211Z] + . [2024-09-02T09:35:26.211Z] -> Found 1 reports [2024-09-02T09:35:26.211Z] ==> Detecting git/mercurial file structure [2024-09-02T09:35:26.211Z] ==> Reading reports [2024-09-02T09:35:26.211Z] + ./coverage.out bytes=127940 [2024-09-02T09:35:26.211Z] ==> Appending adjustments [2024-09-02T09:35:26.211Z] https://docs.codecov.io/docs/fixing-reports [2024-09-02T09:35:26.473Z] + Found adjustments [2024-09-02T09:35:26.473Z] ==> Gzipping contents [2024-09-02T09:35:26.473Z] 20K /tmp/codecov.96Wupm.gz [2024-09-02T09:35:26.473Z] ==> Uploading reports [2024-09-02T09:35:26.473Z] url: https://codecov.io [2024-09-02T09:35:26.473Z] query: branch=PR-1620&commit=a714b48757c517d54332fd659dfbe749d230d672&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1620&job=&cmd_args= [2024-09-02T09:35:26.473Z] -> Pinging Codecov [2024-09-02T09:35:26.473Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1620&commit=a714b48757c517d54332fd659dfbe749d230d672&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1620&job=&cmd_args= [2024-09-02T09:35:26.734Z] -> Uploading to [2024-09-02T09:35:26.734Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-02/7E55EF52A471D76F132DFD9A03CDDE97/a714b48757c517d54332fd659dfbe749d230d672/79b4ebc2-d57f-4551-ad4f-9026085a626d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240902%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240902T093526Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8c4097ad1712aa8167d990e4e29286fd3f90645ee7fdabeb4ed2f04adc125a87 [2024-09-02T09:35:26.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-02T09:35:26.734Z] Dload Upload Total Spent Left Speed [2024-09-02T09:35:26.994Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 68212 --:--:-- --:--:-- --:--:-- 68212 [2024-09-02T09:35:26.994Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a714b48757c517d54332fd659dfbe749d230d672 [Pipeline] } [2024-09-02T09:35:27.039Z] 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-09-02T09:35:29.399Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives ] [2024-09-02T09:35:29.399Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-02T09:35:29.399Z] total 16 [2024-09-02T09:35:29.399Z] drwxr-xr-x 3 root root 4096 Sep 2 09:20 . [2024-09-02T09:35:29.399Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 2 09:20 .. [2024-09-02T09:35:29.399Z] drwxr-xr-x 2 root root 4096 Sep 2 09:20 cost [2024-09-02T09:35:29.399Z] -rw-r--r-- 1 root root 86 Sep 2 09:20 cost.csv [2024-09-02T09:35:29.399Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-02T09:35:29.399Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-02T09:35:29.399Z] total 16 [2024-09-02T09:35:29.399Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 09:20 . [2024-09-02T09:35:29.399Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 2 09:20 .. [2024-09-02T09:35:29.399Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 09:20 cost [2024-09-02T09:35:29.399Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 2 09:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:29.740Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:30.644Z] ---> package-listing.sh [2024-09-02T09:35:30.644Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-02T09:35:30.644Z] ++ facter osfamily [2024-09-02T09:35:30.903Z] + OS_FAMILY=debian [2024-09-02T09:35:30.903Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1620 [2024-09-02T09:35:30.903Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-02T09:35:30.903Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-02T09:35:30.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-02T09:35:30.903Z] + PACKAGES=/tmp/packages_start.txt [2024-09-02T09:35:30.903Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1620 ']' [2024-09-02T09:35:30.903Z] + PACKAGES=/tmp/packages_end.txt [2024-09-02T09:35:30.903Z] + case "${OS_FAMILY}" in [2024-09-02T09:35:30.903Z] + dpkg -l [2024-09-02T09:35:30.903Z] + grep '^ii' [2024-09-02T09:35:30.903Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-02T09:35:30.903Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-02T09:35:30.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-02T09:35:30.903Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1620 ']' [2024-09-02T09:35:30.904Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/ [2024-09-02T09:35:30.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/ [Pipeline] echo [2024-09-02T09:35:30.943Z] 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-1620/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-02T09:35:31.244Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-02T09:35:31.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-02T09:35:31.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-02T09:35:32.177Z] prd-ubuntu20.04-docker-8c-8g-9184 does not seem to be running inside a container [2024-09-02T09:35:32.214Z] $ 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-1620/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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-02T09:35:32.403Z] $ docker top 9f628f2225ea5dd8dfe579b5c3eb372000433ae03ec0b9283dcd7bbe5c239be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-02T09:35:32.816Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-02T09:35:33.138Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-02T09:35:33.455Z] + ls /var/log/sa-host [2024-09-02T09:35:33.455Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-02T09:35:33.689Z] provisioning config files... [2024-09-02T09:35:33.698Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config15087074319914764507tmp [Pipeline] { [Pipeline] echo [2024-09-02T09:35:33.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:34.092Z] ---> create-netrc.sh [Pipeline] } [2024-09-02T09:35:34.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:34.538Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-02T09:35:34.583Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:34.907Z] ---> sudo-logs.sh [2024-09-02T09:35:34.907Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-02T09:35:35.019Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:35.347Z] ---> job-cost.sh [2024-09-02T09:35:35.347Z] lf-activate-venv: SKIPPING [2024-09-02T09:35:35.347Z] DEBUG: total: 0.2199999988079071 [2024-09-02T09:35:35.347Z] INFO: Retrieving Stack Cost... [2024-09-02T09:35:35.606Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-02T09:35:35.865Z] INFO: Archiving Costs [Pipeline] echo [2024-09-02T09:35:35.910Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-02T09:35:36.239Z] ---> logs-deploy.sh [2024-09-02T09:35:36.239Z] lf-activate-venv: SKIPPING [2024-09-02T09:35:36.239Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1620/1 [2024-09-02T09:35:36.239Z] INFO: archiving workspace using pattern(s): [2024-09-02T09:35:37.178Z] Archives upload complete. [2024-09-02T09:35:37.178Z] INFO: archiving logs to Nexus