Pull request #1619 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb251068f9fa6c1dd9087c1fad3447c821049b0a+6fbfd523e75a65f7b52cf25b753a535ead5785c5 (9411f148742d7ad19f380a016887500b3bb1d4f2) 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-ssh2657153914706176348.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-ssh15507058592046705408.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-1619/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-1619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10195084711142269978.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-1619/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11764301542660086426.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-ssh15414782680027465414.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-1619/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-1619/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14282588504735344903.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 on ‘prd-ubuntu20.04-docker-8c-8g-8872’ Running on prd-ubuntu20.04-docker-8c-8g-8891 in /w/workspace/gexfoundry_device-sdk-go_PR-1619 [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-1619 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1619/head:refs/remotes/origin/PR-1619 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit fb251068f9fa6c1dd9087c1fad3447c821049b0a Merge succeeded, producing fb251068f9fa6c1dd9087c1fad3447c821049b0a Checking out Revision fb251068f9fa6c1dd9087c1fad3447c821049b0a (PR-1619) Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f fb251068f9fa6c1dd9087c1fad3447c821049b0a # 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 fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-28T04:53:18.048Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-28T04:53:18.260Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-28T04:53:18.395Z] ========================================================= [2024-08-28T04:53:18.395Z] EdgeX Global Pipelines Version Info [2024-08-28T04:53:18.395Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:53:19.186Z] ------------------- [2024-08-28T04:53:19.186Z] stable info: [2024-08-28T04:53:19.186Z] ------------------- [2024-08-28T04:53:19.186Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:53:19.186Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:53:19.186Z] Message: update stable to v1.0.263 [2024-08-28T04:53:19.755Z] ------------------- [2024-08-28T04:53:19.755Z] experimental info: [2024-08-28T04:53:19.755Z] ------------------- [2024-08-28T04:53:19.755Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-28T04:53:19.755Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:53:19.755Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-28T04:53:20.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-28T04:53:20.059Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-28T04:53:20.118Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-28T04:53:20.179Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-28T04:53:20.238Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-28T04:53:20.304Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-28T04:53:20.366Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-28T04:53:20.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-28T04:53:20.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-28T04:53:20.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-28T04:53:20.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-28T04:53:20.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-28T04:53:20.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-28T04:53:20.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-28T04:53:20.915Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-28T04:53:20.973Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:53:21.036Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:53:21.093Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-28T04:53:21.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-28T04:53:21.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-28T04:53:21.277Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-28T04:53:21.336Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-28T04:53:21.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-28T04:53:21.458Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-28T04:53:21.511Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-28T04:53:21.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-28T04:53:21.622Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-28T04:53:21.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1619 [Pipeline] echo [2024-08-28T04:53:21.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1619 [Pipeline] echo [2024-08-28T04:53:21.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1619 [Pipeline] echo [2024-08-28T04:53:21.862Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb251068f9fa6c1dd9087c1fad3447c821049b0a [Pipeline] echo [2024-08-28T04:53:21.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb25106 [Pipeline] echo [2024-08-28T04:53:21.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:53:22.123Z] provisioning config files... [2024-08-28T04:53:22.136Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config1851283175845094475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:53:22.523Z] ---> ****-login.sh [2024-08-28T04:53:22.523Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:53:22.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:22.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:22.783Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:22.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:22.784Z] [2024-08-28T04:53:22.784Z] Login Succeeded [2024-08-28T04:53:22.784Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:53:22.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:22.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:22.784Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:22.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:22.784Z] [2024-08-28T04:53:22.784Z] Login Succeeded [2024-08-28T04:53:22.784Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:53:23.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:23.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:23.044Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:23.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:23.044Z] [2024-08-28T04:53:23.044Z] Login Succeeded [2024-08-28T04:53:23.044Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:53:23.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:23.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:23.044Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:23.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:23.044Z] [2024-08-28T04:53:23.044Z] Login Succeeded [2024-08-28T04:53:23.044Z] ****.io [2024-08-28T04:53:23.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:23.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:23.304Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:23.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:23.304Z] [2024-08-28T04:53:23.304Z] Login Succeeded [2024-08-28T04:53:23.304Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:53:23.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-28T04:53:24.014Z] + git rev-list -1 --merges fb251068f9fa6c1dd9087c1fad3447c821049b0a~1..fb251068f9fa6c1dd9087c1fad3447c821049b0a [Pipeline] echo [2024-08-28T04:53:24.063Z] -----------> git rev-list -1 --merges fb251068f9fa6c1dd9087c1fad3447c821049b0a~1..fb251068f9fa6c1dd9087c1fad3447c821049b0a fb251068f9fa6c1dd9087c1fad3447c821049b0a [false] [Pipeline] sh [2024-08-28T04:53:24.387Z] + git log --format=format:%s -1 fb251068f9fa6c1dd9087c1fad3447c821049b0a [Pipeline] echo [2024-08-28T04:53:24.429Z] ========================================================= [2024-08-28T04:53:24.429Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-28T04:53:24.429Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:53:24.882Z] + git log --format=format:%s -1 fb251068f9fa6c1dd9087c1fad3447c821049b0a [Pipeline] echo [2024-08-28T04:53:24.931Z] [semverPrep] GIT_COMMIT: fb251068f9fa6c1dd9087c1fad3447c821049b0a, Commit Message: build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0 [Pipeline] echo [2024-08-28T04:53:24.973Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-28T04:53:25.363Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-28T04:53:25.363Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-28T04:53:25.363Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-28T04:53:25.363Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-28T04:53:25.363Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-28T04:53:25.363Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-28T04:53:25.363Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:53:25.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:53:25.824Z] [2024-08-28T04:53:25.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:53:26.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:53:26.241Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-28T04:53:26.241Z] b85a868b505f: Pulling fs layer [2024-08-28T04:53:26.241Z] e2be974225ed: Pulling fs layer [2024-08-28T04:53:26.241Z] 339a4e72a1f5: Pulling fs layer [2024-08-28T04:53:26.241Z] 988bab9f4d93: Pulling fs layer [2024-08-28T04:53:26.241Z] 1469e6f7b9e6: Pulling fs layer [2024-08-28T04:53:26.241Z] eaf3925da568: Pulling fs layer [2024-08-28T04:53:26.241Z] bab4dde63d76: Pulling fs layer [2024-08-28T04:53:26.241Z] bde34c3a00c8: Pulling fs layer [2024-08-28T04:53:26.241Z] b352a97aabf1: Pulling fs layer [2024-08-28T04:53:26.241Z] 4872d77fe225: Pulling fs layer [2024-08-28T04:53:26.241Z] 5851b861e8e6: Pulling fs layer [2024-08-28T04:53:26.241Z] bde34c3a00c8: Waiting [2024-08-28T04:53:26.241Z] b352a97aabf1: Waiting [2024-08-28T04:53:26.241Z] 4872d77fe225: Waiting [2024-08-28T04:53:26.241Z] 5851b861e8e6: Waiting [2024-08-28T04:53:26.241Z] 988bab9f4d93: Waiting [2024-08-28T04:53:26.241Z] 1469e6f7b9e6: Waiting [2024-08-28T04:53:26.241Z] eaf3925da568: Waiting [2024-08-28T04:53:26.241Z] bab4dde63d76: Waiting [2024-08-28T04:53:26.241Z] e2be974225ed: Download complete [2024-08-28T04:53:26.241Z] 988bab9f4d93: Download complete [2024-08-28T04:53:26.241Z] 1469e6f7b9e6: Verifying Checksum [2024-08-28T04:53:26.241Z] 1469e6f7b9e6: Download complete [2024-08-28T04:53:26.241Z] 339a4e72a1f5: Verifying Checksum [2024-08-28T04:53:26.500Z] eaf3925da568: Verifying Checksum [2024-08-28T04:53:26.500Z] eaf3925da568: Download complete [2024-08-28T04:53:26.500Z] bde34c3a00c8: Download complete [2024-08-28T04:53:26.500Z] b352a97aabf1: Verifying Checksum [2024-08-28T04:53:26.500Z] b352a97aabf1: Download complete [2024-08-28T04:53:26.500Z] 4872d77fe225: Download complete [2024-08-28T04:53:26.500Z] 5851b861e8e6: Download complete [2024-08-28T04:53:26.500Z] b85a868b505f: Verifying Checksum [2024-08-28T04:53:26.500Z] b85a868b505f: Download complete [2024-08-28T04:53:26.757Z] bab4dde63d76: Download complete [2024-08-28T04:53:27.692Z] b85a868b505f: Pull complete [2024-08-28T04:53:27.693Z] e2be974225ed: Pull complete [2024-08-28T04:53:28.268Z] 339a4e72a1f5: Pull complete [2024-08-28T04:53:28.268Z] 988bab9f4d93: Pull complete [2024-08-28T04:53:28.528Z] 1469e6f7b9e6: Pull complete [2024-08-28T04:53:28.528Z] eaf3925da568: Pull complete [2024-08-28T04:53:30.429Z] bab4dde63d76: Pull complete [2024-08-28T04:53:30.429Z] bde34c3a00c8: Pull complete [2024-08-28T04:53:30.429Z] b352a97aabf1: Pull complete [2024-08-28T04:53:30.429Z] 4872d77fe225: Pull complete [2024-08-28T04:53:30.429Z] 5851b861e8e6: Pull complete [2024-08-28T04:53:30.429Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-28T04:53:30.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-28T04:53:30.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:53:30.679Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2024-08-28T04:53:30.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-28T04:53:34.073Z] $ docker top 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f -eo pid,comm [2024-08-28T04:53:34.123Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-28T04:53:34.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-28T04:53:34.497Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:53:34.498Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:53:34.598Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:53:34.608Z] $ docker exec 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f ssh-agent [2024-08-28T04:53:34.723Z] SSH_AUTH_SOCK=/tmp/ssh-4wm77W1mqPzB/agent.32 [2024-08-28T04:53:34.723Z] SSH_AGENT_PID=38 [2024-08-28T04:53:34.728Z] Running ssh-add (command line suppressed) [2024-08-28T04:53:34.802Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_12119690655177847930.key (/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_12119690655177847930.key) [2024-08-28T04:53:34.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:53:35.156Z] + git tag --points-at HEAD [Pipeline] } [2024-08-28T04:53:35.179Z] $ docker exec --env ******** --env ******** 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f ssh-agent -k [2024-08-28T04:53:35.263Z] unset SSH_AUTH_SOCK; [2024-08-28T04:53:35.263Z] unset SSH_AGENT_PID; [2024-08-28T04:53:35.263Z] echo Agent pid 38 killed; [2024-08-28T04:53:35.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-28T04:53:35.383Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-28T04:53:35.383Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-28T04:53:35.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-28T04:53:35.473Z] $ docker exec 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f ssh-agent [2024-08-28T04:53:35.569Z] SSH_AUTH_SOCK=/tmp/ssh-XU2IW8LErRjH/agent.71 [2024-08-28T04:53:35.569Z] SSH_AGENT_PID=77 [2024-08-28T04:53:35.574Z] Running ssh-add (command line suppressed) [2024-08-28T04:53:35.660Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_8065758051385419095.key (/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/private_key_8065758051385419095.key) [2024-08-28T04:53:35.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-28T04:53:36.020Z] + git semver init [2024-08-28T04:53:36.280Z] 2024-08-28 04:53:36,178 [run_init] DEBUG init version:0.0.0 force:False [2024-08-28T04:53:36.280Z] 2024-08-28 04:53:36,179 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver [2024-08-28T04:53:36.280Z] 2024-08-28 04:53:36,179 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver [2024-08-28T04:53:36.280Z] 2024-08-28 04:53:36,179 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619, universal_newlines=False, shell=None, istream=None) [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,392 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.git/info/exclude [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,393 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 with force:False [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,393 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,397 [execute] INFO git cat-file --batch-check [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,403 [execute] INFO git cat-file --batch [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver, universal_newlines=False, shell=None, istream=) [2024-08-28T04:53:38.819Z] 2024-08-28 04:53:38,408 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1619/.semver/PR-1619 [2024-08-28T04:53:38.819Z] 0.0.0 [Pipeline] } [2024-08-28T04:53:38.848Z] $ docker exec --env ******** --env ******** 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f ssh-agent -k [2024-08-28T04:53:38.941Z] unset SSH_AUTH_SOCK; [2024-08-28T04:53:38.942Z] unset SSH_AGENT_PID; [2024-08-28T04:53:38.942Z] echo Agent pid 77 killed; [2024-08-28T04:53:38.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-28T04:53:39.403Z] + git semver [Pipeline] } [2024-08-28T04:53:39.694Z] $ docker stop --time=1 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f [2024-08-28T04:53:40.962Z] $ docker rm -f --volumes 966f0475d4f7c9dfaab1ba02bbd090f25a006f4436db8dd670a90c1b0c2e1f0f [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:53:41.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-28T04:53:41.816Z] Stashed 1 file(s) [Pipeline] echo [2024-08-28T04:53:41.840Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:53:42.821Z] provisioning config files... [2024-08-28T04:53:42.831Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config4625884677578846585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:53:43.220Z] ---> ****-login.sh [2024-08-28T04:53:43.221Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:53:43.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:43.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:43.221Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:43.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:43.221Z] [2024-08-28T04:53:43.221Z] Login Succeeded [2024-08-28T04:53:43.221Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:53:43.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:43.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:43.221Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:43.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:43.221Z] [2024-08-28T04:53:43.221Z] Login Succeeded [2024-08-28T04:53:43.221Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:53:43.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:43.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:43.481Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:43.481Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:43.481Z] [2024-08-28T04:53:43.481Z] Login Succeeded [2024-08-28T04:53:43.482Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:53:43.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:43.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:43.482Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:43.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:43.482Z] [2024-08-28T04:53:43.482Z] Login Succeeded [2024-08-28T04:53:43.482Z] ****.io [2024-08-28T04:53:43.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:53:43.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:53:43.741Z] Configure a credential helper to remove this warning. See [2024-08-28T04:53:43.741Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:53:43.741Z] [2024-08-28T04:53:43.741Z] Login Succeeded [2024-08-28T04:53:43.741Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:53:43.773Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:53:43.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:53:44.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:53:44.071Z] ========================================================= [2024-08-28T04:53:44.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-28T04:53:44.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:53:44.642Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T04:53:44.643Z] Sending build context to Docker daemon 25.27MB [2024-08-28T04:53:44.643Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:53:44.643Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T04:53:44.643Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-28T04:53:44.643Z] 619be1103602: Pulling fs layer [2024-08-28T04:53:44.643Z] 7862e08f4a3e: Pulling fs layer [2024-08-28T04:53:44.643Z] 5df492c9dc93: Pulling fs layer [2024-08-28T04:53:44.643Z] 7629e6793208: Pulling fs layer [2024-08-28T04:53:44.643Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:53:44.643Z] fb5054dd5b73: Pulling fs layer [2024-08-28T04:53:44.643Z] eeca6798cff9: Pulling fs layer [2024-08-28T04:53:44.643Z] aa269ceb94a6: Pulling fs layer [2024-08-28T04:53:44.643Z] ada007ff1a6a: Pulling fs layer [2024-08-28T04:53:44.643Z] 7629e6793208: Waiting [2024-08-28T04:53:44.643Z] 4f4fb700ef54: Waiting [2024-08-28T04:53:44.643Z] fb5054dd5b73: Waiting [2024-08-28T04:53:44.643Z] eeca6798cff9: Waiting [2024-08-28T04:53:44.643Z] aa269ceb94a6: Waiting [2024-08-28T04:53:44.643Z] ada007ff1a6a: Waiting [2024-08-28T04:53:44.901Z] 7862e08f4a3e: Download complete [2024-08-28T04:53:44.901Z] 7629e6793208: Download complete [2024-08-28T04:53:44.901Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:53:44.901Z] 4f4fb700ef54: Download complete [2024-08-28T04:53:44.901Z] 619be1103602: Verifying Checksum [2024-08-28T04:53:44.901Z] 619be1103602: Download complete [2024-08-28T04:53:44.901Z] fb5054dd5b73: Download complete [2024-08-28T04:53:44.901Z] eeca6798cff9: Verifying Checksum [2024-08-28T04:53:44.901Z] eeca6798cff9: Download complete [2024-08-28T04:53:44.901Z] 619be1103602: Pull complete [2024-08-28T04:53:45.158Z] ada007ff1a6a: Verifying Checksum [2024-08-28T04:53:45.158Z] ada007ff1a6a: Download complete [2024-08-28T04:53:45.158Z] 7862e08f4a3e: Pull complete [2024-08-28T04:53:45.158Z] 5df492c9dc93: Verifying Checksum [2024-08-28T04:53:45.158Z] 5df492c9dc93: Download complete [2024-08-28T04:53:45.722Z] aa269ceb94a6: Verifying Checksum [2024-08-28T04:53:45.722Z] aa269ceb94a6: Download complete [2024-08-28T04:53:48.440Z] 5df492c9dc93: Pull complete [2024-08-28T04:53:48.440Z] 7629e6793208: Pull complete [2024-08-28T04:53:48.440Z] 4f4fb700ef54: Pull complete [2024-08-28T04:53:48.440Z] fb5054dd5b73: Pull complete [2024-08-28T04:53:48.440Z] eeca6798cff9: Pull complete [2024-08-28T04:53:50.966Z] aa269ceb94a6: Pull complete [2024-08-28T04:53:50.966Z] ada007ff1a6a: Pull complete [2024-08-28T04:53:50.966Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-28T04:53:50.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-28T04:53:50.966Z] ---> f489d0715acc [2024-08-28T04:53:50.966Z] Step 3/10 : ARG MAKE=make build [2024-08-28T04:53:57.537Z] ---> Running in e1ff7e759c3a [2024-08-28T04:53:57.537Z] Removing intermediate container e1ff7e759c3a [2024-08-28T04:53:57.537Z] ---> bf584d1e9f21 [2024-08-28T04:53:57.537Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-28T04:53:57.537Z] ---> Running in 193c6d60485c [2024-08-28T04:53:57.537Z] Removing intermediate container 193c6d60485c [2024-08-28T04:53:57.537Z] ---> c0864c92b9e9 [2024-08-28T04:53:57.537Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:53:57.537Z] ---> Running in 0c3b09d921ec [2024-08-28T04:53:57.537Z] Removing intermediate container 0c3b09d921ec [2024-08-28T04:53:57.537Z] ---> f4faca1e52b0 [2024-08-28T04:53:57.537Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-28T04:53:57.537Z] ---> Running in a2e96d4445fa [2024-08-28T04:53:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:53:57.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:53:57.537Z] OK: 264 MiB in 52 packages [2024-08-28T04:53:57.597Z] Still waiting to schedule task [2024-08-28T04:53:57.597Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8889’ [2024-08-28T04:53:57.795Z] Removing intermediate container a2e96d4445fa [2024-08-28T04:53:57.796Z] ---> 55d5d39b4ed9 [2024-08-28T04:53:57.796Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T04:53:58.054Z] ---> bbbd1000f8e6 [2024-08-28T04:53:58.054Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:53:58.054Z] ---> Running in 3a23f656e405 [2024-08-28T04:54:56.713Z] Removing intermediate container 3a23f656e405 [2024-08-28T04:54:56.713Z] ---> 97da9f3fbce0 [2024-08-28T04:54:56.713Z] Step 9/10 : COPY . . [2024-08-28T04:54:56.713Z] ---> c2578181a7ac [2024-08-28T04:54:56.713Z] Step 10/10 : RUN ${MAKE} [2024-08-28T04:54:56.713Z] ---> Running in 8a7b2736ef17 [2024-08-28T04:54:56.713Z] noop [2024-08-28T04:54:56.713Z] Removing intermediate container 8a7b2736ef17 [2024-08-28T04:54:56.713Z] ---> 34d37d2c72da [2024-08-28T04:54:56.713Z] Successfully built 34d37d2c72da [2024-08-28T04:54:56.713Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:54:57.201Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:54:57.201Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:54:57.388Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2024-08-28T04:54:57.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-28T04:54:57.772Z] $ docker top b876cbe04e31c289af5c45f0a1286e1f419bc131db38d024f096000d286adaf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:54:58.206Z] + go version [2024-08-28T04:54:58.206Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-28T04:54:58.245Z] $ docker stop --time=1 b876cbe04e31c289af5c45f0a1286e1f419bc131db38d024f096000d286adaf0 [2024-08-28T04:54:59.518Z] $ docker rm -f --volumes b876cbe04e31c289af5c45f0a1286e1f419bc131db38d024f096000d286adaf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:55:00.382Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-28T04:55:00.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:55:00.550Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2024-08-28T04:55:00.580Z] $ 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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-28T04:55:00.901Z] $ docker top a0b81308bdcd9dc16b9fcc10fc2927b44300642277eff901006ad7d5062738ef -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T04:55:01.318Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1619 [Pipeline] fileExists [Pipeline] sh [2024-08-28T04:55:01.693Z] + make test [2024-08-28T04:55:01.693Z] go test -race -coverprofile=coverage.out ./... [2024-08-28T04:55:08.260Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-28T04:55:47.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-28T04:55:47.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.017s coverage: 26.0% of statements [2024-08-28T04:55:47.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.029s coverage: 79.4% of statements [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-28T04:55:47.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.035s coverage: 86.0% of statements [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-28T04:55:47.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.061s coverage: 51.6% of statements [2024-08-28T04:55:47.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-28T04:55:47.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements [2024-08-28T04:55:49.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.675s coverage: 44.6% of statements [2024-08-28T04:55:49.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.048s coverage: 68.5% of statements [2024-08-28T04:55:49.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements [2024-08-28T04:55:49.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.3% of statements [2024-08-28T04:56:17.215Z] GO111MODULE=on go vet ./... [2024-08-28T04:56:21.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T04:56:21.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T04:56:21.398Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-28T04:56:21.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T04:56:21.738Z] $ docker stop --time=1 a0b81308bdcd9dc16b9fcc10fc2927b44300642277eff901006ad7d5062738ef [2024-08-28T04:56:26.729Z] $ docker rm -f --volumes a0b81308bdcd9dc16b9fcc10fc2927b44300642277eff901006ad7d5062738ef [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T04:56:27.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T04:56:27.559Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-28T04:56:28.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T04:56:28.476Z] + ls -al . [2024-08-28T04:56:28.476Z] total 380 [2024-08-28T04:56:28.476Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 28 04:55 . [2024-08-28T04:56:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:53 .. [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:53 .dockerignore [2024-08-28T04:56:28.476Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:55 .git [2024-08-28T04:56:28.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:53 .github [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:53 .gitignore [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:53 .golangci.yml [2024-08-28T04:56:28.476Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:53 .semver [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:53 CHANGELOG.md [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:53 GOVERNANCE.md [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:53 Jenkinsfile [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:53 LICENSE [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:53 Makefile [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:53 OWNERS.md [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:53 README.md [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION [2024-08-28T04:56:28.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:53 bin [2024-08-28T04:56:28.476Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 28 04:55 coverage.out [2024-08-28T04:56:28.476Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:53 example [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:53 go.mod [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:53 go.sum [2024-08-28T04:56:28.476Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:53 internal [2024-08-28T04:56:28.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:53 openapi [2024-08-28T04:56:28.476Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:53 pkg [2024-08-28T04:56:28.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:53 snap [2024-08-28T04:56:28.476Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:56:28.903Z] + 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=fb251068f9fa6c1dd9087c1fad3447c821049b0a --label arch=amd64 --label version=0.0.0 . [2024-08-28T04:56:28.903Z] Sending build context to Docker daemon 25.4MB [2024-08-28T04:56:28.903Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:56:28.903Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-28T04:56:28.903Z] ---> 34d37d2c72da [2024-08-28T04:56:28.903Z] Step 3/24 : ARG MAKE=make build [2024-08-28T04:56:29.161Z] ---> Running in 03155974d71b [2024-08-28T04:56:29.420Z] Removing intermediate container 03155974d71b [2024-08-28T04:56:29.420Z] ---> 531d56b975cd [2024-08-28T04:56:29.420Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-28T04:56:29.420Z] ---> Running in b9a08b16cc29 [2024-08-28T04:56:29.420Z] Removing intermediate container b9a08b16cc29 [2024-08-28T04:56:29.420Z] ---> 31d69441ade8 [2024-08-28T04:56:29.420Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:56:29.420Z] ---> Running in 8203d45adba7 [2024-08-28T04:56:29.420Z] Removing intermediate container 8203d45adba7 [2024-08-28T04:56:29.420Z] ---> dbe0a08def47 [2024-08-28T04:56:29.420Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-28T04:56:29.420Z] ---> Running in a434caf6bfee [2024-08-28T04:56:29.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:29.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:56:30.246Z] OK: 264 MiB in 52 packages [2024-08-28T04:56:30.505Z] Removing intermediate container a434caf6bfee [2024-08-28T04:56:30.505Z] ---> 63b10fb1dd08 [2024-08-28T04:56:30.505Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-28T04:56:30.764Z] ---> 8aa0778ec9d5 [2024-08-28T04:56:30.764Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:56:30.764Z] ---> Running in 4002a5cf982d [2024-08-28T04:56:31.334Z] Removing intermediate container 4002a5cf982d [2024-08-28T04:56:31.334Z] ---> de04e4615802 [2024-08-28T04:56:31.334Z] Step 9/24 : COPY . . [2024-08-28T04:56:32.265Z] ---> 1014efb46185 [2024-08-28T04:56:32.265Z] Step 10/24 : RUN ${MAKE} [2024-08-28T04:56:32.265Z] ---> Running in af36e16b2fe1 [2024-08-28T04:56:32.524Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-28T04:56:45.774Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8896 in /w/workspace/gexfoundry_device-sdk-go_PR-1619 [Pipeline] { [Pipeline] ws [2024-08-28T04:56:45.853Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-28T04:56:45.978Z] The recommended git tool is: git [2024-08-28T04:56:55.550Z] using credential edgex-jenkins-ssh [2024-08-28T04:56:55.578Z] Cloning the remote Git repository [2024-08-28T04:56:55.629Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:56:55.746Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-28T04:56:56.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:56:56.032Z] > git --version # timeout=10 [2024-08-28T04:56:56.077Z] > git --version # 'git version 2.25.1' [2024-08-28T04:56:56.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:56:56.354Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:57:00.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-28T04:57:00.515Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-28T04:57:02.611Z] Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit fb251068f9fa6c1dd9087c1fad3447c821049b0a [2024-08-28T04:57:01.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-28T04:57:01.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-28T04:57:01.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:57:01.951Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1619/head:refs/remotes/origin/PR-1619 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-28T04:57:02.627Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:57:02.697Z] > git checkout -f fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [2024-08-28T04:57:02.821Z] > git remote # timeout=10 [2024-08-28T04:57:02.845Z] > git config --get remote.origin.url # timeout=10 [2024-08-28T04:57:02.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-28T04:57:02.888Z] > git merge 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 [2024-08-28T04:57:02.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-28T04:57:02.937Z] Merge succeeded, producing fb251068f9fa6c1dd9087c1fad3447c821049b0a [2024-08-28T04:57:02.938Z] Checking out Revision fb251068f9fa6c1dd9087c1fad3447c821049b0a (PR-1619) [2024-08-28T04:57:03.663Z] Commit message: "build(deps): bump golang.org/x/net from 0.27.0 to 0.28.0" [2024-08-28T04:57:03.727Z] > git --version # timeout=10 [2024-08-28T04:57:03.738Z] > git --version # 'git version 2.25.1' [2024-08-28T04:57:03.771Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-28T04:57:04.578Z] Removing intermediate container af36e16b2fe1 [2024-08-28T04:57:04.578Z] ---> 4195d5d4186c [2024-08-28T04:57:04.578Z] Step 11/24 : FROM alpine:3.18 [2024-08-28T04:57:04.578Z] 3.18: Pulling from library/alpine [2024-08-28T04:57:04.578Z] 930bdd4d222e: Pulling fs layer [2024-08-28T04:57:02.942Z] > git config core.sparsecheckout # timeout=10 [2024-08-28T04:57:02.982Z] > git checkout -f fb251068f9fa6c1dd9087c1fad3447c821049b0a # timeout=10 [2024-08-28T04:57:04.948Z] 930bdd4d222e: Download complete [2024-08-28T04:57:04.948Z] 930bdd4d222e: Pull complete [2024-08-28T04:57:04.948Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T04:57:04.948Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T04:57:04.948Z] ---> 18f865063206 [2024-08-28T04:57:04.948Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-28T04:57:05.207Z] ---> Running in d4934fa170ce [2024-08-28T04:57:05.207Z] Removing intermediate container d4934fa170ce [2024-08-28T04:57:05.207Z] ---> c5e8dc1b904e [2024-08-28T04:57:05.207Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-28T04:57:05.207Z] ---> Running in d02f498b2a13 [2024-08-28T04:57:05.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:57:05.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:57:05.725Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T04:57:05.725Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T04:57:05.983Z] OK: 7 MiB in 16 packages [2024-08-28T04:57:06.241Z] Removing intermediate container d02f498b2a13 [2024-08-28T04:57:06.241Z] ---> aea95b4bfd1e [2024-08-28T04:57:06.241Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-28T04:57:06.241Z] ---> Running in 3630460e95cc [2024-08-28T04:57:06.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-28T04:57:06.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-28T04:57:06.763Z] OK: 7 MiB in 16 packages [2024-08-28T04:57:07.023Z] Removing intermediate container 3630460e95cc [2024-08-28T04:57:07.023Z] ---> 07f193a6e2ac [2024-08-28T04:57:07.023Z] Step 15/24 : WORKDIR / [2024-08-28T04:57:07.023Z] ---> Running in 253142c059af [2024-08-28T04:57:07.023Z] Removing intermediate container 253142c059af [2024-08-28T04:57:07.023Z] ---> e8329a9a9632 [2024-08-28T04:57:07.023Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-28T04:57:07.281Z] ---> bb3ea912f140 [2024-08-28T04:57:07.281Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T04:57:08.883Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-28T04:57:08.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T04:57:08.884Z] Dload Upload Total Spent Left Speed [2024-08-28T04:57:08.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2024-08-28T04:57:09.193Z] ---> 1c106d09b698 [2024-08-28T04:57:09.193Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-28T04:57:09.193Z] ---> ec3251faa7bd [2024-08-28T04:57:09.193Z] Step 19/24 : EXPOSE 59999 [2024-08-28T04:57:09.193Z] ---> Running in 5b6fba0d3dfe [2024-08-28T04:57:09.193Z] Removing intermediate container 5b6fba0d3dfe [2024-08-28T04:57:09.193Z] ---> ba209019969a [2024-08-28T04:57:09.193Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-28T04:57:09.193Z] ---> Running in e521034cbb7e [2024-08-28T04:57:09.193Z] Removing intermediate container e521034cbb7e [2024-08-28T04:57:09.193Z] ---> e4076442bb6e [2024-08-28T04:57:09.193Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T04:57:09.193Z] ---> Running in c53b2332a2cb [2024-08-28T04:57:09.193Z] Removing intermediate container c53b2332a2cb [2024-08-28T04:57:09.193Z] ---> e8ebe7c4d2c1 [2024-08-28T04:57:09.193Z] Step 22/24 : LABEL arch=amd64 [2024-08-28T04:57:09.193Z] ---> Running in 0e53c2e9c554 [2024-08-28T04:57:09.193Z] Removing intermediate container 0e53c2e9c554 [2024-08-28T04:57:09.193Z] ---> 775d23629ecc [2024-08-28T04:57:09.193Z] Step 23/24 : LABEL git_sha=fb251068f9fa6c1dd9087c1fad3447c821049b0a [2024-08-28T04:57:09.193Z] ---> Running in 0366bef54297 [2024-08-28T04:57:09.251Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-28T04:57:09.452Z] Removing intermediate container 0366bef54297 [2024-08-28T04:57:09.452Z] ---> 6838264abb6f [2024-08-28T04:57:09.452Z] Step 24/24 : LABEL version=0.0.0 [2024-08-28T04:57:09.452Z] ---> Running in ae30e70dadcc [2024-08-28T04:57:09.452Z] Removing intermediate container ae30e70dadcc [2024-08-28T04:57:09.452Z] ---> c6b090b8f181 [2024-08-28T04:57:09.452Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T04:57:09.452Z] Successfully built c6b090b8f181 [2024-08-28T04:57:09.452Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-08-28T04:57:09.616Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-28T04:57:09.616Z] + sudo tee /etc/docker/daemon.new [2024-08-28T04:57:09.616Z] { [2024-08-28T04:57:09.616Z] "registry-mirrors": [ [2024-08-28T04:57:09.616Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-28T04:57:09.616Z] ], [2024-08-28T04:57:09.616Z] "bip": "10.250.0.254/24", [2024-08-28T04:57:09.616Z] "hosts": [ [2024-08-28T04:57:09.616Z] "tcp://0.0.0.0:5555", [2024-08-28T04:57:09.616Z] "unix:///var/run/docker.sock" [2024-08-28T04:57:09.616Z] ], [2024-08-28T04:57:09.616Z] "mtu": 1458, [2024-08-28T04:57:09.616Z] "selinux-enabled": true, [2024-08-28T04:57:09.616Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-28T04:57:09.616Z] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [2024-08-28T04:57:10.039Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] { (Snap) [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-08-28T04:57:10.449Z] + sudo service docker restart [Pipeline] sh [2024-08-28T04:57:10.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:57:10.794Z] [2024-08-28T04:57:10.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:57:11.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:57:11.195Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-28T04:57:11.195Z] 5eb5b503b376: Pulling fs layer [2024-08-28T04:57:11.195Z] 5c69ac0246d0: Pulling fs layer [2024-08-28T04:57:11.195Z] ec43610c2a17: Pulling fs layer [2024-08-28T04:57:11.195Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-28T04:57:11.195Z] 33b1e0a273af: Pulling fs layer [2024-08-28T04:57:11.195Z] 5d3b04190fa2: Pulling fs layer [2024-08-28T04:57:11.195Z] 2f39f015ded8: Pulling fs layer [2024-08-28T04:57:11.195Z] 3a2ae6a8a46f: Waiting [2024-08-28T04:57:11.195Z] 5d3b04190fa2: Waiting [2024-08-28T04:57:11.195Z] 2f39f015ded8: Waiting [2024-08-28T04:57:11.195Z] 33b1e0a273af: Waiting [2024-08-28T04:57:11.195Z] 5c69ac0246d0: Download complete [2024-08-28T04:57:11.195Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-28T04:57:11.195Z] 3a2ae6a8a46f: Download complete [2024-08-28T04:57:11.195Z] 33b1e0a273af: Verifying Checksum [2024-08-28T04:57:11.195Z] 33b1e0a273af: Download complete [2024-08-28T04:57:11.195Z] ec43610c2a17: Verifying Checksum [2024-08-28T04:57:11.195Z] ec43610c2a17: Download complete [2024-08-28T04:57:11.195Z] 5d3b04190fa2: Verifying Checksum [2024-08-28T04:57:11.195Z] 5d3b04190fa2: Download complete [2024-08-28T04:57:11.453Z] 5eb5b503b376: Verifying Checksum [2024-08-28T04:57:11.453Z] 5eb5b503b376: Download complete [2024-08-28T04:57:12.017Z] 2f39f015ded8: Download complete [2024-08-28T04:57:12.580Z] 5eb5b503b376: Pull complete [2024-08-28T04:57:12.580Z] 5c69ac0246d0: Pull complete [2024-08-28T04:57:13.145Z] ec43610c2a17: Pull complete [2024-08-28T04:57:13.145Z] 3a2ae6a8a46f: Pull complete [2024-08-28T04:57:13.404Z] 33b1e0a273af: Pull complete [2024-08-28T04:57:13.404Z] 5d3b04190fa2: Pull complete [2024-08-28T04:57:17.581Z] 2f39f015ded8: Pull complete [2024-08-28T04:57:17.581Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-28T04:57:17.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T04:57:17.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T04:57:17.845Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2024-08-28T04:57:17.870Z] $ 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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-28T04:57:22.648Z] $ docker top 27fe2a04195e980cc5b327f1b81e6f2c7f3f41bc95468b48a1f00c553ae38c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:57:23.110Z] ---> job-cost.sh [2024-08-28T04:57:23.110Z] lf-activate-venv: SKIPPING [2024-08-28T04:57:23.110Z] INFO: No Stack... [2024-08-28T04:57:23.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T04:57:23.629Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T04:57:23.959Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/cost.csv [2024-08-28T04:57:23.960Z] + cut -d, -f6 [Pipeline] lock [2024-08-28T04:57:24.012Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [2024-08-28T04:57:24.020Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] did not exist. Created. [2024-08-28T04:57:24.027Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T04:57:24.453Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-28T04:57:24.515Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T04:57:24.546Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T04:57:24.648Z] $ docker stop --time=1 27fe2a04195e980cc5b327f1b81e6f2c7f3f41bc95468b48a1f00c553ae38c16 [2024-08-28T04:57:25.811Z] $ docker rm -f --volumes 27fe2a04195e980cc5b327f1b81e6f2c7f3f41bc95468b48a1f00c553ae38c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T04:57:28.965Z] provisioning config files... [2024-08-28T04:57:29.027Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10446714765373427759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T04:57:29.555Z] ---> ****-login.sh [2024-08-28T04:57:29.556Z] nexus3.edgexfoundry.org:10001 [2024-08-28T04:57:30.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:30.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:30.145Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:30.145Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:30.145Z] [2024-08-28T04:57:30.145Z] Login Succeeded [2024-08-28T04:57:30.145Z] nexus3.edgexfoundry.org:10002 [2024-08-28T04:57:30.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:30.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:30.757Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:30.757Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:30.757Z] [2024-08-28T04:57:30.757Z] Login Succeeded [2024-08-28T04:57:30.757Z] nexus3.edgexfoundry.org:10003 [2024-08-28T04:57:31.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:31.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:31.042Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:31.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:31.042Z] [2024-08-28T04:57:31.042Z] Login Succeeded [2024-08-28T04:57:31.042Z] nexus3.edgexfoundry.org:10004 [2024-08-28T04:57:31.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:31.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:31.597Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:31.597Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:31.597Z] [2024-08-28T04:57:31.597Z] Login Succeeded [2024-08-28T04:57:31.597Z] ****.io [2024-08-28T04:57:31.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-28T04:57:32.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-28T04:57:32.141Z] Configure a credential helper to remove this warning. See [2024-08-28T04:57:32.141Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-28T04:57:32.141Z] [2024-08-28T04:57:32.141Z] Login Succeeded [2024-08-28T04:57:32.141Z] ---> ****-login.sh ends [Pipeline] } [2024-08-28T04:57:32.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-28T04:57:32.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:57:32.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-28T04:57:32.783Z] ========================================================= [2024-08-28T04:57:32.783Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-28T04:57:32.783Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T04:57:33.357Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-28T04:57:33.998Z] Sending build context to Docker daemon 13.08MB [2024-08-28T04:57:33.998Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T04:57:33.998Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-28T04:57:34.272Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-28T04:57:34.272Z] c6b39de5b339: Pulling fs layer [2024-08-28T04:57:34.272Z] a69c41024577: Pulling fs layer [2024-08-28T04:57:34.272Z] d6de4b400683: Pulling fs layer [2024-08-28T04:57:34.272Z] 35cb2a7552d0: Pulling fs layer [2024-08-28T04:57:34.272Z] 4f4fb700ef54: Pulling fs layer [2024-08-28T04:57:34.272Z] 464afbd9ba4c: Pulling fs layer [2024-08-28T04:57:34.272Z] 00f215d4a9da: Pulling fs layer [2024-08-28T04:57:34.272Z] d496ad576159: Pulling fs layer [2024-08-28T04:57:34.272Z] 35cb2a7552d0: Waiting [2024-08-28T04:57:34.272Z] 464afbd9ba4c: Waiting [2024-08-28T04:57:34.272Z] 4f4fb700ef54: Waiting [2024-08-28T04:57:34.272Z] d496ad576159: Waiting [2024-08-28T04:57:34.272Z] 00f215d4a9da: Waiting [2024-08-28T04:57:34.272Z] a69c41024577: Verifying Checksum [2024-08-28T04:57:34.272Z] a69c41024577: Download complete [2024-08-28T04:57:34.272Z] 35cb2a7552d0: Verifying Checksum [2024-08-28T04:57:34.272Z] 35cb2a7552d0: Download complete [2024-08-28T04:57:34.272Z] 4f4fb700ef54: Verifying Checksum [2024-08-28T04:57:34.272Z] 4f4fb700ef54: Download complete [2024-08-28T04:57:34.272Z] c6b39de5b339: Verifying Checksum [2024-08-28T04:57:34.272Z] c6b39de5b339: Download complete [2024-08-28T04:57:34.272Z] 464afbd9ba4c: Verifying Checksum [2024-08-28T04:57:34.272Z] 464afbd9ba4c: Download complete [2024-08-28T04:57:34.870Z] d496ad576159: Verifying Checksum [2024-08-28T04:57:34.870Z] d496ad576159: Download complete [2024-08-28T04:57:35.473Z] c6b39de5b339: Pull complete [2024-08-28T04:57:36.075Z] a69c41024577: Pull complete [2024-08-28T04:57:36.351Z] d6de4b400683: Verifying Checksum [2024-08-28T04:57:36.351Z] d6de4b400683: Download complete [2024-08-28T04:57:37.784Z] 00f215d4a9da: Verifying Checksum [2024-08-28T04:57:37.784Z] 00f215d4a9da: Download complete [2024-08-28T04:57:50.164Z] d6de4b400683: Pull complete [2024-08-28T04:57:50.164Z] 35cb2a7552d0: Pull complete [2024-08-28T04:57:50.164Z] 4f4fb700ef54: Pull complete [2024-08-28T04:57:50.432Z] 464afbd9ba4c: Pull complete [2024-08-28T04:57:58.667Z] 00f215d4a9da: Pull complete [2024-08-28T04:58:00.652Z] d496ad576159: Pull complete [2024-08-28T04:58:00.652Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-28T04:58:00.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-28T04:58:00.652Z] ---> f246e2811388 [2024-08-28T04:58:00.652Z] Step 3/10 : ARG MAKE=make build [2024-08-28T04:58:01.633Z] ---> Running in 921bc8bd9a13 [2024-08-28T04:58:01.916Z] Removing intermediate container 921bc8bd9a13 [2024-08-28T04:58:02.188Z] ---> 734e5bdf08ba [2024-08-28T04:58:02.188Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-28T04:58:02.188Z] ---> Running in 44caa3de0bfc [2024-08-28T04:58:02.464Z] Removing intermediate container 44caa3de0bfc [2024-08-28T04:58:02.464Z] ---> ea42eaa2f0ce [2024-08-28T04:58:02.464Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T04:58:02.743Z] ---> Running in 648f785f8cdb [2024-08-28T04:58:03.020Z] Removing intermediate container 648f785f8cdb [2024-08-28T04:58:03.020Z] ---> c31cd60ada28 [2024-08-28T04:58:03.020Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-28T04:58:03.291Z] ---> Running in f32d31f44273 [2024-08-28T04:58:05.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T04:58:05.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T04:58:07.329Z] OK: 266 MiB in 52 packages [2024-08-28T04:58:07.928Z] Removing intermediate container f32d31f44273 [2024-08-28T04:58:07.928Z] ---> 74f8d0db50b3 [2024-08-28T04:58:07.928Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-28T04:58:08.518Z] ---> 4bdca6336b45 [2024-08-28T04:58:08.518Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T04:58:08.518Z] ---> Running in ad3b53ba30b9 [2024-08-28T05:00:00.263Z] Removing intermediate container ad3b53ba30b9 [2024-08-28T05:00:00.263Z] ---> 8403e40658a7 [2024-08-28T05:00:00.263Z] Step 9/10 : COPY . . [2024-08-28T05:00:00.263Z] ---> cb3c01aa913c [2024-08-28T05:00:00.263Z] Step 10/10 : RUN ${MAKE} [2024-08-28T05:00:00.263Z] ---> Running in 5fb5e076fb9a [2024-08-28T05:00:00.849Z] noop [2024-08-28T05:00:01.811Z] Removing intermediate container 5fb5e076fb9a [2024-08-28T05:00:01.811Z] ---> f6684275266f [2024-08-28T05:00:01.811Z] Successfully built f6684275266f [2024-08-28T05:00:01.811Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:00:02.340Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T05:00:02.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:00:02.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-8896 does not seem to be running inside a container [2024-08-28T05:00:02.855Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-28T05:00:04.169Z] $ docker top 1c37f54f048c5ccb3c58f522c42c28e338ae9cbaf2feb1e64234a96936343ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:00:08.669Z] + go version [2024-08-28T05:00:08.669Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-28T05:00:08.697Z] $ docker stop --time=1 1c37f54f048c5ccb3c58f522c42c28e338ae9cbaf2feb1e64234a96936343ffe [2024-08-28T05:00:10.540Z] $ docker rm -f --volumes 1c37f54f048c5ccb3c58f522c42c28e338ae9cbaf2feb1e64234a96936343ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:00:18.227Z] + docker inspect -f . ci-base-image-arm64 [2024-08-28T05:00:18.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:00:18.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-8896 does not seem to be running inside a container [2024-08-28T05:00:18.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-28T05:00:20.551Z] $ docker top 3c8a8ead9cbc8245a7f84621f66f682568d2b24fc6c9f32b37b4f0e51b2419f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:00:33.254Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-28T05:00:36.144Z] + make test [2024-08-28T05:00:36.144Z] go test -race -coverprofile=coverage.out ./... [2024-08-28T05:01:26.127Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-28T05:05:17.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-28T05:05:17.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-28T05:05:17.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-28T05:05:17.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-28T05:05:17.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-28T05:05:28.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.122s coverage: 26.0% of statements [2024-08-28T05:05:32.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.191s coverage: 79.4% of statements [2024-08-28T05:05:42.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-28T05:05:42.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-28T05:05:42.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.289s coverage: 86.0% of statements [2024-08-28T05:05:52.938Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-28T05:05:52.938Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.495s coverage: 51.6% of statements [2024-08-28T05:05:55.540Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.188s coverage: 14.4% of statements [2024-08-28T05:05:55.540Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.549s coverage: 44.6% of statements [2024-08-28T05:05:58.466Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-28T05:05:58.466Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-28T05:05:58.466Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-28T05:05:59.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.356s coverage: 68.5% of statements [2024-08-28T05:06:04.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.402s coverage: 89.2% of statements [2024-08-28T05:06:07.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-28T05:06:08.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.284s coverage: 5.3% of statements [2024-08-28T05:06:10.259Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-28T05:06:10.259Z] GO111MODULE=on go vet ./... [2024-08-28T05:10:47.364Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-28T05:10:47.364Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-28T05:10:47.364Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-28T05:10:47.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-28T05:10:47.515Z] $ docker stop --time=1 3c8a8ead9cbc8245a7f84621f66f682568d2b24fc6c9f32b37b4f0e51b2419f2 [2024-08-28T05:10:49.474Z] $ docker rm -f --volumes 3c8a8ead9cbc8245a7f84621f66f682568d2b24fc6c9f32b37b4f0e51b2419f2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-28T05:10:52.000Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-28T05:10:52.044Z] Warning: overwriting stash ‘coverage-report’ [2024-08-28T05:10:52.720Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-28T05:10:53.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-28T05:10:53.728Z] + ls -al . [2024-08-28T05:10:53.728Z] total 376 [2024-08-28T05:10:53.728Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 05:00 . [2024-08-28T05:10:53.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:56 .. [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 04:57 .dockerignore [2024-08-28T05:10:53.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 04:57 .git [2024-08-28T05:10:53.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:57 .github [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 28 04:57 .gitignore [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 28 04:57 .golangci.yml [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 28 04:57 CHANGELOG.md [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 04:57 GOVERNANCE.md [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 28 04:57 Jenkinsfile [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 28 04:57 LICENSE [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 28 04:57 Makefile [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 28 04:57 OWNERS.md [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 28 04:57 README.md [2024-08-28T05:10:53.728Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 04:53 VERSION [2024-08-28T05:10:53.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 04:57 bin [2024-08-28T05:10:53.729Z] -rw-r--r-- 1 jenkins jenkins 126495 Aug 28 05:06 coverage.out [2024-08-28T05:10:53.729Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 28 04:57 example [2024-08-28T05:10:53.729Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 28 04:57 go.mod [2024-08-28T05:10:53.729Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 28 04:57 go.sum [2024-08-28T05:10:53.729Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 28 04:57 internal [2024-08-28T05:10:53.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 04:57 openapi [2024-08-28T05:10:53.729Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 28 04:57 pkg [2024-08-28T05:10:53.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 04:57 snap [2024-08-28T05:10:53.729Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 28 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:10:54.176Z] + 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=fb251068f9fa6c1dd9087c1fad3447c821049b0a --label arch=arm64 --label version=0.0.0 . [2024-08-28T05:10:54.760Z] Sending build context to Docker daemon 13.21MB [2024-08-28T05:10:54.760Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-28T05:10:54.760Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-28T05:10:54.760Z] ---> f6684275266f [2024-08-28T05:10:54.760Z] Step 3/24 : ARG MAKE=make build [2024-08-28T05:10:55.027Z] ---> Running in 353e5de9f63c [2024-08-28T05:10:55.292Z] Removing intermediate container 353e5de9f63c [2024-08-28T05:10:55.292Z] ---> 6abf5c68ad35 [2024-08-28T05:10:55.292Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-28T05:10:55.292Z] ---> Running in e82b0ea3eac6 [2024-08-28T05:10:55.562Z] Removing intermediate container e82b0ea3eac6 [2024-08-28T05:10:55.562Z] ---> 6406e5cca076 [2024-08-28T05:10:55.562Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-28T05:10:55.562Z] ---> Running in 40b10e816736 [2024-08-28T05:10:56.148Z] Removing intermediate container 40b10e816736 [2024-08-28T05:10:56.148Z] ---> 1caa835aabdc [2024-08-28T05:10:56.148Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-28T05:10:56.148Z] ---> Running in cfa1577ff9bd [2024-08-28T05:10:57.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:10:57.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:10:58.329Z] OK: 266 MiB in 52 packages [2024-08-28T05:10:59.296Z] Removing intermediate container cfa1577ff9bd [2024-08-28T05:10:59.296Z] ---> 1bfad1520f50 [2024-08-28T05:10:59.296Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-28T05:10:59.885Z] ---> fcbef80a5ea6 [2024-08-28T05:10:59.885Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-28T05:10:59.885Z] ---> Running in 4f644e44ecdb [2024-08-28T05:11:02.463Z] Removing intermediate container 4f644e44ecdb [2024-08-28T05:11:02.463Z] ---> 9bf973d95de3 [2024-08-28T05:11:02.463Z] Step 9/24 : COPY . . [2024-08-28T05:11:04.405Z] ---> f06f96d1903d [2024-08-28T05:11:04.405Z] Step 10/24 : RUN ${MAKE} [2024-08-28T05:11:04.405Z] ---> Running in 3b81f19632cd [2024-08-28T05:11:05.362Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-28T05:15:12.177Z] Removing intermediate container 3b81f19632cd [2024-08-28T05:15:12.177Z] ---> 375127600d9b [2024-08-28T05:15:12.177Z] Step 11/24 : FROM alpine:3.18 [2024-08-28T05:15:12.177Z] 3.18: Pulling from library/alpine [2024-08-28T05:15:12.177Z] 4983c3fe2029: Pulling fs layer [2024-08-28T05:15:12.177Z] 4983c3fe2029: Download complete [2024-08-28T05:15:12.177Z] 4983c3fe2029: Pull complete [2024-08-28T05:15:12.177Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-28T05:15:12.177Z] Status: Downloaded newer image for alpine:3.18 [2024-08-28T05:15:12.177Z] ---> a0237000ae83 [2024-08-28T05:15:12.177Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-28T05:15:12.177Z] ---> Running in 651e23524ebc [2024-08-28T05:15:12.177Z] Removing intermediate container 651e23524ebc [2024-08-28T05:15:12.177Z] ---> 4281bcbd4dbd [2024-08-28T05:15:12.177Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-28T05:15:12.177Z] ---> Running in 9ef59a828fd0 [2024-08-28T05:15:12.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:15:12.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:15:12.177Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-28T05:15:12.177Z] Executing busybox-1.36.1-r7.trigger [2024-08-28T05:15:12.177Z] OK: 8 MiB in 16 packages [2024-08-28T05:15:12.177Z] Removing intermediate container 9ef59a828fd0 [2024-08-28T05:15:12.177Z] ---> 696c388daa90 [2024-08-28T05:15:12.177Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-28T05:15:12.177Z] ---> Running in ba4b8872be2b [2024-08-28T05:15:12.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-28T05:15:12.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-28T05:15:12.177Z] OK: 8 MiB in 16 packages [2024-08-28T05:15:12.177Z] Removing intermediate container ba4b8872be2b [2024-08-28T05:15:12.177Z] ---> 1dce3b04eea1 [2024-08-28T05:15:12.177Z] Step 15/24 : WORKDIR / [2024-08-28T05:15:12.177Z] ---> Running in 69cb3acc25d2 [2024-08-28T05:15:12.177Z] Removing intermediate container 69cb3acc25d2 [2024-08-28T05:15:12.177Z] ---> eb6eb09fe438 [2024-08-28T05:15:12.177Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-28T05:15:12.177Z] ---> 3ee06dfb09dd [2024-08-28T05:15:12.177Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-28T05:15:13.593Z] ---> 7b4b974588bc [2024-08-28T05:15:13.593Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-28T05:15:14.173Z] ---> 023af7294f71 [2024-08-28T05:15:14.173Z] Step 19/24 : EXPOSE 59999 [2024-08-28T05:15:14.173Z] ---> Running in 1f6ec329bb96 [2024-08-28T05:15:14.438Z] Removing intermediate container 1f6ec329bb96 [2024-08-28T05:15:14.438Z] ---> c7aca6dfe244 [2024-08-28T05:15:14.438Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-28T05:15:14.438Z] ---> Running in a841b5c32e4f [2024-08-28T05:15:14.703Z] Removing intermediate container a841b5c32e4f [2024-08-28T05:15:14.703Z] ---> 5e0fb47e9806 [2024-08-28T05:15:14.703Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-28T05:15:14.971Z] ---> Running in 5830f7b863ff [2024-08-28T05:15:15.237Z] Removing intermediate container 5830f7b863ff [2024-08-28T05:15:15.237Z] ---> bced10303617 [2024-08-28T05:15:15.237Z] Step 22/24 : LABEL arch=arm64 [2024-08-28T05:15:15.237Z] ---> Running in 1188e385e2de [2024-08-28T05:15:15.504Z] Removing intermediate container 1188e385e2de [2024-08-28T05:15:15.504Z] ---> c60876fa20e1 [2024-08-28T05:15:15.504Z] Step 23/24 : LABEL git_sha=fb251068f9fa6c1dd9087c1fad3447c821049b0a [2024-08-28T05:15:15.504Z] ---> Running in e7cff4fe8735 [2024-08-28T05:15:16.083Z] Removing intermediate container e7cff4fe8735 [2024-08-28T05:15:16.083Z] ---> 378bac0e1362 [2024-08-28T05:15:16.083Z] Step 24/24 : LABEL version=0.0.0 [2024-08-28T05:15:16.083Z] ---> Running in db54f848924a [2024-08-28T05:15:16.348Z] Removing intermediate container db54f848924a [2024-08-28T05:15:16.348Z] ---> de527ca0cb11 [2024-08-28T05:15:16.348Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-28T05:15:16.348Z] Successfully built de527ca0cb11 [2024-08-28T05:15:16.348Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:15:17.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:15:17.266Z] [2024-08-28T05:15:17.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:15:17.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:15:17.718Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-28T05:15:17.718Z] 8998bd30e6a1: Pulling fs layer [2024-08-28T05:15:17.718Z] 04944245beec: Pulling fs layer [2024-08-28T05:15:17.718Z] 699f458cf7ca: Pulling fs layer [2024-08-28T05:15:17.718Z] 765212b225bb: Pulling fs layer [2024-08-28T05:15:17.718Z] f23df028b6ca: Pulling fs layer [2024-08-28T05:15:17.718Z] d65c8cfc05b1: Pulling fs layer [2024-08-28T05:15:17.718Z] 2437ff75d9bd: Pulling fs layer [2024-08-28T05:15:17.718Z] d65c8cfc05b1: Waiting [2024-08-28T05:15:17.718Z] 2437ff75d9bd: Waiting [2024-08-28T05:15:17.718Z] 765212b225bb: Waiting [2024-08-28T05:15:17.718Z] f23df028b6ca: Waiting [2024-08-28T05:15:17.987Z] 04944245beec: Verifying Checksum [2024-08-28T05:15:17.987Z] 04944245beec: Download complete [2024-08-28T05:15:17.987Z] 765212b225bb: Verifying Checksum [2024-08-28T05:15:17.987Z] 765212b225bb: Download complete [2024-08-28T05:15:17.987Z] f23df028b6ca: Download complete [2024-08-28T05:15:17.987Z] d65c8cfc05b1: Verifying Checksum [2024-08-28T05:15:17.987Z] d65c8cfc05b1: Download complete [2024-08-28T05:15:18.255Z] 699f458cf7ca: Verifying Checksum [2024-08-28T05:15:18.255Z] 699f458cf7ca: Download complete [2024-08-28T05:15:18.529Z] 8998bd30e6a1: Verifying Checksum [2024-08-28T05:15:18.529Z] 8998bd30e6a1: Download complete [2024-08-28T05:15:21.110Z] 2437ff75d9bd: Verifying Checksum [2024-08-28T05:15:21.110Z] 2437ff75d9bd: Download complete [2024-08-28T05:15:23.047Z] 8998bd30e6a1: Pull complete [2024-08-28T05:15:23.628Z] 04944245beec: Pull complete [2024-08-28T05:15:25.567Z] 699f458cf7ca: Pull complete [2024-08-28T05:15:25.567Z] 765212b225bb: Pull complete [2024-08-28T05:15:26.528Z] f23df028b6ca: Pull complete [2024-08-28T05:15:26.528Z] d65c8cfc05b1: Pull complete [2024-08-28T05:15:44.728Z] 2437ff75d9bd: Pull complete [2024-08-28T05:15:44.728Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-28T05:15:44.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-28T05:15:44.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:15:45.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-8896 does not seem to be running inside a container [2024-08-28T05:15:45.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-28T05:15:48.160Z] $ docker top abfbffc1b7579ad19685b92ad8eb2bf9ac6baab19e22092c69af419e10a6b8d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:49.120Z] ---> job-cost.sh [2024-08-28T05:15:49.120Z] lf-activate-venv: SKIPPING [2024-08-28T05:15:49.120Z] INFO: No Stack... [2024-08-28T05:15:49.702Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-28T05:15:50.285Z] INFO: Archiving Costs [Pipeline] sh [2024-08-28T05:15:50.950Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2024-08-28T05:15:50.950Z] [Pipeline] lock [2024-08-28T05:15:51.039Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [2024-08-28T05:15:51.044Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] did not exist. Created. [2024-08-28T05:15:51.051Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-28T05:15:51.895Z] /w/workspace/device-sdk-go/1@tmp/durable-45012bcb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-28T05:15:52.665Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-28T05:15:52.712Z] Warning: overwriting stash ‘stack-cost’ [2024-08-28T05:15:52.792Z] Stashed 1 file(s) [Pipeline] } [2024-08-28T05:15:52.813Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1619-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-28T05:15:52.905Z] $ docker stop --time=1 abfbffc1b7579ad19685b92ad8eb2bf9ac6baab19e22092c69af419e10a6b8d3 [2024-08-28T05:15:54.420Z] $ docker rm -f --volumes abfbffc1b7579ad19685b92ad8eb2bf9ac6baab19e22092c69af419e10a6b8d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-28T05:15:55.570Z] provisioning config files... [2024-08-28T05:15:55.578Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config97390845453505124tmp [Pipeline] { [Pipeline] sh [2024-08-28T05:15:55.924Z] + set +x [2024-08-28T05:15:55.924Z] + bash -s -- [2024-08-28T05:15:55.924Z] + curl -s https://codecov.io/bash [2024-08-28T05:15:55.924Z] [2024-08-28T05:15:55.924Z] _____ _ [2024-08-28T05:15:55.924Z] / ____| | | [2024-08-28T05:15:55.924Z] | | ___ __| | ___ ___ _____ __ [2024-08-28T05:15:55.924Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-28T05:15:55.924Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-28T05:15:55.924Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-28T05:15:55.924Z] Bash-1.0.6 [2024-08-28T05:15:55.924Z] [2024-08-28T05:15:55.924Z] [2024-08-28T05:15:55.924Z] ==> git version 2.25.1 found [2024-08-28T05:15:55.924Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-28T05:15:55.924Z] Release-Date: 2020-01-08 [2024-08-28T05:15:55.924Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-28T05:15:55.924Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-28T05:15:55.924Z] ==> Jenkins CI detected. [2024-08-28T05:15:55.924Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1619 [2024-08-28T05:15:55.924Z] project root: . [2024-08-28T05:15:55.924Z] --> token set from env [2024-08-28T05:15:55.924Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-28T05:15:55.925Z] ==> Running gcov in . (disable via -X gcov) [2024-08-28T05:15:55.925Z] ==> Python coveragepy not found [2024-08-28T05:15:55.925Z] ==> Searching for coverage reports in: [2024-08-28T05:15:55.925Z] + . [2024-08-28T05:15:55.925Z] -> Found 1 reports [2024-08-28T05:15:55.925Z] ==> Detecting git/mercurial file structure [2024-08-28T05:15:55.925Z] ==> Reading reports [2024-08-28T05:15:55.925Z] + ./coverage.out bytes=126495 [2024-08-28T05:15:55.925Z] ==> Appending adjustments [2024-08-28T05:15:55.925Z] https://docs.codecov.io/docs/fixing-reports [2024-08-28T05:15:56.491Z] + Found adjustments [2024-08-28T05:15:56.492Z] ==> Gzipping contents [2024-08-28T05:15:56.492Z] 20K /tmp/codecov.asuSMh.gz [2024-08-28T05:15:56.492Z] ==> Uploading reports [2024-08-28T05:15:56.492Z] url: https://codecov.io [2024-08-28T05:15:56.492Z] query: branch=PR-1619&commit=fb251068f9fa6c1dd9087c1fad3447c821049b0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1619%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1619&job=&cmd_args= [2024-08-28T05:15:56.492Z] -> Pinging Codecov [2024-08-28T05:15:56.492Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1619&commit=fb251068f9fa6c1dd9087c1fad3447c821049b0a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1619%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1619&job=&cmd_args= [2024-08-28T05:15:56.492Z] -> Uploading to [2024-08-28T05:15:56.492Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-28/7E55EF52A471D76F132DFD9A03CDDE97/fb251068f9fa6c1dd9087c1fad3447c821049b0a/f711ecfd-295c-44cd-b3a0-657cc5fecf30.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T051556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b2f7db41a94088c0b146948ae824847e104458a977bcb223cedd2f1cedf676b [2024-08-28T05:15:56.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-28T05:15:56.492Z] Dload Upload Total Spent Left Speed [2024-08-28T05:15:56.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17475 0 0 100 17475 0 86083 --:--:-- --:--:-- --:--:-- 85661 100 17475 0 0 100 17475 0 71036 --:--:-- --:--:-- --:--:-- 71036 [2024-08-28T05:15:56.752Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fb251068f9fa6c1dd9087c1fad3447c821049b0a [Pipeline] } [2024-08-28T05:15:56.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-28T05:15:59.024Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives ] [2024-08-28T05:15:59.024Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-08-28T05:15:59.024Z] total 16 [2024-08-28T05:15:59.024Z] drwxr-xr-x 3 root root 4096 Aug 28 04:57 . [2024-08-28T05:15:59.024Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:57 .. [2024-08-28T05:15:59.024Z] drwxr-xr-x 2 root root 4096 Aug 28 04:57 cost [2024-08-28T05:15:59.024Z] -rw-r--r-- 1 root root 86 Aug 28 04:57 cost.csv [2024-08-28T05:15:59.024Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-08-28T05:15:59.024Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives [2024-08-28T05:15:59.024Z] total 16 [2024-08-28T05:15:59.024Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 04:57 . [2024-08-28T05:15:59.024Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 28 04:57 .. [2024-08-28T05:15:59.024Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 04:57 cost [2024-08-28T05:15:59.024Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 28 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:15:59.360Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:00.331Z] ---> package-listing.sh [2024-08-28T05:16:00.332Z] ++ facter osfamily [2024-08-28T05:16:00.332Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-28T05:16:00.332Z] + OS_FAMILY=debian [2024-08-28T05:16:00.332Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1619 [2024-08-28T05:16:00.332Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-28T05:16:00.332Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-28T05:16:00.332Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-28T05:16:00.332Z] + PACKAGES=/tmp/packages_start.txt [2024-08-28T05:16:00.332Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1619 ']' [2024-08-28T05:16:00.332Z] + PACKAGES=/tmp/packages_end.txt [2024-08-28T05:16:00.332Z] + case "${OS_FAMILY}" in [2024-08-28T05:16:00.332Z] + dpkg -l [2024-08-28T05:16:00.332Z] + grep '^ii' [2024-08-28T05:16:00.332Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-28T05:16:00.332Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-28T05:16:00.332Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-28T05:16:00.332Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1619 ']' [2024-08-28T05:16:00.332Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/ [2024-08-28T05:16:00.332Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1619/archives/ [Pipeline] echo [2024-08-28T05:16:00.381Z] 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-1619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-28T05:16:00.732Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-28T05:16:01.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-28T05:16:01.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-28T05:16:01.324Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2024-08-28T05:16:01.345Z] $ 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-1619/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-1619 -v /w/workspace/gexfoundry_device-sdk-go_PR-1619:/w/workspace/gexfoundry_device-sdk-go_PR-1619:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-28T05:16:01.530Z] $ docker top 667e077efb719c1e0b3945ce40341330d176ae0e2f8ef314e272eee6733c0c22 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-28T05:16:01.945Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-28T05:16:02.260Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-28T05:16:02.582Z] + ls /var/log/sa-host [2024-08-28T05:16:02.582Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-28T05:16:02.731Z] provisioning config files... [2024-08-28T05:16:02.742Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1619@tmp/config7196885869126414878tmp [Pipeline] { [Pipeline] echo [2024-08-28T05:16:02.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:03.135Z] ---> create-netrc.sh [Pipeline] } [2024-08-28T05:16:03.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:03.576Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-28T05:16:03.619Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:03.970Z] ---> sudo-logs.sh [2024-08-28T05:16:03.970Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-28T05:16:04.071Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:04.392Z] ---> job-cost.sh [2024-08-28T05:16:04.392Z] lf-activate-venv: SKIPPING [2024-08-28T05:16:04.392Z] DEBUG: total: 0.2199999988079071 [2024-08-28T05:16:04.392Z] INFO: Retrieving Stack Cost... [2024-08-28T05:16:04.651Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-28T05:16:04.910Z] INFO: Archiving Costs [Pipeline] echo [2024-08-28T05:16:04.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-28T05:16:05.279Z] ---> logs-deploy.sh [2024-08-28T05:16:05.279Z] lf-activate-venv: SKIPPING [2024-08-28T05:16:05.279Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1619/1 [2024-08-28T05:16:05.279Z] INFO: archiving workspace using pattern(s): [2024-08-28T05:16:06.217Z] Archives upload complete. [2024-08-28T05:16:06.217Z] INFO: archiving logs to Nexus [2024-08-28T05:16:06.784Z] ---> uname -a: [2024-08-28T05:16:06.784Z] Linux prd-ubuntu20-04-docker-8c-8g-8891 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-08-28T05:16:06.784Z] [2024-08-28T05:16:06.784Z] [2024-08-28T05:16:06.784Z] ---> lscpu: [2024-08-28T05:16:06.784Z] Architecture: x86_64 [2024-08-28T05:16:06.784Z] CPU op-mode(s): 32-bit, 64-bit [2024-08-28T05:16:06.784Z] Byte Order: Little Endian [2024-08-28T05:16:06.784Z] Address sizes: 40 bits physical, 48 bits virtual [2024-08-28T05:16:06.784Z] CPU(s): 8 [2024-08-28T05:16:06.784Z] On-line CPU(s) list: 0-7 [2024-08-28T05:16:06.784Z] Thread(s) per core: 1 [2024-08-28T05:16:06.784Z] Core(s) per socket: 1 [2024-08-28T05:16:06.784Z] Socket(s): 8 [2024-08-28T05:16:06.784Z] NUMA node(s): 1 [2024-08-28T05:16:06.784Z] Vendor ID: AuthenticAMD [2024-08-28T05:16:06.784Z] CPU family: 23 [2024-08-28T05:16:06.784Z] Model: 49 [2024-08-28T05:16:06.784Z] Model name: AMD EPYC-Rome Processor [2024-08-28T05:16:06.784Z] Stepping: 0 [2024-08-28T05:16:06.784Z] CPU MHz: 2800.000 [2024-08-28T05:16:06.784Z] BogoMIPS: 5600.00 [2024-08-28T05:16:06.784Z] Virtualization: AMD-V [2024-08-28T05:16:06.784Z] Hypervisor vendor: KVM [2024-08-28T05:16:06.784Z] Virtualization type: full [2024-08-28T05:16:06.784Z] L1d cache: 256 KiB [2024-08-28T05:16:06.784Z] L1i cache: 256 KiB [2024-08-28T05:16:06.784Z] L2 cache: 4 MiB [2024-08-28T05:16:06.784Z] L3 cache: 128 MiB [2024-08-28T05:16:06.784Z] NUMA node0 CPU(s): 0-7 [2024-08-28T05:16:06.784Z] Vulnerability Itlb multihit: Not affected [2024-08-28T05:16:06.784Z] Vulnerability L1tf: Not affected [2024-08-28T05:16:06.784Z] Vulnerability Mds: Not affected [2024-08-28T05:16:06.784Z] Vulnerability Meltdown: Not affected [2024-08-28T05:16:06.784Z] Vulnerability Mmio stale data: Not affected [2024-08-28T05:16:06.784Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-08-28T05:16:06.784Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-08-28T05:16:06.784Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-08-28T05:16:06.784Z] Vulnerability Srbds: Not affected [2024-08-28T05:16:06.784Z] Vulnerability Tsx async abort: Not affected [2024-08-28T05:16:06.784Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-08-28T05:16:06.784Z] [2024-08-28T05:16:06.784Z]