Pull request #1629 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f+0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd (66f34d36637081eae010f01f673445e966c7c0a7) 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-ssh5162131127118884034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4938780807918673707.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-1629/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-1629/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh658467409868552685.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-1629/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6420305003484447782.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh3406842606734295366.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-1629/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-1629/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8536238404990599967.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-12545’ Running on prd-ubuntu20.04-docker-8c-8g-12550 in /w/workspace/gexfoundry_device-sdk-go_PR-1629 [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-1629 # 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/1629/head:refs/remotes/origin/PR-1629 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f Merge succeeded, producing 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f Checking out Revision 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f (PR-1629) > git config core.sparsecheckout # timeout=10 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # 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 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 Commit message: "fix: Change status code to 400 for write commands with invalid values" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-02T01:29:06.376Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-02T01:29:06.601Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-02T01:29:06.723Z] ========================================================= [2024-10-02T01:29:06.723Z] EdgeX Global Pipelines Version Info [2024-10-02T01:29:06.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:29:07.504Z] ------------------- [2024-10-02T01:29:07.504Z] stable info: [2024-10-02T01:29:07.504Z] ------------------- [2024-10-02T01:29:07.504Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T01:29:07.504Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T01:29:07.504Z] Message: update stable to v1.0.264 [2024-10-02T01:29:08.076Z] ------------------- [2024-10-02T01:29:08.076Z] experimental info: [2024-10-02T01:29:08.076Z] ------------------- [2024-10-02T01:29:08.076Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-02T01:29:08.076Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-02T01:29:08.076Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-02T01:29:08.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-02T01:29:08.388Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-02T01:29:08.449Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-02T01:29:08.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-02T01:29:08.576Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-02T01:29:08.643Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-02T01:29:08.702Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-02T01:29:08.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-02T01:29:08.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-02T01:29:08.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-02T01:29:08.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-02T01:29:09.053Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-02T01:29:09.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-02T01:29:09.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-02T01:29:09.222Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-02T01:29:09.277Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T01:29:09.335Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T01:29:09.394Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-02T01:29:09.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-02T01:29:09.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-02T01:29:09.586Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-02T01:29:09.645Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-02T01:29:09.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-02T01:29:09.770Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-02T01:29:09.831Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-02T01:29:09.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-02T01:29:09.947Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-02T01:29:10.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1629 [Pipeline] echo [2024-10-02T01:29:10.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1629 [Pipeline] echo [2024-10-02T01:29:10.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1629 [Pipeline] echo [2024-10-02T01:29:10.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo [2024-10-02T01:29:10.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44ddd41 [Pipeline] echo [2024-10-02T01:29:10.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T01:29:10.480Z] provisioning config files... [2024-10-02T01:29:10.497Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config8535011342836333440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:29:10.887Z] ---> ****-login.sh [2024-10-02T01:29:10.887Z] nexus3.edgexfoundry.org:10001 [2024-10-02T01:29:10.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:11.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:11.150Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:11.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:11.150Z] [2024-10-02T01:29:11.150Z] Login Succeeded [2024-10-02T01:29:11.150Z] nexus3.edgexfoundry.org:10002 [2024-10-02T01:29:11.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:11.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:11.150Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:11.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:11.150Z] [2024-10-02T01:29:11.150Z] Login Succeeded [2024-10-02T01:29:11.150Z] nexus3.edgexfoundry.org:10003 [2024-10-02T01:29:11.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:11.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:11.410Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:11.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:11.410Z] [2024-10-02T01:29:11.410Z] Login Succeeded [2024-10-02T01:29:11.410Z] nexus3.edgexfoundry.org:10004 [2024-10-02T01:29:11.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:11.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:11.410Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:11.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:11.410Z] [2024-10-02T01:29:11.410Z] Login Succeeded [2024-10-02T01:29:11.410Z] ****.io [2024-10-02T01:29:11.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:11.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:11.670Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:11.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:11.671Z] [2024-10-02T01:29:11.671Z] Login Succeeded [2024-10-02T01:29:11.671Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T01:29:11.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-02T01:29:12.411Z] + git rev-list -1 --merges 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f~1..44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo [2024-10-02T01:29:12.457Z] -----------> git rev-list -1 --merges 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f~1..44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [false] [Pipeline] sh [2024-10-02T01:29:12.778Z] + git log --format=format:%s -1 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo [2024-10-02T01:29:12.825Z] ========================================================= [2024-10-02T01:29:12.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-02T01:29:12.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T01:29:13.312Z] + git log --format=format:%s -1 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo [2024-10-02T01:29:13.349Z] [semverPrep] GIT_COMMIT: 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f, Commit Message: fix: Change status code to 400 for write commands with invalid values [Pipeline] echo [2024-10-02T01:29:13.394Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-02T01:29:13.833Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-02T01:29:13.833Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-02T01:29:13.833Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-02T01:29:13.833Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-02T01:29:13.833Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-02T01:29:13.833Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-02T01:29:13.833Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:29:14.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T01:29:14.378Z] [2024-10-02T01:29:14.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:29:14.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T01:29:14.789Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-02T01:29:14.789Z] b85a868b505f: Pulling fs layer [2024-10-02T01:29:14.789Z] e2be974225ed: Pulling fs layer [2024-10-02T01:29:14.789Z] 339a4e72a1f5: Pulling fs layer [2024-10-02T01:29:14.789Z] 988bab9f4d93: Pulling fs layer [2024-10-02T01:29:14.789Z] 1469e6f7b9e6: Pulling fs layer [2024-10-02T01:29:14.789Z] eaf3925da568: Pulling fs layer [2024-10-02T01:29:14.789Z] bab4dde63d76: Pulling fs layer [2024-10-02T01:29:14.789Z] bde34c3a00c8: Pulling fs layer [2024-10-02T01:29:14.789Z] b352a97aabf1: Pulling fs layer [2024-10-02T01:29:14.789Z] 4872d77fe225: Pulling fs layer [2024-10-02T01:29:14.789Z] 5851b861e8e6: Pulling fs layer [2024-10-02T01:29:14.789Z] 988bab9f4d93: Waiting [2024-10-02T01:29:14.789Z] eaf3925da568: Waiting [2024-10-02T01:29:14.789Z] bab4dde63d76: Waiting [2024-10-02T01:29:14.789Z] bde34c3a00c8: Waiting [2024-10-02T01:29:14.789Z] 4872d77fe225: Waiting [2024-10-02T01:29:14.789Z] 5851b861e8e6: Waiting [2024-10-02T01:29:14.789Z] 1469e6f7b9e6: Waiting [2024-10-02T01:29:14.789Z] b352a97aabf1: Waiting [2024-10-02T01:29:14.789Z] e2be974225ed: Verifying Checksum [2024-10-02T01:29:14.789Z] e2be974225ed: Download complete [2024-10-02T01:29:14.789Z] 988bab9f4d93: Verifying Checksum [2024-10-02T01:29:14.789Z] 988bab9f4d93: Download complete [2024-10-02T01:29:14.789Z] 1469e6f7b9e6: Verifying Checksum [2024-10-02T01:29:14.789Z] 1469e6f7b9e6: Download complete [2024-10-02T01:29:15.048Z] eaf3925da568: Verifying Checksum [2024-10-02T01:29:15.048Z] eaf3925da568: Download complete [2024-10-02T01:29:15.048Z] 339a4e72a1f5: Verifying Checksum [2024-10-02T01:29:15.048Z] 339a4e72a1f5: Download complete [2024-10-02T01:29:15.048Z] bde34c3a00c8: Download complete [2024-10-02T01:29:15.048Z] b352a97aabf1: Verifying Checksum [2024-10-02T01:29:15.048Z] b352a97aabf1: Download complete [2024-10-02T01:29:15.048Z] 4872d77fe225: Verifying Checksum [2024-10-02T01:29:15.048Z] 4872d77fe225: Download complete [2024-10-02T01:29:15.048Z] 5851b861e8e6: Download complete [2024-10-02T01:29:15.048Z] b85a868b505f: Verifying Checksum [2024-10-02T01:29:15.048Z] b85a868b505f: Download complete [2024-10-02T01:29:15.308Z] bab4dde63d76: Verifying Checksum [2024-10-02T01:29:15.308Z] bab4dde63d76: Download complete [2024-10-02T01:29:16.244Z] b85a868b505f: Pull complete [2024-10-02T01:29:16.503Z] e2be974225ed: Pull complete [2024-10-02T01:29:17.074Z] 339a4e72a1f5: Pull complete [2024-10-02T01:29:17.074Z] 988bab9f4d93: Pull complete [2024-10-02T01:29:17.335Z] 1469e6f7b9e6: Pull complete [2024-10-02T01:29:17.335Z] eaf3925da568: Pull complete [2024-10-02T01:29:19.257Z] bab4dde63d76: Pull complete [2024-10-02T01:29:19.257Z] bde34c3a00c8: Pull complete [2024-10-02T01:29:19.520Z] b352a97aabf1: Pull complete [2024-10-02T01:29:19.520Z] 4872d77fe225: Pull complete [2024-10-02T01:29:19.791Z] 5851b861e8e6: Pull complete [2024-10-02T01:29:19.791Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-02T01:29:19.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-02T01:29:19.791Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:29:20.097Z] prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container [2024-10-02T01:29:20.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@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-devops/py-git-semver:0.1.4 cat [2024-10-02T01:29:25.320Z] $ docker top 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b -eo pid,comm [2024-10-02T01:29:25.378Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-02T01:29:25.378Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-02T01:29:25.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T01:29:25.544Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T01:29:25.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T01:29:25.665Z] $ docker exec 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent [2024-10-02T01:29:26.191Z] SSH_AUTH_SOCK=/tmp/ssh-fKUWii96M7PF/agent.31 [2024-10-02T01:29:26.191Z] SSH_AGENT_PID=37 [2024-10-02T01:29:26.197Z] Running ssh-add (command line suppressed) [2024-10-02T01:29:26.294Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_5072539910652618535.key (/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_5072539910652618535.key) [2024-10-02T01:29:31.614Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T01:29:31.976Z] + git tag --points-at HEAD [Pipeline] } [2024-10-02T01:29:32.007Z] $ docker exec --env ******** --env ******** 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent -k [2024-10-02T01:29:32.103Z] unset SSH_AUTH_SOCK; [2024-10-02T01:29:32.103Z] unset SSH_AGENT_PID; [2024-10-02T01:29:32.104Z] echo Agent pid 37 killed; [2024-10-02T01:29:32.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-02T01:29:32.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-02T01:29:32.231Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-02T01:29:32.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-02T01:29:32.344Z] $ docker exec 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent [2024-10-02T01:29:32.467Z] SSH_AUTH_SOCK=/tmp/ssh-Zq2poi06ppus/agent.70 [2024-10-02T01:29:32.467Z] SSH_AGENT_PID=76 [2024-10-02T01:29:32.471Z] Running ssh-add (command line suppressed) [2024-10-02T01:29:32.585Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_7490048837264592175.key (/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_7490048837264592175.key) [2024-10-02T01:29:32.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-02T01:29:32.945Z] + git semver init [2024-10-02T01:29:33.205Z] 2024-10-02 01:29:33,135 [run_init] DEBUG init version:0.0.0 force:False [2024-10-02T01:29:33.205Z] 2024-10-02 01:29:33,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver [2024-10-02T01:29:33.205Z] 2024-10-02 01:29:33,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver [2024-10-02T01:29:33.205Z] 2024-10-02 01:29:33,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629, universal_newlines=False, shell=None, istream=None) [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,297 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.git/info/exclude [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 with force:False [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,298 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,302 [execute] INFO git cat-file --batch-check [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,309 [execute] INFO git cat-file --batch [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver, universal_newlines=False, shell=None, istream=) [2024-10-02T01:29:35.751Z] 2024-10-02 01:29:35,316 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 [2024-10-02T01:29:35.751Z] 0.0.0 [Pipeline] } [2024-10-02T01:29:35.782Z] $ docker exec --env ******** --env ******** 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent -k [2024-10-02T01:29:35.880Z] unset SSH_AUTH_SOCK; [2024-10-02T01:29:35.881Z] unset SSH_AGENT_PID; [2024-10-02T01:29:35.881Z] echo Agent pid 76 killed; [2024-10-02T01:29:35.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-02T01:29:36.364Z] + git semver [Pipeline] } [2024-10-02T01:29:36.655Z] $ docker stop --time=1 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b [2024-10-02T01:29:37.940Z] $ docker rm -f --volumes 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T01:29:38.375Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-02T01:29:38.699Z] Stashed 1 file(s) [Pipeline] echo [2024-10-02T01:29:38.725Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T01:29:39.453Z] provisioning config files... [2024-10-02T01:29:39.463Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config14019753628082482512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:29:39.832Z] ---> ****-login.sh [2024-10-02T01:29:39.832Z] nexus3.edgexfoundry.org:10001 [2024-10-02T01:29:39.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:39.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:39.832Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:39.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:39.832Z] [2024-10-02T01:29:39.832Z] Login Succeeded [2024-10-02T01:29:39.832Z] nexus3.edgexfoundry.org:10002 [2024-10-02T01:29:39.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:39.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:39.832Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:39.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:39.832Z] [2024-10-02T01:29:39.832Z] Login Succeeded [2024-10-02T01:29:39.832Z] nexus3.edgexfoundry.org:10003 [2024-10-02T01:29:40.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:40.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:40.093Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:40.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:40.093Z] [2024-10-02T01:29:40.093Z] Login Succeeded [2024-10-02T01:29:40.093Z] nexus3.edgexfoundry.org:10004 [2024-10-02T01:29:40.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:40.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:40.093Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:40.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:40.093Z] [2024-10-02T01:29:40.093Z] Login Succeeded [2024-10-02T01:29:40.093Z] ****.io [2024-10-02T01:29:40.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:29:40.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:29:40.353Z] Configure a credential helper to remove this warning. See [2024-10-02T01:29:40.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:29:40.353Z] [2024-10-02T01:29:40.353Z] Login Succeeded [2024-10-02T01:29:40.353Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T01:29:40.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T01:29:40.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T01:29:40.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T01:29:40.733Z] ========================================================= [2024-10-02T01:29:40.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-02T01:29:40.733Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:29:41.261Z] + 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-10-02T01:29:41.261Z] Sending build context to Docker daemon 25.32MB [2024-10-02T01:29:41.261Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T01:29:41.261Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-02T01:29:41.524Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-02T01:29:41.524Z] 619be1103602: Pulling fs layer [2024-10-02T01:29:41.524Z] 7862e08f4a3e: Pulling fs layer [2024-10-02T01:29:41.524Z] 5df492c9dc93: Pulling fs layer [2024-10-02T01:29:41.524Z] 7629e6793208: Pulling fs layer [2024-10-02T01:29:41.524Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T01:29:41.524Z] fb5054dd5b73: Pulling fs layer [2024-10-02T01:29:41.524Z] eeca6798cff9: Pulling fs layer [2024-10-02T01:29:41.524Z] aa269ceb94a6: Pulling fs layer [2024-10-02T01:29:41.524Z] ada007ff1a6a: Pulling fs layer [2024-10-02T01:29:41.524Z] 4f4fb700ef54: Waiting [2024-10-02T01:29:41.524Z] fb5054dd5b73: Waiting [2024-10-02T01:29:41.524Z] eeca6798cff9: Waiting [2024-10-02T01:29:41.524Z] ada007ff1a6a: Waiting [2024-10-02T01:29:41.524Z] 7629e6793208: Waiting [2024-10-02T01:29:41.524Z] aa269ceb94a6: Waiting [2024-10-02T01:29:41.524Z] 7862e08f4a3e: Verifying Checksum [2024-10-02T01:29:41.524Z] 7862e08f4a3e: Download complete [2024-10-02T01:29:41.524Z] 7629e6793208: Verifying Checksum [2024-10-02T01:29:41.524Z] 7629e6793208: Download complete [2024-10-02T01:29:41.524Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T01:29:41.524Z] 4f4fb700ef54: Download complete [2024-10-02T01:29:41.524Z] fb5054dd5b73: Verifying Checksum [2024-10-02T01:29:41.524Z] fb5054dd5b73: Download complete [2024-10-02T01:29:41.524Z] 619be1103602: Download complete [2024-10-02T01:29:41.524Z] eeca6798cff9: Verifying Checksum [2024-10-02T01:29:41.524Z] eeca6798cff9: Download complete [2024-10-02T01:29:41.784Z] 619be1103602: Pull complete [2024-10-02T01:29:41.784Z] 7862e08f4a3e: Pull complete [2024-10-02T01:29:42.044Z] ada007ff1a6a: Verifying Checksum [2024-10-02T01:29:42.044Z] ada007ff1a6a: Download complete [2024-10-02T01:29:42.303Z] 5df492c9dc93: Verifying Checksum [2024-10-02T01:29:42.303Z] 5df492c9dc93: Download complete [2024-10-02T01:29:42.561Z] aa269ceb94a6: Download complete [2024-10-02T01:29:45.850Z] 5df492c9dc93: Pull complete [2024-10-02T01:29:45.850Z] 7629e6793208: Pull complete [2024-10-02T01:29:45.850Z] 4f4fb700ef54: Pull complete [2024-10-02T01:29:45.850Z] fb5054dd5b73: Pull complete [2024-10-02T01:29:46.109Z] eeca6798cff9: Pull complete [2024-10-02T01:29:48.654Z] aa269ceb94a6: Pull complete [2024-10-02T01:29:49.224Z] ada007ff1a6a: Pull complete [2024-10-02T01:29:49.224Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-02T01:29:49.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-02T01:29:49.224Z] ---> f489d0715acc [2024-10-02T01:29:49.224Z] Step 3/10 : ARG MAKE=make build [2024-10-02T01:29:54.237Z] Still waiting to schedule task [2024-10-02T01:29:54.238Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-12546’ is offline [2024-10-02T01:29:55.882Z] ---> Running in ed62d7feebc3 [2024-10-02T01:29:55.882Z] Removing intermediate container ed62d7feebc3 [2024-10-02T01:29:55.882Z] ---> d33a81a1063e [2024-10-02T01:29:55.882Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-02T01:29:55.882Z] ---> Running in 867d069d3dab [2024-10-02T01:29:56.141Z] Removing intermediate container 867d069d3dab [2024-10-02T01:29:56.141Z] ---> 9e24ac5bb678 [2024-10-02T01:29:56.141Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T01:29:56.141Z] ---> Running in 869ae7f29b73 [2024-10-02T01:29:56.141Z] Removing intermediate container 869ae7f29b73 [2024-10-02T01:29:56.141Z] ---> 32c982de6704 [2024-10-02T01:29:56.141Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-02T01:29:56.142Z] ---> Running in 12048c9c4209 [2024-10-02T01:29:56.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T01:29:56.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T01:29:56.923Z] OK: 264 MiB in 52 packages [2024-10-02T01:29:57.183Z] Removing intermediate container 12048c9c4209 [2024-10-02T01:29:57.183Z] ---> 271a2d7dd8b4 [2024-10-02T01:29:57.183Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-02T01:29:57.442Z] ---> 9909586fc3c2 [2024-10-02T01:29:57.442Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T01:29:57.442Z] ---> Running in f31783903f0f [2024-10-02T01:30:53.951Z] Removing intermediate container f31783903f0f [2024-10-02T01:30:53.951Z] ---> 7d410b384c19 [2024-10-02T01:30:53.951Z] Step 9/10 : COPY . . [2024-10-02T01:30:54.888Z] ---> c97735add4cd [2024-10-02T01:30:54.888Z] Step 10/10 : RUN ${MAKE} [2024-10-02T01:30:54.888Z] ---> Running in 7282a783f2e4 [2024-10-02T01:30:54.888Z] noop [2024-10-02T01:30:55.146Z] Removing intermediate container 7282a783f2e4 [2024-10-02T01:30:55.146Z] ---> 191fa4b59765 [2024-10-02T01:30:55.146Z] Successfully built 191fa4b59765 [2024-10-02T01:30:55.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:30:55.630Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T01:30:55.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:30:55.815Z] prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container [2024-10-02T01:30:55.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-02T01:30:56.206Z] $ docker top 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T01:30:56.622Z] + go version [2024-10-02T01:30:56.622Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-02T01:30:56.660Z] $ docker stop --time=1 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 [2024-10-02T01:30:57.943Z] $ docker rm -f --volumes 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:30:58.777Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-02T01:30:58.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:30:58.972Z] prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container [2024-10-02T01:30:59.009Z] $ 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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-02T01:30:59.346Z] $ docker top a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T01:30:59.761Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1629 [Pipeline] fileExists [Pipeline] sh [2024-10-02T01:31:00.267Z] + make test [2024-10-02T01:31:00.267Z] go test -race -coverprofile=coverage.out ./... [2024-10-02T01:31:06.832Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-02T01:31:33.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-02T01:31:33.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements [2024-10-02T01:31:33.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements [2024-10-02T01:31:33.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements [2024-10-02T01:31:33.644Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-02T01:31:34.212Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-02T01:31:34.212Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-02T01:31:34.212Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-02T01:31:34.783Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 45.2% of statements [2024-10-02T01:31:36.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-02T01:31:38.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.036s coverage: 14.1% of statements [2024-10-02T01:31:38.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.369s coverage: 44.6% of statements [2024-10-02T01:31:38.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements [2024-10-02T01:31:38.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements [2024-10-02T01:31:38.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.056s coverage: 5.3% of statements [2024-10-02T01:32:10.138Z] GO111MODULE=on go vet ./... [2024-10-02T01:32:12.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T01:32:12.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T01:32:12.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-02T01:32:12.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T01:32:12.760Z] $ docker stop --time=1 a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa [2024-10-02T01:32:19.664Z] $ docker rm -f --volumes a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T01:32:20.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T01:32:20.480Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-02T01:32:21.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T01:32:21.526Z] + ls -al . [2024-10-02T01:32:21.526Z] total 384 [2024-10-02T01:32:21.526Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 01:31 . [2024-10-02T01:32:21.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:28 .. [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:29 .dockerignore [2024-10-02T01:32:21.526Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:31 .git [2024-10-02T01:32:21.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:29 .github [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 01:29 .gitignore [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 01:29 .golangci.yml [2024-10-02T01:32:21.526Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:29 .semver [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 01:29 CHANGELOG.md [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:29 GOVERNANCE.md [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 01:29 Jenkinsfile [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 01:29 LICENSE [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 01:29 Makefile [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 01:29 OWNERS.md [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 01:29 README.md [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:29 VERSION [2024-10-02T01:32:21.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:29 bin [2024-10-02T01:32:21.526Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 01:31 coverage.out [2024-10-02T01:32:21.526Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 01:29 example [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 01:29 go.mod [2024-10-02T01:32:21.526Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 01:29 go.sum [2024-10-02T01:32:21.526Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 01:29 internal [2024-10-02T01:32:21.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:29 openapi [2024-10-02T01:32:21.526Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 01:29 pkg [2024-10-02T01:32:21.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:29 snap [2024-10-02T01:32:21.527Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:32:21.963Z] + 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=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f --label arch=amd64 --label version=0.0.0 . [2024-10-02T01:32:21.963Z] Sending build context to Docker daemon 25.45MB [2024-10-02T01:32:21.963Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T01:32:21.963Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-02T01:32:21.963Z] ---> 191fa4b59765 [2024-10-02T01:32:21.963Z] Step 3/24 : ARG MAKE=make build [2024-10-02T01:32:22.898Z] ---> Running in 6d3e658497ca [2024-10-02T01:32:22.898Z] Removing intermediate container 6d3e658497ca [2024-10-02T01:32:22.898Z] ---> 350c1b3445d1 [2024-10-02T01:32:22.898Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-02T01:32:22.898Z] ---> Running in 4e10d55f2866 [2024-10-02T01:32:22.898Z] Removing intermediate container 4e10d55f2866 [2024-10-02T01:32:22.898Z] ---> ee8221867ea2 [2024-10-02T01:32:22.898Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T01:32:22.898Z] ---> Running in 19eaa54755e6 [2024-10-02T01:32:22.898Z] Removing intermediate container 19eaa54755e6 [2024-10-02T01:32:22.898Z] ---> 5a113c767b36 [2024-10-02T01:32:22.898Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-02T01:32:22.898Z] ---> Running in 035abfc4f9a1 [2024-10-02T01:32:23.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T01:32:23.415Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T01:32:23.674Z] OK: 264 MiB in 52 packages [2024-10-02T01:32:23.933Z] Removing intermediate container 035abfc4f9a1 [2024-10-02T01:32:23.933Z] ---> be83f0fd7cc7 [2024-10-02T01:32:23.933Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-02T01:32:24.192Z] ---> 6fdf7281ee07 [2024-10-02T01:32:24.192Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T01:32:24.192Z] ---> Running in de488eb435fc [2024-10-02T01:32:24.758Z] Removing intermediate container de488eb435fc [2024-10-02T01:32:24.758Z] ---> 71a7bec91b95 [2024-10-02T01:32:24.758Z] Step 9/24 : COPY . . [2024-10-02T01:32:25.695Z] ---> 77264cf8a990 [2024-10-02T01:32:25.695Z] Step 10/24 : RUN ${MAKE} [2024-10-02T01:32:25.695Z] ---> Running in f375dd6b8664 [2024-10-02T01:32:26.264Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-02T01:33:12.940Z] Removing intermediate container f375dd6b8664 [2024-10-02T01:33:12.940Z] ---> a177be7e77ec [2024-10-02T01:33:12.940Z] Step 11/24 : FROM alpine:3.18 [2024-10-02T01:33:12.940Z] 3.18: Pulling from library/alpine [2024-10-02T01:33:12.940Z] 1cc3d825d8b2: Pulling fs layer [2024-10-02T01:33:12.940Z] 1cc3d825d8b2: Verifying Checksum [2024-10-02T01:33:12.940Z] 1cc3d825d8b2: Download complete [2024-10-02T01:33:12.940Z] 1cc3d825d8b2: Pull complete [2024-10-02T01:33:12.940Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T01:33:12.940Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T01:33:12.940Z] ---> 2c64cf60f6f0 [2024-10-02T01:33:12.940Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-02T01:33:12.940Z] ---> Running in 013c87aa3fbd [2024-10-02T01:33:12.940Z] Removing intermediate container 013c87aa3fbd [2024-10-02T01:33:12.940Z] ---> b1905f1c68bf [2024-10-02T01:33:12.940Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-02T01:33:12.940Z] ---> Running in 1f3d81f5826f [2024-10-02T01:33:12.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T01:33:12.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T01:33:12.940Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T01:33:12.940Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T01:33:12.940Z] OK: 7 MiB in 16 packages [2024-10-02T01:33:12.940Z] Removing intermediate container 1f3d81f5826f [2024-10-02T01:33:12.940Z] ---> 6e841be14dca [2024-10-02T01:33:12.940Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-02T01:33:12.940Z] ---> Running in 6ad54ed3243f [2024-10-02T01:33:12.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-02T01:33:12.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-02T01:33:12.940Z] OK: 7 MiB in 16 packages [2024-10-02T01:33:12.940Z] Removing intermediate container 6ad54ed3243f [2024-10-02T01:33:12.940Z] ---> 6eb04424ea65 [2024-10-02T01:33:12.940Z] Step 15/24 : WORKDIR / [2024-10-02T01:33:12.940Z] ---> Running in 548143a19ec6 [2024-10-02T01:33:12.940Z] Removing intermediate container 548143a19ec6 [2024-10-02T01:33:12.940Z] ---> 8db172c0f148 [2024-10-02T01:33:12.940Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-02T01:33:12.940Z] ---> 839264fefd2f [2024-10-02T01:33:12.940Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-02T01:33:13.508Z] ---> 102df286de62 [2024-10-02T01:33:13.508Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-02T01:33:13.508Z] ---> e70d5b4eb514 [2024-10-02T01:33:13.508Z] Step 19/24 : EXPOSE 59999 [2024-10-02T01:33:13.508Z] ---> Running in 50f938d94da9 [2024-10-02T01:33:13.508Z] Removing intermediate container 50f938d94da9 [2024-10-02T01:33:13.508Z] ---> ebe2a6efacdf [2024-10-02T01:33:13.508Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-02T01:33:13.508Z] ---> Running in b77cc8223f36 [2024-10-02T01:33:13.508Z] Removing intermediate container b77cc8223f36 [2024-10-02T01:33:13.508Z] ---> f0b6973e17a9 [2024-10-02T01:33:13.508Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T01:33:13.767Z] ---> Running in 5037b552c6fb [2024-10-02T01:33:13.767Z] Removing intermediate container 5037b552c6fb [2024-10-02T01:33:13.767Z] ---> 13d1d2503e6c [2024-10-02T01:33:13.767Z] Step 22/24 : LABEL arch=amd64 [2024-10-02T01:33:13.767Z] ---> Running in a0a2c5048070 [2024-10-02T01:33:13.767Z] Removing intermediate container a0a2c5048070 [2024-10-02T01:33:13.767Z] ---> 516836b06438 [2024-10-02T01:33:13.767Z] Step 23/24 : LABEL git_sha=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [2024-10-02T01:33:13.767Z] ---> Running in f5067f6b2a2c [2024-10-02T01:33:13.767Z] Removing intermediate container f5067f6b2a2c [2024-10-02T01:33:13.767Z] ---> 10f2995eaba0 [2024-10-02T01:33:13.767Z] Step 24/24 : LABEL version=0.0.0 [2024-10-02T01:33:14.027Z] ---> Running in f705a0d2bd9f [2024-10-02T01:33:14.027Z] Removing intermediate container f705a0d2bd9f [2024-10-02T01:33:14.027Z] ---> f84c8a0367d2 [2024-10-02T01:33:14.027Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T01:33:14.027Z] Successfully built f84c8a0367d2 [2024-10-02T01:33:14.027Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:33:15.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T01:33:15.034Z] [2024-10-02T01:33:15.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:33:15.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T01:33:15.442Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-02T01:33:15.442Z] 5eb5b503b376: Pulling fs layer [2024-10-02T01:33:15.442Z] 5c69ac0246d0: Pulling fs layer [2024-10-02T01:33:15.442Z] ec43610c2a17: Pulling fs layer [2024-10-02T01:33:15.442Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-02T01:33:15.442Z] 33b1e0a273af: Pulling fs layer [2024-10-02T01:33:15.442Z] 5d3b04190fa2: Pulling fs layer [2024-10-02T01:33:15.442Z] 2f39f015ded8: Pulling fs layer [2024-10-02T01:33:15.442Z] 3a2ae6a8a46f: Waiting [2024-10-02T01:33:15.442Z] 33b1e0a273af: Waiting [2024-10-02T01:33:15.442Z] 5d3b04190fa2: Waiting [2024-10-02T01:33:15.442Z] 2f39f015ded8: Waiting [2024-10-02T01:33:15.442Z] 5c69ac0246d0: Verifying Checksum [2024-10-02T01:33:15.442Z] 5c69ac0246d0: Download complete [2024-10-02T01:33:15.442Z] 3a2ae6a8a46f: Download complete [2024-10-02T01:33:15.442Z] 33b1e0a273af: Verifying Checksum [2024-10-02T01:33:15.442Z] 33b1e0a273af: Download complete [2024-10-02T01:33:15.442Z] 5d3b04190fa2: Verifying Checksum [2024-10-02T01:33:15.442Z] 5d3b04190fa2: Download complete [2024-10-02T01:33:15.442Z] ec43610c2a17: Verifying Checksum [2024-10-02T01:33:15.442Z] ec43610c2a17: Download complete [2024-10-02T01:33:15.701Z] 5eb5b503b376: Verifying Checksum [2024-10-02T01:33:15.701Z] 5eb5b503b376: Download complete [2024-10-02T01:33:16.268Z] 2f39f015ded8: Verifying Checksum [2024-10-02T01:33:16.268Z] 2f39f015ded8: Download complete [2024-10-02T01:33:16.834Z] 5eb5b503b376: Pull complete [2024-10-02T01:33:17.093Z] 5c69ac0246d0: Pull complete [2024-10-02T01:33:17.660Z] ec43610c2a17: Pull complete [2024-10-02T01:33:17.922Z] 3a2ae6a8a46f: Pull complete [2024-10-02T01:33:18.180Z] 33b1e0a273af: Pull complete [2024-10-02T01:33:18.180Z] 5d3b04190fa2: Pull complete [2024-10-02T01:33:23.456Z] 2f39f015ded8: Pull complete [2024-10-02T01:33:23.456Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-02T01:33:23.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T01:33:23.456Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:33:23.711Z] prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container [2024-10-02T01:33:23.742Z] $ 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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-02T01:33:41.225Z] $ docker top 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:33:41.756Z] ---> job-cost.sh [2024-10-02T01:33:41.756Z] lf-activate-venv: SKIPPING [2024-10-02T01:33:41.756Z] INFO: No Stack... [2024-10-02T01:33:42.016Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T01:33:42.275Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T01:33:42.598Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/cost.csv [2024-10-02T01:33:42.598Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T01:33:42.651Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [2024-10-02T01:33:42.659Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] did not exist. Created. [2024-10-02T01:33:42.666Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T01:33:43.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-02T01:33:43.169Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T01:33:43.218Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T01:33:43.319Z] $ docker stop --time=1 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 [2024-10-02T01:33:44.883Z] $ docker rm -f --volumes 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-02T01:36:20.129Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12559 in /w/workspace/gexfoundry_device-sdk-go_PR-1629 [Pipeline] { [Pipeline] ws [2024-10-02T01:36:20.214Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-02T01:36:20.321Z] The recommended git tool is: git [2024-10-02T01:36:29.240Z] using credential edgex-jenkins-ssh [2024-10-02T01:36:29.270Z] Cloning the remote Git repository [2024-10-02T01:36:29.313Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T01:36:29.439Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-02T01:36:29.778Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T01:36:29.796Z] > git --version # timeout=10 [2024-10-02T01:36:29.840Z] > git --version # 'git version 2.25.1' [2024-10-02T01:36:29.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T01:36:30.070Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T01:36:33.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-02T01:36:34.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-02T01:36:35.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-02T01:36:35.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-02T01:36:35.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T01:36:35.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1629/head:refs/remotes/origin/PR-1629 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-02T01:36:36.340Z] Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [2024-10-02T01:36:36.819Z] Merge succeeded, producing 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [2024-10-02T01:36:36.820Z] Checking out Revision 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f (PR-1629) [2024-10-02T01:36:36.368Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T01:36:36.506Z] > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 [2024-10-02T01:36:36.645Z] > git remote # timeout=10 [2024-10-02T01:36:36.681Z] > git config --get remote.origin.url # timeout=10 [2024-10-02T01:36:36.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-02T01:36:36.734Z] > git merge 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 [2024-10-02T01:36:36.790Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-02T01:36:36.825Z] > git config core.sparsecheckout # timeout=10 [2024-10-02T01:36:36.855Z] > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 [2024-10-02T01:36:40.656Z] Commit message: "fix: Change status code to 400 for write commands with invalid values" [2024-10-02T01:36:40.703Z] > git --version # timeout=10 [2024-10-02T01:36:40.712Z] > git --version # 'git version 2.25.1' [2024-10-02T01:36:40.726Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T01:36:42.604Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-02T01:36:42.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T01:36:42.604Z] Dload Upload Total Spent Left Speed [2024-10-02T01:36:42.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2024-10-02T01:36:42.956Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-02T01:36:43.305Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-02T01:36:43.305Z] /etc/docker/daemon.json [2024-10-02T01:36:43.305Z] { [2024-10-02T01:36:43.305Z] "registry-mirrors": [ [2024-10-02T01:36:43.305Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-02T01:36:43.305Z] ], [2024-10-02T01:36:43.305Z] "bip": "10.250.0.254/24", [2024-10-02T01:36:43.305Z] "hosts": [ [2024-10-02T01:36:43.305Z] "tcp://0.0.0.0:5555", [2024-10-02T01:36:43.305Z] "unix:///var/run/docker.sock" [2024-10-02T01:36:43.305Z] ], [2024-10-02T01:36:43.305Z] "mtu": 1458, [2024-10-02T01:36:43.305Z] "selinux-enabled": true, [2024-10-02T01:36:43.305Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-02T01:36:43.305Z] } [Pipeline] sh [2024-10-02T01:36:43.664Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-02T01:36:44.028Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T01:37:02.409Z] provisioning config files... [2024-10-02T01:37:02.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12828265868699942469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:37:02.935Z] ---> ****-login.sh [2024-10-02T01:37:02.935Z] nexus3.edgexfoundry.org:10001 [2024-10-02T01:37:03.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:37:03.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:37:03.474Z] Configure a credential helper to remove this warning. See [2024-10-02T01:37:03.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:37:03.474Z] [2024-10-02T01:37:03.474Z] Login Succeeded [2024-10-02T01:37:03.474Z] nexus3.edgexfoundry.org:10002 [2024-10-02T01:37:03.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:37:04.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:37:04.015Z] Configure a credential helper to remove this warning. See [2024-10-02T01:37:04.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:37:04.015Z] [2024-10-02T01:37:04.015Z] Login Succeeded [2024-10-02T01:37:04.015Z] nexus3.edgexfoundry.org:10003 [2024-10-02T01:37:04.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:37:04.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:37:04.290Z] Configure a credential helper to remove this warning. See [2024-10-02T01:37:04.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:37:04.290Z] [2024-10-02T01:37:04.290Z] Login Succeeded [2024-10-02T01:37:04.290Z] nexus3.edgexfoundry.org:10004 [2024-10-02T01:37:04.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:37:04.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:37:04.560Z] Configure a credential helper to remove this warning. See [2024-10-02T01:37:04.560Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:37:04.560Z] [2024-10-02T01:37:04.560Z] Login Succeeded [2024-10-02T01:37:04.560Z] ****.io [2024-10-02T01:37:04.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-02T01:37:05.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-02T01:37:05.101Z] Configure a credential helper to remove this warning. See [2024-10-02T01:37:05.102Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-02T01:37:05.102Z] [2024-10-02T01:37:05.102Z] Login Succeeded [2024-10-02T01:37:05.102Z] ---> ****-login.sh ends [Pipeline] } [2024-10-02T01:37:05.137Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-02T01:37:05.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T01:37:05.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-02T01:37:05.697Z] ========================================================= [2024-10-02T01:37:05.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-02T01:37:05.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:37:06.249Z] + 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-10-02T01:37:06.832Z] Sending build context to Docker daemon 13.12MB [2024-10-02T01:37:06.832Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T01:37:06.832Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-02T01:37:07.101Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-02T01:37:07.101Z] c6b39de5b339: Pulling fs layer [2024-10-02T01:37:07.101Z] a69c41024577: Pulling fs layer [2024-10-02T01:37:07.101Z] d6de4b400683: Pulling fs layer [2024-10-02T01:37:07.101Z] 35cb2a7552d0: Pulling fs layer [2024-10-02T01:37:07.101Z] 4f4fb700ef54: Pulling fs layer [2024-10-02T01:37:07.101Z] 4f4fb700ef54: Waiting [2024-10-02T01:37:07.101Z] 35cb2a7552d0: Waiting [2024-10-02T01:37:07.101Z] 464afbd9ba4c: Pulling fs layer [2024-10-02T01:37:07.101Z] 00f215d4a9da: Pulling fs layer [2024-10-02T01:37:07.101Z] 464afbd9ba4c: Waiting [2024-10-02T01:37:07.101Z] 00f215d4a9da: Waiting [2024-10-02T01:37:07.101Z] d496ad576159: Pulling fs layer [2024-10-02T01:37:07.101Z] d496ad576159: Waiting [2024-10-02T01:37:07.101Z] a69c41024577: Verifying Checksum [2024-10-02T01:37:07.101Z] a69c41024577: Download complete [2024-10-02T01:37:07.101Z] 35cb2a7552d0: Verifying Checksum [2024-10-02T01:37:07.101Z] 35cb2a7552d0: Download complete [2024-10-02T01:37:07.101Z] 4f4fb700ef54: Verifying Checksum [2024-10-02T01:37:07.101Z] 4f4fb700ef54: Download complete [2024-10-02T01:37:07.101Z] 464afbd9ba4c: Verifying Checksum [2024-10-02T01:37:07.101Z] 464afbd9ba4c: Download complete [2024-10-02T01:37:07.101Z] c6b39de5b339: Verifying Checksum [2024-10-02T01:37:07.101Z] c6b39de5b339: Download complete [2024-10-02T01:37:07.685Z] d496ad576159: Verifying Checksum [2024-10-02T01:37:07.685Z] d496ad576159: Download complete [2024-10-02T01:37:07.955Z] c6b39de5b339: Pull complete [2024-10-02T01:37:08.225Z] a69c41024577: Pull complete [2024-10-02T01:37:08.816Z] d6de4b400683: Verifying Checksum [2024-10-02T01:37:08.816Z] d6de4b400683: Download complete [2024-10-02T01:37:09.781Z] 00f215d4a9da: Verifying Checksum [2024-10-02T01:37:09.781Z] 00f215d4a9da: Download complete [2024-10-02T01:37:22.120Z] d6de4b400683: Pull complete [2024-10-02T01:37:22.120Z] 35cb2a7552d0: Pull complete [2024-10-02T01:37:22.120Z] 4f4fb700ef54: Pull complete [2024-10-02T01:37:22.120Z] 464afbd9ba4c: Pull complete [2024-10-02T01:37:30.334Z] 00f215d4a9da: Pull complete [2024-10-02T01:37:31.299Z] d496ad576159: Pull complete [2024-10-02T01:37:31.299Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-02T01:37:31.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-02T01:37:31.299Z] ---> f246e2811388 [2024-10-02T01:37:31.299Z] Step 3/10 : ARG MAKE=make build [2024-10-02T01:37:33.261Z] ---> Running in e7edd0ad5bf7 [2024-10-02T01:37:33.261Z] Removing intermediate container e7edd0ad5bf7 [2024-10-02T01:37:33.261Z] ---> 422460751562 [2024-10-02T01:37:33.261Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-02T01:37:33.261Z] ---> Running in b5291d8bab09 [2024-10-02T01:37:33.531Z] Removing intermediate container b5291d8bab09 [2024-10-02T01:37:33.531Z] ---> 5f42591904af [2024-10-02T01:37:33.531Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T01:37:33.531Z] ---> Running in 84f1ef34447a [2024-10-02T01:37:33.800Z] Removing intermediate container 84f1ef34447a [2024-10-02T01:37:33.800Z] ---> df17200bd528 [2024-10-02T01:37:33.800Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-02T01:37:34.068Z] ---> Running in 943a95f534a8 [2024-10-02T01:37:35.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T01:37:35.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T01:37:36.445Z] OK: 266 MiB in 52 packages [2024-10-02T01:37:37.034Z] Removing intermediate container 943a95f534a8 [2024-10-02T01:37:37.034Z] ---> ab6e0396395f [2024-10-02T01:37:37.034Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-02T01:37:37.620Z] ---> f43ac3f4309b [2024-10-02T01:37:37.620Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T01:37:37.620Z] ---> Running in 22566e076c99 [2024-10-02T01:39:29.296Z] Removing intermediate container 22566e076c99 [2024-10-02T01:39:29.296Z] ---> 09c15100605b [2024-10-02T01:39:29.296Z] Step 9/10 : COPY . . [2024-10-02T01:39:30.258Z] ---> 1a1f510db960 [2024-10-02T01:39:30.258Z] Step 10/10 : RUN ${MAKE} [2024-10-02T01:39:30.258Z] ---> Running in ed1b9a6248fd [2024-10-02T01:39:31.211Z] noop [2024-10-02T01:39:31.794Z] Removing intermediate container ed1b9a6248fd [2024-10-02T01:39:31.794Z] ---> 2bad8e25511d [2024-10-02T01:39:31.794Z] Successfully built 2bad8e25511d [2024-10-02T01:39:31.794Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:39:32.324Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T01:39:32.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:39:32.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container [2024-10-02T01:39:32.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-02T01:39:33.894Z] $ docker top 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T01:39:34.804Z] + go version [2024-10-02T01:39:34.804Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-02T01:39:34.845Z] $ docker stop --time=1 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a [2024-10-02T01:39:36.486Z] $ docker rm -f --volumes 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:39:37.454Z] + docker inspect -f . ci-base-image-arm64 [2024-10-02T01:39:37.454Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:39:37.728Z] prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container [2024-10-02T01:39:37.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-02T01:39:39.608Z] $ docker top 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T01:39:40.199Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-02T01:39:41.242Z] + make test [2024-10-02T01:39:41.242Z] go test -race -coverprofile=coverage.out ./... [2024-10-02T01:40:28.782Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-02T01:43:50.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-02T01:43:50.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-02T01:43:50.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-02T01:43:50.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-02T01:43:50.543Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-02T01:43:53.884Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.112s coverage: 26.0% of statements [2024-10-02T01:43:58.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.173s coverage: 79.4% of statements [2024-10-02T01:44:04.809Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-02T01:44:04.809Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-02T01:44:05.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.227s coverage: 86.0% of statements [2024-10-02T01:44:10.058Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-02T01:44:11.016Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.407s coverage: 45.2% of statements [2024-10-02T01:44:15.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.152s coverage: 14.1% of statements [2024-10-02T01:44:15.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.990s coverage: 44.6% of statements [2024-10-02T01:44:16.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-02T01:44:16.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-02T01:44:16.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-02T01:44:17.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.297s coverage: 68.5% of statements [2024-10-02T01:44:21.894Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.360s coverage: 89.2% of statements [2024-10-02T01:44:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-02T01:44:25.436Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.255s coverage: 5.3% of statements [2024-10-02T01:44:26.844Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-02T01:44:26.844Z] GO111MODULE=on go vet ./... [2024-10-02T01:48:18.649Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-02T01:48:18.649Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-02T01:48:18.649Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-02T01:48:18.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-02T01:48:18.752Z] $ docker stop --time=1 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 [2024-10-02T01:48:20.852Z] $ docker rm -f --volumes 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-02T01:48:23.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-02T01:48:23.373Z] Warning: overwriting stash ‘coverage-report’ [2024-10-02T01:48:23.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-02T01:48:24.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-02T01:48:24.926Z] + ls -al . [2024-10-02T01:48:24.927Z] total 380 [2024-10-02T01:48:24.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 01:39 . [2024-10-02T01:48:24.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:36 .. [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:36 .dockerignore [2024-10-02T01:48:24.927Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:36 .git [2024-10-02T01:48:24.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:36 .github [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 01:36 .gitignore [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 01:36 .golangci.yml [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 01:36 CHANGELOG.md [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:36 GOVERNANCE.md [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 01:36 Jenkinsfile [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 01:36 LICENSE [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 01:36 Makefile [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 01:36 OWNERS.md [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 01:36 README.md [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:29 VERSION [2024-10-02T01:48:24.927Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:36 bin [2024-10-02T01:48:24.927Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 01:44 coverage.out [2024-10-02T01:48:24.927Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 01:36 example [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 01:36 go.mod [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 01:36 go.sum [2024-10-02T01:48:24.927Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 01:36 internal [2024-10-02T01:48:24.927Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:36 openapi [2024-10-02T01:48:24.927Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 01:36 pkg [2024-10-02T01:48:24.927Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:36 snap [2024-10-02T01:48:24.927Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:48:25.387Z] + 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=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f --label arch=arm64 --label version=0.0.0 . [2024-10-02T01:48:25.973Z] Sending build context to Docker daemon 13.25MB [2024-10-02T01:48:25.973Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-02T01:48:25.973Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-02T01:48:25.973Z] ---> 2bad8e25511d [2024-10-02T01:48:25.973Z] Step 3/24 : ARG MAKE=make build [2024-10-02T01:48:25.973Z] ---> Running in a54fdacc6dd5 [2024-10-02T01:48:26.238Z] Removing intermediate container a54fdacc6dd5 [2024-10-02T01:48:26.238Z] ---> ec276e54dece [2024-10-02T01:48:26.238Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-02T01:48:26.503Z] ---> Running in 61def4df2cc1 [2024-10-02T01:48:26.778Z] Removing intermediate container 61def4df2cc1 [2024-10-02T01:48:26.778Z] ---> c0590cf983f1 [2024-10-02T01:48:26.778Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-02T01:48:26.778Z] ---> Running in bc3b33fdc2cb [2024-10-02T01:48:27.042Z] Removing intermediate container bc3b33fdc2cb [2024-10-02T01:48:27.042Z] ---> 1cf52a41118f [2024-10-02T01:48:27.042Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-02T01:48:27.316Z] ---> Running in 71f0d1fdc617 [2024-10-02T01:48:28.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T01:48:28.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T01:48:29.491Z] OK: 266 MiB in 52 packages [2024-10-02T01:48:30.455Z] Removing intermediate container 71f0d1fdc617 [2024-10-02T01:48:30.455Z] ---> 7e5002f5f6d1 [2024-10-02T01:48:30.455Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-02T01:48:30.721Z] ---> 861925948ced [2024-10-02T01:48:30.721Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-02T01:48:30.721Z] ---> Running in 746309be9195 [2024-10-02T01:48:32.660Z] Removing intermediate container 746309be9195 [2024-10-02T01:48:32.660Z] ---> cf2bfe5cda03 [2024-10-02T01:48:32.660Z] Step 9/24 : COPY . . [2024-10-02T01:48:34.591Z] ---> 71b0b61dce5b [2024-10-02T01:48:34.591Z] Step 10/24 : RUN ${MAKE} [2024-10-02T01:48:34.591Z] ---> Running in c6a31f2fe076 [2024-10-02T01:48:35.170Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-02T01:52:11.936Z] Removing intermediate container c6a31f2fe076 [2024-10-02T01:52:11.936Z] ---> 6e05f87a92f7 [2024-10-02T01:52:11.936Z] Step 11/24 : FROM alpine:3.18 [2024-10-02T01:52:11.936Z] 3.18: Pulling from library/alpine [2024-10-02T01:52:11.936Z] 720f3032cd11: Pulling fs layer [2024-10-02T01:52:11.936Z] 720f3032cd11: Verifying Checksum [2024-10-02T01:52:11.936Z] 720f3032cd11: Download complete [2024-10-02T01:52:11.936Z] 720f3032cd11: Pull complete [2024-10-02T01:52:11.936Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-02T01:52:11.936Z] Status: Downloaded newer image for alpine:3.18 [2024-10-02T01:52:11.936Z] ---> 3e834921e367 [2024-10-02T01:52:11.936Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-02T01:52:11.936Z] ---> Running in 49bd82b7ae6c [2024-10-02T01:52:11.936Z] Removing intermediate container 49bd82b7ae6c [2024-10-02T01:52:11.936Z] ---> 6d69be263b1f [2024-10-02T01:52:11.936Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-02T01:52:11.936Z] ---> Running in 516ae6498480 [2024-10-02T01:52:11.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T01:52:11.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T01:52:11.936Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-02T01:52:11.936Z] Executing busybox-1.36.1-r7.trigger [2024-10-02T01:52:11.936Z] OK: 8 MiB in 16 packages [2024-10-02T01:52:11.936Z] Removing intermediate container 516ae6498480 [2024-10-02T01:52:11.936Z] ---> 0caa549db8e1 [2024-10-02T01:52:11.936Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-02T01:52:11.936Z] ---> Running in c9c8ceeb9a1d [2024-10-02T01:52:11.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-02T01:52:11.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-02T01:52:12.210Z] OK: 8 MiB in 16 packages [2024-10-02T01:52:13.170Z] Removing intermediate container c9c8ceeb9a1d [2024-10-02T01:52:13.170Z] ---> b9be76a64e15 [2024-10-02T01:52:13.170Z] Step 15/24 : WORKDIR / [2024-10-02T01:52:13.170Z] ---> Running in 26ea8afbbd47 [2024-10-02T01:52:13.438Z] Removing intermediate container 26ea8afbbd47 [2024-10-02T01:52:13.438Z] ---> 5cecc3cb7aeb [2024-10-02T01:52:13.438Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-02T01:52:14.022Z] ---> b7856102c2ec [2024-10-02T01:52:14.022Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-02T01:52:16.609Z] ---> 3cb31a1b3eb5 [2024-10-02T01:52:16.609Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-02T01:52:16.874Z] ---> 77c41671b6a1 [2024-10-02T01:52:16.874Z] Step 19/24 : EXPOSE 59999 [2024-10-02T01:52:16.874Z] ---> Running in d6cebe60ac59 [2024-10-02T01:52:17.140Z] Removing intermediate container d6cebe60ac59 [2024-10-02T01:52:17.140Z] ---> d33bdca7d09f [2024-10-02T01:52:17.140Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-02T01:52:17.140Z] ---> Running in 89b46724ee26 [2024-10-02T01:52:17.409Z] Removing intermediate container 89b46724ee26 [2024-10-02T01:52:17.409Z] ---> e2345456e211 [2024-10-02T01:52:17.409Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-02T01:52:17.675Z] ---> Running in 1e60b32a95f7 [2024-10-02T01:52:17.939Z] Removing intermediate container 1e60b32a95f7 [2024-10-02T01:52:17.939Z] ---> 979f7d32144f [2024-10-02T01:52:17.939Z] Step 22/24 : LABEL arch=arm64 [2024-10-02T01:52:17.939Z] ---> Running in d56a8ec0baa2 [2024-10-02T01:52:18.212Z] Removing intermediate container d56a8ec0baa2 [2024-10-02T01:52:18.212Z] ---> e409fab3b5c4 [2024-10-02T01:52:18.212Z] Step 23/24 : LABEL git_sha=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [2024-10-02T01:52:18.212Z] ---> Running in acd106360fab [2024-10-02T01:52:18.481Z] Removing intermediate container acd106360fab [2024-10-02T01:52:18.481Z] ---> ebf5adfb95df [2024-10-02T01:52:18.481Z] Step 24/24 : LABEL version=0.0.0 [2024-10-02T01:52:18.747Z] ---> Running in 2b1d99cab93c [2024-10-02T01:52:19.015Z] Removing intermediate container 2b1d99cab93c [2024-10-02T01:52:19.015Z] ---> ed1fae1116c4 [2024-10-02T01:52:19.015Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-02T01:52:19.015Z] Successfully built ed1fae1116c4 [2024-10-02T01:52:19.015Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:52:19.950Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T01:52:19.950Z] [2024-10-02T01:52:19.950Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:52:20.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T01:52:20.378Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-02T01:52:20.378Z] 8998bd30e6a1: Pulling fs layer [2024-10-02T01:52:20.378Z] 04944245beec: Pulling fs layer [2024-10-02T01:52:20.378Z] 699f458cf7ca: Pulling fs layer [2024-10-02T01:52:20.378Z] 765212b225bb: Pulling fs layer [2024-10-02T01:52:20.378Z] f23df028b6ca: Pulling fs layer [2024-10-02T01:52:20.378Z] d65c8cfc05b1: Pulling fs layer [2024-10-02T01:52:20.378Z] 2437ff75d9bd: Pulling fs layer [2024-10-02T01:52:20.378Z] 2437ff75d9bd: Waiting [2024-10-02T01:52:20.378Z] 765212b225bb: Waiting [2024-10-02T01:52:20.379Z] f23df028b6ca: Waiting [2024-10-02T01:52:20.379Z] d65c8cfc05b1: Waiting [2024-10-02T01:52:20.644Z] 04944245beec: Verifying Checksum [2024-10-02T01:52:20.644Z] 04944245beec: Download complete [2024-10-02T01:52:20.644Z] 765212b225bb: Verifying Checksum [2024-10-02T01:52:20.644Z] 765212b225bb: Download complete [2024-10-02T01:52:20.644Z] f23df028b6ca: Download complete [2024-10-02T01:52:20.644Z] d65c8cfc05b1: Verifying Checksum [2024-10-02T01:52:20.644Z] d65c8cfc05b1: Download complete [2024-10-02T01:52:20.912Z] 699f458cf7ca: Verifying Checksum [2024-10-02T01:52:20.912Z] 699f458cf7ca: Download complete [2024-10-02T01:52:21.177Z] 8998bd30e6a1: Download complete [2024-10-02T01:52:23.762Z] 2437ff75d9bd: Download complete [2024-10-02T01:52:26.016Z] 8998bd30e6a1: Pull complete [2024-10-02T01:52:27.284Z] 04944245beec: Pull complete [2024-10-02T01:52:30.185Z] 699f458cf7ca: Pull complete [2024-10-02T01:52:30.185Z] 765212b225bb: Pull complete [2024-10-02T01:52:30.781Z] f23df028b6ca: Pull complete [2024-10-02T01:52:31.046Z] d65c8cfc05b1: Pull complete [2024-10-02T01:52:49.260Z] 2437ff75d9bd: Pull complete [2024-10-02T01:52:49.260Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-02T01:52:49.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-02T01:52:49.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:52:50.714Z] prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container [2024-10-02T01:52:50.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-02T01:52:53.350Z] $ docker top 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:52:53.927Z] ---> job-cost.sh [2024-10-02T01:52:54.191Z] lf-activate-venv: SKIPPING [2024-10-02T01:52:54.191Z] INFO: No Stack... [2024-10-02T01:52:54.455Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-02T01:52:55.408Z] INFO: Archiving Costs [Pipeline] sh [2024-10-02T01:52:55.753Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-02T01:52:55.753Z] + cut -d, -f6 [Pipeline] lock [2024-10-02T01:52:55.831Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [2024-10-02T01:52:55.838Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] did not exist. Created. [2024-10-02T01:52:55.846Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-02T01:52:56.583Z] /w/workspace/device-sdk-go/1@tmp/durable-aaf72ead/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-02T01:52:56.969Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-02T01:52:57.274Z] Warning: overwriting stash ‘stack-cost’ [2024-10-02T01:52:57.373Z] Stashed 1 file(s) [Pipeline] } [2024-10-02T01:52:57.393Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-02T01:52:57.483Z] $ docker stop --time=1 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb [2024-10-02T01:52:58.948Z] $ docker rm -f --volumes 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-02T01:53:00.055Z] provisioning config files... [2024-10-02T01:53:00.061Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config12961799869808015438tmp [Pipeline] { [Pipeline] sh [2024-10-02T01:53:00.426Z] + set +x [2024-10-02T01:53:00.426Z] + + bash -s -- [2024-10-02T01:53:00.426Z] curl -s https://codecov.io/bash [2024-10-02T01:53:00.426Z] [2024-10-02T01:53:00.426Z] _____ _ [2024-10-02T01:53:00.426Z] / ____| | | [2024-10-02T01:53:00.426Z] | | ___ __| | ___ ___ _____ __ [2024-10-02T01:53:00.426Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-02T01:53:00.426Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-02T01:53:00.426Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-02T01:53:00.426Z] Bash-1.0.6 [2024-10-02T01:53:00.426Z] [2024-10-02T01:53:00.426Z] [2024-10-02T01:53:00.426Z] ==> git version 2.25.1 found [2024-10-02T01:53:00.426Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-02T01:53:00.426Z] Release-Date: 2020-01-08 [2024-10-02T01:53:00.426Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-02T01:53:00.426Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-02T01:53:00.426Z] ==> Jenkins CI detected. [2024-10-02T01:53:00.426Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1629 [2024-10-02T01:53:00.426Z] project root: . [2024-10-02T01:53:00.426Z] --> token set from env [2024-10-02T01:53:00.426Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-02T01:53:00.426Z] ==> Running gcov in . (disable via -X gcov) [2024-10-02T01:53:00.426Z] ==> Python coveragepy not found [2024-10-02T01:53:00.426Z] ==> Searching for coverage reports in: [2024-10-02T01:53:00.426Z] + . [2024-10-02T01:53:00.426Z] -> Found 1 reports [2024-10-02T01:53:00.687Z] ==> Detecting git/mercurial file structure [2024-10-02T01:53:00.687Z] ==> Reading reports [2024-10-02T01:53:00.687Z] + ./coverage.out bytes=128347 [2024-10-02T01:53:00.687Z] ==> Appending adjustments [2024-10-02T01:53:00.687Z] https://docs.codecov.io/docs/fixing-reports [2024-10-02T01:53:00.948Z] + Found adjustments [2024-10-02T01:53:00.948Z] ==> Gzipping contents [2024-10-02T01:53:00.948Z] 20K /tmp/codecov.YXdO6i.gz [2024-10-02T01:53:00.948Z] ==> Uploading reports [2024-10-02T01:53:00.948Z] url: https://codecov.io [2024-10-02T01:53:00.948Z] query: branch=PR-1629&commit=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1629%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1629&job=&cmd_args= [2024-10-02T01:53:00.948Z] -> Pinging Codecov [2024-10-02T01:53:00.948Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1629&commit=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1629%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1629&job=&cmd_args= [2024-10-02T01:53:01.208Z] -> Uploading to [2024-10-02T01:53:01.208Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f/7ae936b0-5055-4b84-9be3-a6696e2150ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T015300Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b66834498b618391beebdf82fa0b2e91b5dc27546e3990a3561f96870ef7ea43 [2024-10-02T01:53:01.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-02T01:53:01.208Z] Dload Upload Total Spent Left Speed [2024-10-02T01:53:01.468Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17720 0 0 100 17720 0 75084 --:--:-- --:--:-- --:--:-- 75404 [2024-10-02T01:53:01.468Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] } [2024-10-02T01:53:01.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-02T01:53:03.799Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives ] [2024-10-02T01:53:03.799Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives [2024-10-02T01:53:03.799Z] total 16 [2024-10-02T01:53:03.799Z] drwxr-xr-x 3 root root 4096 Oct 2 01:33 . [2024-10-02T01:53:03.799Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 01:33 .. [2024-10-02T01:53:03.799Z] drwxr-xr-x 2 root root 4096 Oct 2 01:33 cost [2024-10-02T01:53:03.799Z] -rw-r--r-- 1 root root 86 Oct 2 01:33 cost.csv [2024-10-02T01:53:03.799Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives [2024-10-02T01:53:03.799Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives [2024-10-02T01:53:03.799Z] total 16 [2024-10-02T01:53:03.799Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:33 . [2024-10-02T01:53:03.799Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 01:33 .. [2024-10-02T01:53:03.799Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 01:33 cost [2024-10-02T01:53:03.799Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 2 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:04.145Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:05.062Z] ---> package-listing.sh [2024-10-02T01:53:05.062Z] ++ facter osfamily [2024-10-02T01:53:05.062Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-02T01:53:05.325Z] + OS_FAMILY=debian [2024-10-02T01:53:05.325Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1629 [2024-10-02T01:53:05.325Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-02T01:53:05.325Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-02T01:53:05.325Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-02T01:53:05.325Z] + PACKAGES=/tmp/packages_start.txt [2024-10-02T01:53:05.325Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1629 ']' [2024-10-02T01:53:05.325Z] + PACKAGES=/tmp/packages_end.txt [2024-10-02T01:53:05.325Z] + case "${OS_FAMILY}" in [2024-10-02T01:53:05.325Z] + dpkg -l [2024-10-02T01:53:05.325Z] + grep '^ii' [2024-10-02T01:53:05.325Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-02T01:53:05.325Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-02T01:53:05.325Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-02T01:53:05.325Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1629 ']' [2024-10-02T01:53:05.325Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/ [2024-10-02T01:53:05.325Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/ [Pipeline] echo [2024-10-02T01:53:05.374Z] 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-1629/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-02T01:53:05.677Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-02T01:53:06.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-02T01:53:06.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-02T01:53:06.510Z] prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container [2024-10-02T01:53:06.539Z] $ 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-1629/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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-02T01:53:06.718Z] $ docker top 6384d04d9a06e1295500b69af1b7c6e07296e2d08c84b78d5218dc2a22ff63c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-02T01:53:07.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-02T01:53:07.457Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-02T01:53:07.766Z] + ls /var/log/sa-host [2024-10-02T01:53:07.766Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-02T01:53:08.015Z] provisioning config files... [2024-10-02T01:53:08.025Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config17302981178706022586tmp [Pipeline] { [Pipeline] echo [2024-10-02T01:53:08.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:08.433Z] ---> create-netrc.sh [Pipeline] } [2024-10-02T01:53:08.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:08.902Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-02T01:53:08.944Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:09.272Z] ---> sudo-logs.sh [2024-10-02T01:53:09.272Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-02T01:53:09.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:09.711Z] ---> job-cost.sh [2024-10-02T01:53:09.711Z] lf-activate-venv: SKIPPING [2024-10-02T01:53:09.711Z] DEBUG: total: 0.2199999988079071 [2024-10-02T01:53:09.711Z] INFO: Retrieving Stack Cost... [2024-10-02T01:53:09.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-02T01:53:10.237Z] INFO: Archiving Costs [Pipeline] echo [2024-10-02T01:53:10.535Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-02T01:53:10.867Z] ---> logs-deploy.sh [2024-10-02T01:53:10.867Z] lf-activate-venv: SKIPPING [2024-10-02T01:53:10.867Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1629/1 [2024-10-02T01:53:10.867Z] INFO: archiving workspace using pattern(s): [2024-10-02T01:53:11.803Z] Archives upload complete. [2024-10-02T01:53:11.803Z] INFO: archiving logs to Nexus