Pull request #1589 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b7a2f1edf3de431b6849887a9fcc8db68db620bc+d3487eec0ede001a3c25d71c6388e8b50871be46 (db947058cd5b8a8b07e476bc8944ffd27073cad1) 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-ssh16198232769202171745.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17978119305112630114.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13015374877727736303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16227868783555587261.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16926433379469588508.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4741 in /w/workspace/gexfoundry_device-sdk-go_PR-1589 [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-1589 # 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/1589/head:refs/remotes/origin/PR-1589 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit b7a2f1edf3de431b6849887a9fcc8db68db620bc Merge succeeded, producing b7a2f1edf3de431b6849887a9fcc8db68db620bc Checking out Revision b7a2f1edf3de431b6849887a9fcc8db68db620bc (PR-1589) > git config core.sparsecheckout # timeout=10 > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # 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 d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # timeout=10 Commit message: "feat: Allow empty profileName in Device" First time build. Skipping changelog. > git rev-list --no-walk 3754d409af1486e6bf6caad0ab64e76b64ee6010 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-02T01:57:34.487Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-02T01:57:34.568Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-02T01:57:34.594Z] ========================================================= [2024-07-02T01:57:34.594Z] EdgeX Global Pipelines Version Info [2024-07-02T01:57:34.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-02T01:57:35.347Z] ------------------- [2024-07-02T01:57:35.348Z] stable info: [2024-07-02T01:57:35.348Z] ------------------- [2024-07-02T01:57:35.348Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T01:57:35.348Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-02T01:57:35.348Z] Message: update stable to v1.0.260 [2024-07-02T01:57:35.915Z] ------------------- [2024-07-02T01:57:35.915Z] experimental info: [2024-07-02T01:57:35.915Z] ------------------- [2024-07-02T01:57:35.915Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-02T01:57:35.915Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-02T01:57:35.915Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-02T01:57:35.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-02T01:57:36.013Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-02T01:57:36.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-02T01:57:36.061Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-02T01:57:36.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-02T01:57:36.109Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-02T01:57:36.128Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-02T01:57:36.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-02T01:57:36.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-02T01:57:36.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-02T01:57:36.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-02T01:57:36.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-02T01:57:36.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-02T01:57:36.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-02T01:57:36.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-02T01:57:36.322Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T01:57:36.339Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T01:57:36.354Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-02T01:57:36.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-02T01:57:36.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-02T01:57:36.411Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-02T01:57:36.439Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-02T01:57:36.464Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-02T01:57:36.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-02T01:57:36.516Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-02T01:57:36.535Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-02T01:57:36.558Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-02T01:57:36.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1589 [Pipeline] echo [2024-07-02T01:57:36.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1589 [Pipeline] echo [2024-07-02T01:57:36.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1589 [Pipeline] echo [2024-07-02T01:57:36.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo [2024-07-02T01:57:36.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7a2f1e [Pipeline] echo [2024-07-02T01:57:36.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T01:57:36.761Z] provisioning config files... [2024-07-02T01:57:36.774Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config15737211479066693229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T01:57:37.110Z] ---> ****-login.sh [2024-07-02T01:57:37.110Z] nexus3.edgexfoundry.org:10001 [2024-07-02T01:57:37.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:37.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:37.375Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:37.375Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:37.375Z] [2024-07-02T01:57:37.375Z] Login Succeeded [2024-07-02T01:57:37.375Z] nexus3.edgexfoundry.org:10002 [2024-07-02T01:57:37.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:37.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:37.375Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:37.375Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:37.375Z] [2024-07-02T01:57:37.375Z] Login Succeeded [2024-07-02T01:57:37.375Z] nexus3.edgexfoundry.org:10003 [2024-07-02T01:57:37.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:37.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:37.634Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:37.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:37.634Z] [2024-07-02T01:57:37.634Z] Login Succeeded [2024-07-02T01:57:37.635Z] nexus3.edgexfoundry.org:10004 [2024-07-02T01:57:37.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:37.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:37.635Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:37.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:37.635Z] [2024-07-02T01:57:37.635Z] Login Succeeded [2024-07-02T01:57:37.635Z] ****.io [2024-07-02T01:57:37.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:37.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:37.896Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:37.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:37.896Z] [2024-07-02T01:57:37.896Z] Login Succeeded [2024-07-02T01:57:37.896Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T01:57:37.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-02T01:57:38.313Z] + git rev-list -1 --merges b7a2f1edf3de431b6849887a9fcc8db68db620bc~1..b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo [2024-07-02T01:57:38.343Z] -----------> git rev-list -1 --merges b7a2f1edf3de431b6849887a9fcc8db68db620bc~1..b7a2f1edf3de431b6849887a9fcc8db68db620bc b7a2f1edf3de431b6849887a9fcc8db68db620bc [false] [Pipeline] sh [2024-07-02T01:57:38.646Z] + git log --format=format:%s -1 b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo [2024-07-02T01:57:38.665Z] ========================================================= [2024-07-02T01:57:38.665Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-02T01:57:38.665Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T01:57:39.011Z] + git log --format=format:%s -1 b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo [2024-07-02T01:57:39.024Z] [semverPrep] GIT_COMMIT: b7a2f1edf3de431b6849887a9fcc8db68db620bc, Commit Message: feat: Allow empty profileName in Device [Pipeline] echo [2024-07-02T01:57:39.040Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-02T01:57:39.421Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-02T01:57:39.421Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-02T01:57:39.421Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-02T01:57:39.421Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-02T01:57:39.421Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-02T01:57:39.421Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-02T01:57:39.421Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T01:57:39.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T01:57:39.839Z] [2024-07-02T01:57:39.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T01:57:40.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T01:57:40.143Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-02T01:57:40.143Z] b85a868b505f: Pulling fs layer [2024-07-02T01:57:40.143Z] e2be974225ed: Pulling fs layer [2024-07-02T01:57:40.143Z] 339a4e72a1f5: Pulling fs layer [2024-07-02T01:57:40.143Z] 988bab9f4d93: Pulling fs layer [2024-07-02T01:57:40.143Z] 1469e6f7b9e6: Pulling fs layer [2024-07-02T01:57:40.143Z] eaf3925da568: Pulling fs layer [2024-07-02T01:57:40.143Z] bab4dde63d76: Pulling fs layer [2024-07-02T01:57:40.143Z] bde34c3a00c8: Pulling fs layer [2024-07-02T01:57:40.143Z] b352a97aabf1: Pulling fs layer [2024-07-02T01:57:40.143Z] 4872d77fe225: Pulling fs layer [2024-07-02T01:57:40.143Z] 5851b861e8e6: Pulling fs layer [2024-07-02T01:57:40.143Z] 988bab9f4d93: Waiting [2024-07-02T01:57:40.143Z] 1469e6f7b9e6: Waiting [2024-07-02T01:57:40.143Z] eaf3925da568: Waiting [2024-07-02T01:57:40.143Z] bab4dde63d76: Waiting [2024-07-02T01:57:40.143Z] bde34c3a00c8: Waiting [2024-07-02T01:57:40.143Z] b352a97aabf1: Waiting [2024-07-02T01:57:40.143Z] 4872d77fe225: Waiting [2024-07-02T01:57:40.143Z] 5851b861e8e6: Waiting [2024-07-02T01:57:40.143Z] e2be974225ed: Download complete [2024-07-02T01:57:40.143Z] 988bab9f4d93: Verifying Checksum [2024-07-02T01:57:40.143Z] 988bab9f4d93: Download complete [2024-07-02T01:57:40.143Z] 1469e6f7b9e6: Verifying Checksum [2024-07-02T01:57:40.143Z] 1469e6f7b9e6: Download complete [2024-07-02T01:57:40.143Z] 339a4e72a1f5: Verifying Checksum [2024-07-02T01:57:40.143Z] 339a4e72a1f5: Download complete [2024-07-02T01:57:40.143Z] eaf3925da568: Verifying Checksum [2024-07-02T01:57:40.143Z] eaf3925da568: Download complete [2024-07-02T01:57:40.403Z] b352a97aabf1: Download complete [2024-07-02T01:57:40.403Z] 4872d77fe225: Verifying Checksum [2024-07-02T01:57:40.403Z] 4872d77fe225: Download complete [2024-07-02T01:57:40.403Z] 5851b861e8e6: Download complete [2024-07-02T01:57:40.403Z] b85a868b505f: Verifying Checksum [2024-07-02T01:57:40.403Z] b85a868b505f: Download complete [2024-07-02T01:57:40.661Z] bab4dde63d76: Verifying Checksum [2024-07-02T01:57:40.661Z] bab4dde63d76: Download complete [2024-07-02T01:57:41.597Z] b85a868b505f: Pull complete [2024-07-02T01:57:41.597Z] e2be974225ed: Pull complete [2024-07-02T01:57:42.163Z] 339a4e72a1f5: Pull complete [2024-07-02T01:57:42.163Z] 988bab9f4d93: Pull complete [2024-07-02T01:57:42.423Z] 1469e6f7b9e6: Pull complete [2024-07-02T01:57:42.681Z] eaf3925da568: Pull complete [2024-07-02T01:57:44.582Z] bab4dde63d76: Pull complete [2024-07-02T01:57:44.582Z] bde34c3a00c8: Pull complete [2024-07-02T01:57:44.582Z] b352a97aabf1: Pull complete [2024-07-02T01:57:44.582Z] 4872d77fe225: Pull complete [2024-07-02T01:57:44.582Z] 5851b861e8e6: Pull complete [2024-07-02T01:57:44.582Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-02T01:57:44.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-02T01:57:44.582Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T01:57:44.718Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2024-07-02T01:57:44.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@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-devops/py-git-semver:0.1.4 cat [2024-07-02T01:57:47.635Z] $ docker top 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d -eo pid,comm [2024-07-02T01:57:47.689Z] 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-07-02T01:57:47.689Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-02T01:57:47.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T01:57:47.750Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T01:57:47.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T01:57:47.854Z] $ docker exec 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent [2024-07-02T01:57:47.968Z] SSH_AUTH_SOCK=/tmp/ssh-LSdNg9JTVP6t/agent.32 [2024-07-02T01:57:47.968Z] SSH_AGENT_PID=38 [2024-07-02T01:57:47.975Z] Running ssh-add (command line suppressed) [2024-07-02T01:57:48.088Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_6739798966256180820.key (/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_6739798966256180820.key) [2024-07-02T01:57:48.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T01:57:48.392Z] + git tag --points-at HEAD [Pipeline] } [2024-07-02T01:57:48.399Z] $ docker exec --env ******** --env ******** 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent -k [2024-07-02T01:57:48.502Z] unset SSH_AUTH_SOCK; [2024-07-02T01:57:48.503Z] unset SSH_AGENT_PID; [2024-07-02T01:57:48.503Z] echo Agent pid 38 killed; [2024-07-02T01:57:48.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-02T01:57:48.556Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-02T01:57:48.556Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-02T01:57:48.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-02T01:57:48.654Z] $ docker exec 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent [2024-07-02T01:57:48.757Z] SSH_AUTH_SOCK=/tmp/ssh-jameCTPU5zHJ/agent.72 [2024-07-02T01:57:48.757Z] SSH_AGENT_PID=78 [2024-07-02T01:57:48.762Z] Running ssh-add (command line suppressed) [2024-07-02T01:57:48.853Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_13736813910566370060.key (/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/private_key_13736813910566370060.key) [2024-07-02T01:57:48.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-02T01:57:49.165Z] + git semver init [2024-07-02T01:57:49.424Z] 2024-07-02 01:57:49,317 [run_init] DEBUG init version:0.0.0 force:False [2024-07-02T01:57:49.424Z] 2024-07-02 01:57:49,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver [2024-07-02T01:57:49.424Z] 2024-07-02 01:57:49,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver [2024-07-02T01:57:49.424Z] 2024-07-02 01:57:49,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589, universal_newlines=False, shell=None, istream=None) [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,204 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.git/info/exclude [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 with force:False [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,204 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,209 [execute] INFO git cat-file --batch-check [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,216 [execute] INFO git cat-file --batch [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver, universal_newlines=False, shell=None, istream=) [2024-07-02T01:57:51.330Z] 2024-07-02 01:57:51,221 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 [2024-07-02T01:57:51.330Z] 0.0.0 [Pipeline] } [2024-07-02T01:57:51.334Z] $ docker exec --env ******** --env ******** 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent -k [2024-07-02T01:57:51.427Z] unset SSH_AUTH_SOCK; [2024-07-02T01:57:51.427Z] unset SSH_AGENT_PID; [2024-07-02T01:57:51.429Z] echo Agent pid 78 killed; [2024-07-02T01:57:51.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-02T01:57:51.772Z] + git semver [Pipeline] } [2024-07-02T01:57:52.040Z] $ docker stop --time=1 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d [2024-07-02T01:57:53.317Z] $ docker rm -f --volumes 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T01:57:53.664Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-02T01:57:53.905Z] Stashed 1 file(s) [Pipeline] echo [2024-07-02T01:57:53.907Z] [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-07-02T01:57:54.080Z] provisioning config files... [2024-07-02T01:57:54.089Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config16173556286646793785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T01:57:54.389Z] ---> ****-login.sh [2024-07-02T01:57:54.389Z] nexus3.edgexfoundry.org:10001 [2024-07-02T01:57:54.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:54.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:54.389Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:54.389Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:54.389Z] [2024-07-02T01:57:54.389Z] Login Succeeded [2024-07-02T01:57:54.389Z] nexus3.edgexfoundry.org:10002 [2024-07-02T01:57:54.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:54.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:54.390Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:54.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:54.390Z] [2024-07-02T01:57:54.390Z] Login Succeeded [2024-07-02T01:57:54.390Z] nexus3.edgexfoundry.org:10003 [2024-07-02T01:57:54.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:54.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:54.651Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:54.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:54.651Z] [2024-07-02T01:57:54.651Z] Login Succeeded [2024-07-02T01:57:54.651Z] nexus3.edgexfoundry.org:10004 [2024-07-02T01:57:54.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:54.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:54.652Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:54.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:54.652Z] [2024-07-02T01:57:54.652Z] Login Succeeded [2024-07-02T01:57:54.652Z] ****.io [2024-07-02T01:57:54.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T01:57:54.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T01:57:54.911Z] Configure a credential helper to remove this warning. See [2024-07-02T01:57:54.911Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T01:57:54.911Z] [2024-07-02T01:57:54.911Z] Login Succeeded [2024-07-02T01:57:54.911Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T01:57:54.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T01:57:55.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T01:57:55.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T01:57:55.048Z] ========================================================= [2024-07-02T01:57:55.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-02T01:57:55.048Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T01:57:55.381Z] + 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-07-02T01:57:55.381Z] Sending build context to Docker daemon 25.02MB [2024-07-02T01:57:55.381Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T01:57:55.381Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T01:57:55.641Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-02T01:57:55.641Z] 619be1103602: Pulling fs layer [2024-07-02T01:57:55.641Z] 7862e08f4a3e: Pulling fs layer [2024-07-02T01:57:55.641Z] 5df492c9dc93: Pulling fs layer [2024-07-02T01:57:55.641Z] 7629e6793208: Pulling fs layer [2024-07-02T01:57:55.641Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T01:57:55.641Z] fb5054dd5b73: Pulling fs layer [2024-07-02T01:57:55.641Z] eeca6798cff9: Pulling fs layer [2024-07-02T01:57:55.641Z] 4f4fb700ef54: Waiting [2024-07-02T01:57:55.641Z] fb5054dd5b73: Waiting [2024-07-02T01:57:55.641Z] eeca6798cff9: Waiting [2024-07-02T01:57:55.641Z] 7629e6793208: Waiting [2024-07-02T01:57:55.641Z] aa269ceb94a6: Pulling fs layer [2024-07-02T01:57:55.641Z] ada007ff1a6a: Pulling fs layer [2024-07-02T01:57:55.641Z] aa269ceb94a6: Waiting [2024-07-02T01:57:55.641Z] ada007ff1a6a: Waiting [2024-07-02T01:57:55.641Z] 7629e6793208: Verifying Checksum [2024-07-02T01:57:55.641Z] 7629e6793208: Download complete [2024-07-02T01:57:55.641Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T01:57:55.641Z] 4f4fb700ef54: Download complete [2024-07-02T01:57:55.641Z] fb5054dd5b73: Download complete [2024-07-02T01:57:55.641Z] 619be1103602: Verifying Checksum [2024-07-02T01:57:55.641Z] 619be1103602: Download complete [2024-07-02T01:57:55.641Z] eeca6798cff9: Download complete [2024-07-02T01:57:55.641Z] 619be1103602: Pull complete [2024-07-02T01:57:55.899Z] ada007ff1a6a: Verifying Checksum [2024-07-02T01:57:55.899Z] ada007ff1a6a: Download complete [2024-07-02T01:57:55.899Z] 7862e08f4a3e: Pull complete [2024-07-02T01:57:55.899Z] 5df492c9dc93: Verifying Checksum [2024-07-02T01:57:55.899Z] 5df492c9dc93: Download complete [2024-07-02T01:57:56.465Z] aa269ceb94a6: Verifying Checksum [2024-07-02T01:57:56.465Z] aa269ceb94a6: Download complete [2024-07-02T01:57:59.747Z] 5df492c9dc93: Pull complete [2024-07-02T01:57:59.747Z] 7629e6793208: Pull complete [2024-07-02T01:57:59.747Z] 4f4fb700ef54: Pull complete [2024-07-02T01:57:59.747Z] fb5054dd5b73: Pull complete [2024-07-02T01:57:59.747Z] eeca6798cff9: Pull complete [2024-07-02T01:58:02.278Z] aa269ceb94a6: Pull complete [2024-07-02T01:58:02.536Z] ada007ff1a6a: Pull complete [2024-07-02T01:58:02.536Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-02T01:58:02.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-02T01:58:02.536Z] ---> f489d0715acc [2024-07-02T01:58:02.536Z] Step 3/10 : ARG MAKE=make build [2024-07-02T01:58:06.726Z] ---> Running in a2f6d4b14f2f [2024-07-02T01:58:06.726Z] Removing intermediate container a2f6d4b14f2f [2024-07-02T01:58:06.726Z] ---> 0510f481b292 [2024-07-02T01:58:06.726Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-02T01:58:06.726Z] ---> Running in 4cf43ee07a2f [2024-07-02T01:58:06.726Z] Removing intermediate container 4cf43ee07a2f [2024-07-02T01:58:06.726Z] ---> 54b871f19790 [2024-07-02T01:58:06.726Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-02T01:58:06.726Z] ---> Running in 9c3b46dd3f89 [2024-07-02T01:58:06.726Z] Removing intermediate container 9c3b46dd3f89 [2024-07-02T01:58:06.726Z] ---> 21453dd1c610 [2024-07-02T01:58:06.726Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-02T01:58:06.726Z] ---> Running in 55c37937930a [2024-07-02T01:58:06.985Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T01:58:07.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T01:58:07.502Z] OK: 264 MiB in 52 packages [2024-07-02T01:58:07.761Z] Removing intermediate container 55c37937930a [2024-07-02T01:58:07.761Z] ---> c4e4f4d016ce [2024-07-02T01:58:07.761Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T01:58:08.019Z] ---> 53f7e4be5f26 [2024-07-02T01:58:08.019Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T01:58:08.019Z] ---> Running in 796111ed0a6e [2024-07-02T01:58:09.028Z] Still waiting to schedule task [2024-07-02T01:58:09.029Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4740’ [2024-07-02T01:59:16.502Z] Removing intermediate container 796111ed0a6e [2024-07-02T01:59:16.502Z] ---> bfe9cae79d92 [2024-07-02T01:59:16.502Z] Step 9/10 : COPY . . [2024-07-02T01:59:16.502Z] ---> ee428ff36c4b [2024-07-02T01:59:16.502Z] Step 10/10 : RUN ${MAKE} [2024-07-02T01:59:16.502Z] ---> Running in 15004e37e0ff [2024-07-02T01:59:16.502Z] noop [2024-07-02T01:59:16.502Z] Removing intermediate container 15004e37e0ff [2024-07-02T01:59:16.502Z] ---> ba11a6c5c21f [2024-07-02T01:59:16.502Z] Successfully built ba11a6c5c21f [2024-07-02T01:59:16.502Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T01:59:16.825Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T01:59:16.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T01:59:16.904Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2024-07-02T01:59:16.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T01:59:17.289Z] $ docker top ed66b1d386a7a6e3ac4619be44021d700382c62da151f83f0dcb33ab09f1b3a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T01:59:17.656Z] + go version [2024-07-02T01:59:17.656Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-02T01:59:17.658Z] $ docker stop --time=1 ed66b1d386a7a6e3ac4619be44021d700382c62da151f83f0dcb33ab09f1b3a7 [2024-07-02T01:59:18.940Z] $ docker rm -f --volumes ed66b1d386a7a6e3ac4619be44021d700382c62da151f83f0dcb33ab09f1b3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T01:59:19.370Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-02T01:59:19.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T01:59:19.451Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2024-07-02T01:59:19.469Z] $ 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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-02T01:59:19.852Z] $ docker top b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T01:59:20.218Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1589 [Pipeline] fileExists [Pipeline] sh [2024-07-02T01:59:20.514Z] + make test [2024-07-02T01:59:20.515Z] go test -race -coverprofile=coverage.out ./... [2024-07-02T01:59:28.642Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-02T02:00:07.395Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 27.6% of statements [2024-07-02T02:00:07.395Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 80.0% of statements [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-02T02:00:07.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-02T02:00:07.654Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-02T02:00:07.654Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-07-02T02:00:07.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-02T02:00:07.915Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-02T02:00:08.850Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2024-07-02T02:00:09.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-02T02:00:11.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.037s coverage: 14.4% of statements [2024-07-02T02:00:11.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.850s coverage: 44.6% of statements [2024-07-02T02:00:11.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements [2024-07-02T02:00:11.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.090s coverage: 89.2% of statements [2024-07-02T02:00:11.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.5% of statements [2024-07-02T02:00:50.735Z] GO111MODULE=on go vet ./... [2024-07-02T02:00:50.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T02:00:50.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T02:00:50.735Z] ./bin/test-attribution-txt.sh [2024-07-02T02:00:50.735Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T02:00:50.735Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T02:00:50.994Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T02:00:50.995Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T02:00:51.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T02:00:51.021Z] $ docker stop --time=1 b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 [2024-07-02T02:00:55.727Z] $ docker rm -f --volumes b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T02:00:56.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T02:00:56.447Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-02T02:00:57.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T02:00:57.290Z] + ls -al . [2024-07-02T02:00:57.290Z] total 376 [2024-07-02T02:00:57.290Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 2 01:59 . [2024-07-02T02:00:57.290Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:57 .. [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 01:57 .dockerignore [2024-07-02T02:00:57.290Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 02:00 .git [2024-07-02T02:00:57.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:57 .github [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 2 01:57 .gitignore [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 01:57 .golangci.yml [2024-07-02T02:00:57.290Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 01:57 .semver [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 2 01:57 CHANGELOG.md [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 01:57 GOVERNANCE.md [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 2 01:57 Jenkinsfile [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 2 01:57 LICENSE [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 2 01:57 Makefile [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 2 01:57 OWNERS.md [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 2 01:57 README.md [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 01:57 VERSION [2024-07-02T02:00:57.290Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:57 bin [2024-07-02T02:00:57.290Z] -rw-r--r-- 1 jenkins jenkins 122321 Jul 2 02:00 coverage.out [2024-07-02T02:00:57.290Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 01:57 example [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 2 01:57 go.mod [2024-07-02T02:00:57.290Z] -rw-rw-r-- 1 jenkins jenkins 101736 Jul 2 01:57 go.sum [2024-07-02T02:00:57.290Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 01:57 internal [2024-07-02T02:00:57.290Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:57 openapi [2024-07-02T02:00:57.291Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 2 01:57 pkg [2024-07-02T02:00:57.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:57 snap [2024-07-02T02:00:57.291Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 2 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:00:57.607Z] + 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=b7a2f1edf3de431b6849887a9fcc8db68db620bc --label arch=amd64 --label version=0.0.0 . [2024-07-02T02:00:57.608Z] Sending build context to Docker daemon 25.15MB [2024-07-02T02:00:57.608Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T02:00:57.608Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-02T02:00:57.608Z] ---> ba11a6c5c21f [2024-07-02T02:00:57.608Z] Step 3/24 : ARG MAKE=make build [2024-07-02T02:00:58.173Z] ---> Running in 0d35d4484904 [2024-07-02T02:00:58.173Z] Removing intermediate container 0d35d4484904 [2024-07-02T02:00:58.173Z] ---> 0c6d441e243f [2024-07-02T02:00:58.173Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-02T02:00:58.173Z] ---> Running in 900939cd1220 [2024-07-02T02:00:58.173Z] Removing intermediate container 900939cd1220 [2024-07-02T02:00:58.173Z] ---> 5a0a5b46e9bd [2024-07-02T02:00:58.173Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-02T02:00:58.431Z] ---> Running in 97e43b10b624 [2024-07-02T02:00:58.431Z] Removing intermediate container 97e43b10b624 [2024-07-02T02:00:58.431Z] ---> 966b41f5466a [2024-07-02T02:00:58.431Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-02T02:00:58.431Z] ---> Running in 806a85d82e68 [2024-07-02T02:00:58.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T02:00:58.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T02:00:59.255Z] OK: 264 MiB in 52 packages [2024-07-02T02:00:59.512Z] Removing intermediate container 806a85d82e68 [2024-07-02T02:00:59.512Z] ---> bebfbe904166 [2024-07-02T02:00:59.512Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-02T02:00:59.512Z] ---> 29b6d7591602 [2024-07-02T02:00:59.512Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T02:00:59.512Z] ---> Running in 434dfbfc0742 [2024-07-02T02:01:00.079Z] Removing intermediate container 434dfbfc0742 [2024-07-02T02:01:00.079Z] ---> fc39bf3cc43c [2024-07-02T02:01:00.079Z] Step 9/24 : COPY . . [2024-07-02T02:01:01.014Z] ---> b176cc85afed [2024-07-02T02:01:01.014Z] Step 10/24 : RUN ${MAKE} [2024-07-02T02:01:01.014Z] ---> Running in b72c361a3281 [2024-07-02T02:01:01.272Z] 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-07-02T02:01:33.350Z] Removing intermediate container b72c361a3281 [2024-07-02T02:01:33.350Z] ---> 2dfa8911356f [2024-07-02T02:01:33.350Z] Step 11/24 : FROM alpine:3.18 [2024-07-02T02:01:33.350Z] 3.18: Pulling from library/alpine [2024-07-02T02:01:33.350Z] 73baa7ef167e: Pulling fs layer [2024-07-02T02:01:33.350Z] 73baa7ef167e: Verifying Checksum [2024-07-02T02:01:33.350Z] 73baa7ef167e: Download complete [2024-07-02T02:01:33.350Z] 73baa7ef167e: Pull complete [2024-07-02T02:01:33.350Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T02:01:33.350Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T02:01:33.350Z] ---> 8fd7cac70a4a [2024-07-02T02:01:33.350Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-02T02:01:33.350Z] ---> Running in 1bf886fbe9de [2024-07-02T02:01:33.350Z] Removing intermediate container 1bf886fbe9de [2024-07-02T02:01:33.350Z] ---> 5da85a5db9b0 [2024-07-02T02:01:33.350Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-02T02:01:33.350Z] ---> Running in dafd6dc0d3de [2024-07-02T02:01:33.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T02:01:33.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T02:01:33.350Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T02:01:33.350Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T02:01:33.350Z] OK: 7 MiB in 16 packages [2024-07-02T02:01:33.350Z] Removing intermediate container dafd6dc0d3de [2024-07-02T02:01:33.350Z] ---> a776ae4e365e [2024-07-02T02:01:33.350Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-02T02:01:33.350Z] ---> Running in 76ed94e16a8b [2024-07-02T02:01:33.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-02T02:01:33.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-02T02:01:33.350Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T02:01:33.350Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T02:01:33.350Z] OK: 7 MiB in 16 packages [2024-07-02T02:01:33.350Z] Removing intermediate container 76ed94e16a8b [2024-07-02T02:01:33.350Z] ---> d617a2554bad [2024-07-02T02:01:33.350Z] Step 15/24 : WORKDIR / [2024-07-02T02:01:33.350Z] ---> Running in 7e6127332d1f [2024-07-02T02:01:33.350Z] Removing intermediate container 7e6127332d1f [2024-07-02T02:01:33.350Z] ---> 4c5f491fdc1f [2024-07-02T02:01:33.350Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-02T02:01:33.350Z] ---> 85956f2c4129 [2024-07-02T02:01:33.350Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-02T02:01:33.609Z] ---> fb7018947028 [2024-07-02T02:01:33.609Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-02T02:01:33.868Z] ---> ab84a48351c5 [2024-07-02T02:01:33.868Z] Step 19/24 : EXPOSE 59999 [2024-07-02T02:01:33.868Z] ---> Running in 1e08dc49f631 [2024-07-02T02:01:33.868Z] Removing intermediate container 1e08dc49f631 [2024-07-02T02:01:33.868Z] ---> 9f2f87ab5de1 [2024-07-02T02:01:33.868Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-02T02:01:33.868Z] ---> Running in 4adbf25570ea [2024-07-02T02:01:34.127Z] Removing intermediate container 4adbf25570ea [2024-07-02T02:01:34.127Z] ---> b076b9c07d68 [2024-07-02T02:01:34.127Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-02T02:01:34.127Z] ---> Running in 38f0fab7077c [2024-07-02T02:01:34.127Z] Removing intermediate container 38f0fab7077c [2024-07-02T02:01:34.127Z] ---> 77939c0ff1f3 [2024-07-02T02:01:34.127Z] Step 22/24 : LABEL arch=amd64 [2024-07-02T02:01:34.127Z] ---> Running in 82741e86dccb [2024-07-02T02:01:34.127Z] Removing intermediate container 82741e86dccb [2024-07-02T02:01:34.127Z] ---> c5887b001506 [2024-07-02T02:01:34.127Z] Step 23/24 : LABEL git_sha=b7a2f1edf3de431b6849887a9fcc8db68db620bc [2024-07-02T02:01:34.127Z] ---> Running in 8f79d04ee869 [2024-07-02T02:01:34.385Z] Removing intermediate container 8f79d04ee869 [2024-07-02T02:01:34.385Z] ---> 5292e63e682b [2024-07-02T02:01:34.385Z] Step 24/24 : LABEL version=0.0.0 [2024-07-02T02:01:34.385Z] ---> Running in fd26c71610dd [2024-07-02T02:01:34.385Z] Removing intermediate container fd26c71610dd [2024-07-02T02:01:34.385Z] ---> 5e9dfbc355a2 [2024-07-02T02:01:34.385Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T02:01:34.385Z] Successfully built 5e9dfbc355a2 [2024-07-02T02:01:34.385Z] 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-07-02T02:01:34.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T02:01:34.865Z] [2024-07-02T02:01:34.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:01:35.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T02:01:35.166Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-02T02:01:35.166Z] 5eb5b503b376: Pulling fs layer [2024-07-02T02:01:35.166Z] 5c69ac0246d0: Pulling fs layer [2024-07-02T02:01:35.166Z] ec43610c2a17: Pulling fs layer [2024-07-02T02:01:35.166Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-02T02:01:35.166Z] 33b1e0a273af: Pulling fs layer [2024-07-02T02:01:35.166Z] 5d3b04190fa2: Pulling fs layer [2024-07-02T02:01:35.166Z] 2f39f015ded8: Pulling fs layer [2024-07-02T02:01:35.166Z] 3a2ae6a8a46f: Waiting [2024-07-02T02:01:35.166Z] 33b1e0a273af: Waiting [2024-07-02T02:01:35.166Z] 5d3b04190fa2: Waiting [2024-07-02T02:01:35.166Z] 5c69ac0246d0: Verifying Checksum [2024-07-02T02:01:35.166Z] 5c69ac0246d0: Download complete [2024-07-02T02:01:35.166Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-02T02:01:35.166Z] 3a2ae6a8a46f: Download complete [2024-07-02T02:01:35.166Z] 33b1e0a273af: Verifying Checksum [2024-07-02T02:01:35.166Z] 33b1e0a273af: Download complete [2024-07-02T02:01:35.166Z] ec43610c2a17: Verifying Checksum [2024-07-02T02:01:35.166Z] ec43610c2a17: Download complete [2024-07-02T02:01:35.166Z] 5d3b04190fa2: Download complete [2024-07-02T02:01:35.422Z] 5eb5b503b376: Verifying Checksum [2024-07-02T02:01:35.422Z] 5eb5b503b376: Download complete [2024-07-02T02:01:35.985Z] 2f39f015ded8: Verifying Checksum [2024-07-02T02:01:35.985Z] 2f39f015ded8: Download complete [2024-07-02T02:01:36.549Z] 5eb5b503b376: Pull complete [2024-07-02T02:01:36.549Z] 5c69ac0246d0: Pull complete [2024-07-02T02:01:37.114Z] ec43610c2a17: Pull complete [2024-07-02T02:01:37.114Z] 3a2ae6a8a46f: Pull complete [2024-07-02T02:01:37.371Z] 33b1e0a273af: Pull complete [2024-07-02T02:01:37.372Z] 5d3b04190fa2: Pull complete [2024-07-02T02:01:41.551Z] 2f39f015ded8: Pull complete [2024-07-02T02:01:41.551Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-02T02:01:41.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T02:01:41.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T02:01:41.644Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2024-07-02T02:01:41.663Z] $ 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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T02:01:44.283Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4742 in /w/workspace/gexfoundry_device-sdk-go_PR-1589 [2024-07-02T02:01:44.967Z] $ docker top 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-07-02T02:01:45.135Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-07-02T02:01:45.180Z] The recommended git tool is: git [2024-07-02T02:01:45.388Z] ---> job-cost.sh [2024-07-02T02:01:45.388Z] lf-activate-venv: SKIPPING [2024-07-02T02:01:45.388Z] INFO: No Stack... [2024-07-02T02:01:45.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T02:01:46.213Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T02:01:46.507Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/cost.csv [2024-07-02T02:01:46.507Z] + cut -d, -f6 [Pipeline] lock [2024-07-02T02:01:46.520Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [2024-07-02T02:01:46.529Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] did not exist. Created. [2024-07-02T02:01:46.536Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T02:01:46.854Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-02T02:01:46.893Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T02:01:46.903Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T02:01:46.917Z] $ docker stop --time=1 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 [2024-07-02T02:01:48.077Z] $ docker rm -f --volumes 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-02T02:01:54.016Z] using credential edgex-jenkins-ssh [2024-07-02T02:01:54.037Z] Cloning the remote Git repository [2024-07-02T02:01:54.081Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-02T02:01:54.214Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-07-02T02:01:54.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-02T02:01:54.436Z] > git --version # timeout=10 [2024-07-02T02:01:54.536Z] > git --version # 'git version 2.25.1' [2024-07-02T02:01:54.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T02:01:54.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T02:01:58.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-02T02:01:58.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-02T02:01:59.808Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-02T02:01:59.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-02T02:01:59.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T02:01:59.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1589/head:refs/remotes/origin/PR-1589 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-02T02:02:00.589Z] Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit b7a2f1edf3de431b6849887a9fcc8db68db620bc [2024-07-02T02:02:00.911Z] Merge succeeded, producing b7a2f1edf3de431b6849887a9fcc8db68db620bc [2024-07-02T02:02:00.911Z] Checking out Revision b7a2f1edf3de431b6849887a9fcc8db68db620bc (PR-1589) [2024-07-02T02:02:00.604Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T02:02:00.685Z] > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # timeout=10 [2024-07-02T02:02:00.797Z] > git remote # timeout=10 [2024-07-02T02:02:00.817Z] > git config --get remote.origin.url # timeout=10 [2024-07-02T02:02:00.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-02T02:02:00.851Z] > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 [2024-07-02T02:02:00.881Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-02T02:02:00.913Z] > git config core.sparsecheckout # timeout=10 [2024-07-02T02:02:00.927Z] > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # timeout=10 [2024-07-02T02:02:04.594Z] Commit message: "feat: Allow empty profileName in Device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T02:02:06.421Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-02T02:02:06.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T02:02:06.422Z] Dload Upload Total Spent Left Speed [2024-07-02T02:02:06.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2024-07-02T02:02:06.776Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-02T02:02:07.112Z] + sudo tee /etc/docker/daemon.new [2024-07-02T02:02:07.112Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-02T02:02:07.112Z] { [2024-07-02T02:02:07.112Z] "registry-mirrors": [ [2024-07-02T02:02:07.112Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-02T02:02:07.112Z] ], [2024-07-02T02:02:07.112Z] "bip": "10.250.0.254/24", [2024-07-02T02:02:07.112Z] "hosts": [ [2024-07-02T02:02:07.112Z] "tcp://0.0.0.0:5555", [2024-07-02T02:02:07.112Z] "unix:///var/run/docker.sock" [2024-07-02T02:02:07.112Z] ], [2024-07-02T02:02:07.112Z] "mtu": 1458, [2024-07-02T02:02:07.112Z] "selinux-enabled": true, [2024-07-02T02:02:07.112Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-02T02:02:07.112Z] } [Pipeline] sh [2024-07-02T02:02:07.440Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-02T02:02:07.771Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T02:02:26.058Z] provisioning config files... [2024-07-02T02:02:26.092Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17191458781710974850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:02:26.560Z] ---> ****-login.sh [2024-07-02T02:02:26.560Z] nexus3.edgexfoundry.org:10001 [2024-07-02T02:02:27.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T02:02:27.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T02:02:27.153Z] Configure a credential helper to remove this warning. See [2024-07-02T02:02:27.153Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T02:02:27.153Z] [2024-07-02T02:02:27.153Z] Login Succeeded [2024-07-02T02:02:27.153Z] nexus3.edgexfoundry.org:10002 [2024-07-02T02:02:27.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T02:02:27.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T02:02:27.694Z] Configure a credential helper to remove this warning. See [2024-07-02T02:02:27.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T02:02:27.695Z] [2024-07-02T02:02:27.695Z] Login Succeeded [2024-07-02T02:02:27.695Z] nexus3.edgexfoundry.org:10003 [2024-07-02T02:02:27.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T02:02:27.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T02:02:27.967Z] Configure a credential helper to remove this warning. See [2024-07-02T02:02:27.967Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T02:02:27.967Z] [2024-07-02T02:02:27.967Z] Login Succeeded [2024-07-02T02:02:27.967Z] nexus3.edgexfoundry.org:10004 [2024-07-02T02:02:28.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T02:02:28.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T02:02:28.240Z] Configure a credential helper to remove this warning. See [2024-07-02T02:02:28.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T02:02:28.240Z] [2024-07-02T02:02:28.240Z] Login Succeeded [2024-07-02T02:02:28.240Z] ****.io [2024-07-02T02:02:28.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-02T02:02:28.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-02T02:02:28.777Z] Configure a credential helper to remove this warning. See [2024-07-02T02:02:28.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-02T02:02:28.777Z] [2024-07-02T02:02:28.777Z] Login Succeeded [2024-07-02T02:02:28.777Z] ---> ****-login.sh ends [Pipeline] } [2024-07-02T02:02:28.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-02T02:02:29.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T02:02:29.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-02T02:02:29.154Z] ========================================================= [2024-07-02T02:02:29.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-02T02:02:29.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:02:29.502Z] + 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-07-02T02:02:30.087Z] Sending build context to Docker daemon 12.96MB [2024-07-02T02:02:30.087Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T02:02:30.087Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-02T02:02:30.357Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-02T02:02:30.357Z] c6b39de5b339: Pulling fs layer [2024-07-02T02:02:30.357Z] a69c41024577: Pulling fs layer [2024-07-02T02:02:30.357Z] d6de4b400683: Pulling fs layer [2024-07-02T02:02:30.357Z] 35cb2a7552d0: Pulling fs layer [2024-07-02T02:02:30.357Z] 4f4fb700ef54: Pulling fs layer [2024-07-02T02:02:30.357Z] 464afbd9ba4c: Pulling fs layer [2024-07-02T02:02:30.357Z] 00f215d4a9da: Pulling fs layer [2024-07-02T02:02:30.357Z] d496ad576159: Pulling fs layer [2024-07-02T02:02:30.357Z] 35cb2a7552d0: Waiting [2024-07-02T02:02:30.357Z] d496ad576159: Waiting [2024-07-02T02:02:30.357Z] 00f215d4a9da: Waiting [2024-07-02T02:02:30.357Z] 4f4fb700ef54: Waiting [2024-07-02T02:02:30.357Z] 464afbd9ba4c: Waiting [2024-07-02T02:02:30.357Z] a69c41024577: Verifying Checksum [2024-07-02T02:02:30.357Z] a69c41024577: Download complete [2024-07-02T02:02:30.357Z] 35cb2a7552d0: Verifying Checksum [2024-07-02T02:02:30.357Z] 35cb2a7552d0: Download complete [2024-07-02T02:02:30.357Z] 4f4fb700ef54: Verifying Checksum [2024-07-02T02:02:30.357Z] 4f4fb700ef54: Download complete [2024-07-02T02:02:30.357Z] 464afbd9ba4c: Verifying Checksum [2024-07-02T02:02:30.357Z] 464afbd9ba4c: Download complete [2024-07-02T02:02:30.357Z] c6b39de5b339: Verifying Checksum [2024-07-02T02:02:30.357Z] c6b39de5b339: Download complete [2024-07-02T02:02:30.943Z] d496ad576159: Verifying Checksum [2024-07-02T02:02:30.943Z] d496ad576159: Download complete [2024-07-02T02:02:31.214Z] c6b39de5b339: Pull complete [2024-07-02T02:02:31.800Z] a69c41024577: Pull complete [2024-07-02T02:02:32.385Z] d6de4b400683: Verifying Checksum [2024-07-02T02:02:32.385Z] d6de4b400683: Download complete [2024-07-02T02:02:33.349Z] 00f215d4a9da: Verifying Checksum [2024-07-02T02:02:33.349Z] 00f215d4a9da: Download complete [2024-07-02T02:02:45.662Z] d6de4b400683: Pull complete [2024-07-02T02:02:45.662Z] 35cb2a7552d0: Pull complete [2024-07-02T02:02:45.662Z] 4f4fb700ef54: Pull complete [2024-07-02T02:02:45.662Z] 464afbd9ba4c: Pull complete [2024-07-02T02:02:53.936Z] 00f215d4a9da: Pull complete [2024-07-02T02:02:55.885Z] d496ad576159: Pull complete [2024-07-02T02:02:55.885Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-02T02:02:55.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-02T02:02:55.885Z] ---> f246e2811388 [2024-07-02T02:02:55.885Z] Step 3/10 : ARG MAKE=make build [2024-07-02T02:02:57.833Z] ---> Running in ec478901cd9f [2024-07-02T02:02:57.833Z] Removing intermediate container ec478901cd9f [2024-07-02T02:02:57.833Z] ---> cc0d4363bb82 [2024-07-02T02:02:57.833Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-02T02:02:58.100Z] ---> Running in 8552e7ec84c3 [2024-07-02T02:02:58.371Z] Removing intermediate container 8552e7ec84c3 [2024-07-02T02:02:58.371Z] ---> 650c503454ba [2024-07-02T02:02:58.371Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-02T02:02:58.371Z] ---> Running in 4026ffc97372 [2024-07-02T02:02:58.642Z] Removing intermediate container 4026ffc97372 [2024-07-02T02:02:58.642Z] ---> 6995f808ba8a [2024-07-02T02:02:58.642Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-02T02:02:58.642Z] ---> Running in 93ecf887a689 [2024-07-02T02:03:00.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T02:03:00.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T02:03:01.774Z] OK: 266 MiB in 52 packages [2024-07-02T02:03:02.761Z] Removing intermediate container 93ecf887a689 [2024-07-02T02:03:02.761Z] ---> 8a5605508d66 [2024-07-02T02:03:02.761Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-02T02:03:03.029Z] ---> 35559d2321f4 [2024-07-02T02:03:03.029Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T02:03:03.315Z] ---> Running in d56a40759eca [2024-07-02T02:04:54.983Z] Removing intermediate container d56a40759eca [2024-07-02T02:04:54.983Z] ---> 910558219fc4 [2024-07-02T02:04:54.983Z] Step 9/10 : COPY . . [2024-07-02T02:04:54.983Z] ---> b8755fe26642 [2024-07-02T02:04:54.983Z] Step 10/10 : RUN ${MAKE} [2024-07-02T02:04:54.983Z] ---> Running in d0246d66faa9 [2024-07-02T02:04:54.983Z] noop [2024-07-02T02:04:54.983Z] Removing intermediate container d0246d66faa9 [2024-07-02T02:04:54.983Z] ---> 3b736142252c [2024-07-02T02:04:54.983Z] Successfully built 3b736142252c [2024-07-02T02:04:54.983Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:04:55.340Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T02:04:55.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T02:04:55.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2024-07-02T02:04:55.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T02:04:56.816Z] $ docker top 3a197320daa7008867310da8c82453fd3a5fa6d214cfcde07e30fad480cb7ca0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T02:04:57.662Z] + go version [2024-07-02T02:04:57.662Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-02T02:04:57.675Z] $ docker stop --time=1 3a197320daa7008867310da8c82453fd3a5fa6d214cfcde07e30fad480cb7ca0 [2024-07-02T02:04:59.277Z] $ docker rm -f --volumes 3a197320daa7008867310da8c82453fd3a5fa6d214cfcde07e30fad480cb7ca0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:04:59.845Z] + docker inspect -f . ci-base-image-arm64 [2024-07-02T02:04:59.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T02:05:00.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2024-07-02T02:05:00.087Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-02T02:05:01.301Z] $ docker top 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T02:05:02.118Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-02T02:05:02.775Z] + make test [2024-07-02T02:05:02.776Z] go test -race -coverprofile=coverage.out ./... [2024-07-02T02:05:49.607Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-02T02:09:11.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-02T02:09:11.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-02T02:09:11.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-02T02:09:11.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-02T02:09:11.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-02T02:09:15.640Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.129s coverage: 27.6% of statements [2024-07-02T02:09:19.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.184s coverage: 80.0% of statements [2024-07-02T02:09:28.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-02T02:09:28.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-02T02:09:28.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.279s coverage: 86.0% of statements [2024-07-02T02:09:35.312Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-02T02:09:36.713Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.459s coverage: 71.8% of statements [2024-07-02T02:09:40.048Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.176s coverage: 14.4% of statements [2024-07-02T02:09:40.048Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.782s coverage: 44.6% of statements [2024-07-02T02:09:40.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-02T02:09:40.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-02T02:09:42.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.310s coverage: 68.5% of statements [2024-07-02T02:09:44.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.401s coverage: 89.2% of statements [2024-07-02T02:09:48.918Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-02T02:09:49.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.256s coverage: 5.5% of statements [2024-07-02T02:09:50.917Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-02T02:09:50.917Z] GO111MODULE=on go vet ./... [2024-07-02T02:13:43.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-02T02:13:43.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-02T02:13:43.367Z] ./bin/test-attribution-txt.sh [2024-07-02T02:13:43.367Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-02T02:13:43.367Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-02T02:13:43.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-02T02:13:43.409Z] $ docker stop --time=1 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f [2024-07-02T02:13:45.279Z] $ docker rm -f --volumes 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-02T02:13:47.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-02T02:13:47.454Z] Warning: overwriting stash ‘coverage-report’ [2024-07-02T02:13:48.003Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-02T02:13:48.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-02T02:13:48.721Z] + ls -al . [2024-07-02T02:13:48.721Z] total 372 [2024-07-02T02:13:48.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 02:05 . [2024-07-02T02:13:48.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 02:01 .. [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 02:02 .dockerignore [2024-07-02T02:13:48.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 02:02 .git [2024-07-02T02:13:48.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 02:02 .github [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 2 02:02 .gitignore [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 02:02 .golangci.yml [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 2 02:02 CHANGELOG.md [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 02:02 GOVERNANCE.md [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 2 02:02 Jenkinsfile [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 2 02:02 LICENSE [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 2 02:02 Makefile [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 2 02:02 OWNERS.md [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 2 02:02 README.md [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 01:57 VERSION [2024-07-02T02:13:48.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 02:02 bin [2024-07-02T02:13:48.721Z] -rw-r--r-- 1 jenkins jenkins 122321 Jul 2 02:09 coverage.out [2024-07-02T02:13:48.721Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 02:02 example [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 2 02:02 go.mod [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 101736 Jul 2 02:02 go.sum [2024-07-02T02:13:48.721Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:02 internal [2024-07-02T02:13:48.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 02:02 openapi [2024-07-02T02:13:48.721Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 2 02:02 pkg [2024-07-02T02:13:48.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 02:02 snap [2024-07-02T02:13:48.721Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 2 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:13:49.075Z] + 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=b7a2f1edf3de431b6849887a9fcc8db68db620bc --label arch=arm64 --label version=0.0.0 . [2024-07-02T02:13:49.654Z] Sending build context to Docker daemon 13.09MB [2024-07-02T02:13:49.654Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-02T02:13:49.654Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-02T02:13:49.654Z] ---> 3b736142252c [2024-07-02T02:13:49.654Z] Step 3/24 : ARG MAKE=make build [2024-07-02T02:13:49.919Z] ---> Running in 95519eb792b3 [2024-07-02T02:13:50.185Z] Removing intermediate container 95519eb792b3 [2024-07-02T02:13:50.185Z] ---> 3b31c25f4756 [2024-07-02T02:13:50.185Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-02T02:13:50.185Z] ---> Running in d2d2b591f932 [2024-07-02T02:13:50.451Z] Removing intermediate container d2d2b591f932 [2024-07-02T02:13:50.451Z] ---> 2be1be8c52e1 [2024-07-02T02:13:50.451Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-02T02:13:50.451Z] ---> Running in 2d255fe8fdee [2024-07-02T02:13:50.726Z] Removing intermediate container 2d255fe8fdee [2024-07-02T02:13:50.726Z] ---> 4d5c848443dd [2024-07-02T02:13:50.726Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-02T02:13:50.991Z] ---> Running in 6a4017aa4ce3 [2024-07-02T02:13:51.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T02:13:52.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T02:13:53.185Z] OK: 266 MiB in 52 packages [2024-07-02T02:13:54.153Z] Removing intermediate container 6a4017aa4ce3 [2024-07-02T02:13:54.153Z] ---> 1a91c5e17b18 [2024-07-02T02:13:54.153Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-02T02:13:54.418Z] ---> 977ab551ed4d [2024-07-02T02:13:54.418Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-02T02:13:54.684Z] ---> Running in 354741e46a38 [2024-07-02T02:13:56.615Z] Removing intermediate container 354741e46a38 [2024-07-02T02:13:56.615Z] ---> 35086e9695e1 [2024-07-02T02:13:56.615Z] Step 9/24 : COPY . . [2024-07-02T02:13:58.551Z] ---> ce181012001d [2024-07-02T02:13:58.551Z] Step 10/24 : RUN ${MAKE} [2024-07-02T02:13:58.551Z] ---> Running in ddc9aa5ebf79 [2024-07-02T02:13:59.513Z] 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-07-02T02:17:36.964Z] Removing intermediate container ddc9aa5ebf79 [2024-07-02T02:17:36.964Z] ---> dc740ca63ecd [2024-07-02T02:17:36.964Z] Step 11/24 : FROM alpine:3.18 [2024-07-02T02:17:36.964Z] 3.18: Pulling from library/alpine [2024-07-02T02:17:36.964Z] 5c905c7ebe2f: Pulling fs layer [2024-07-02T02:17:36.964Z] 5c905c7ebe2f: Verifying Checksum [2024-07-02T02:17:36.964Z] 5c905c7ebe2f: Download complete [2024-07-02T02:17:36.964Z] 5c905c7ebe2f: Pull complete [2024-07-02T02:17:36.964Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-02T02:17:36.964Z] Status: Downloaded newer image for alpine:3.18 [2024-07-02T02:17:36.964Z] ---> dec292d02e07 [2024-07-02T02:17:36.964Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-02T02:17:36.964Z] ---> Running in dae29f28b931 [2024-07-02T02:17:36.964Z] Removing intermediate container dae29f28b931 [2024-07-02T02:17:36.964Z] ---> b8c777ca4b70 [2024-07-02T02:17:36.964Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-02T02:17:36.964Z] ---> Running in 5a5113c4dabd [2024-07-02T02:17:36.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T02:17:36.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T02:17:36.964Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-02T02:17:36.964Z] Executing busybox-1.36.1-r7.trigger [2024-07-02T02:17:36.964Z] OK: 8 MiB in 16 packages [2024-07-02T02:17:36.964Z] Removing intermediate container 5a5113c4dabd [2024-07-02T02:17:36.964Z] ---> 5dd54588d921 [2024-07-02T02:17:36.964Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-02T02:17:36.964Z] ---> Running in fabb1f2efe61 [2024-07-02T02:17:36.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-02T02:17:36.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-02T02:17:36.964Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T02:17:36.964Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-02T02:17:36.964Z] OK: 8 MiB in 16 packages [2024-07-02T02:17:36.964Z] Removing intermediate container fabb1f2efe61 [2024-07-02T02:17:36.964Z] ---> 328d6e3dc178 [2024-07-02T02:17:36.964Z] Step 15/24 : WORKDIR / [2024-07-02T02:17:36.964Z] ---> Running in d9669170b4ac [2024-07-02T02:17:36.964Z] Removing intermediate container d9669170b4ac [2024-07-02T02:17:36.964Z] ---> 783269ecfca2 [2024-07-02T02:17:36.964Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-02T02:17:36.964Z] ---> acdfad68eb88 [2024-07-02T02:17:36.964Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-02T02:17:36.964Z] ---> b50c14148096 [2024-07-02T02:17:36.964Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-02T02:17:36.964Z] ---> b8ef58d516c8 [2024-07-02T02:17:36.964Z] Step 19/24 : EXPOSE 59999 [2024-07-02T02:17:36.964Z] ---> Running in 7fb83812f981 [2024-07-02T02:17:36.964Z] Removing intermediate container 7fb83812f981 [2024-07-02T02:17:36.964Z] ---> 832748415bd0 [2024-07-02T02:17:36.964Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-02T02:17:36.964Z] ---> Running in 40d2807fa6a0 [2024-07-02T02:17:36.964Z] Removing intermediate container 40d2807fa6a0 [2024-07-02T02:17:36.964Z] ---> d290253418a5 [2024-07-02T02:17:36.964Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-02T02:17:36.964Z] ---> Running in d51c71c8f8a8 [2024-07-02T02:17:36.964Z] Removing intermediate container d51c71c8f8a8 [2024-07-02T02:17:36.964Z] ---> cd309f5d0b32 [2024-07-02T02:17:36.964Z] Step 22/24 : LABEL arch=arm64 [2024-07-02T02:17:36.964Z] ---> Running in 3797b0644d0f [2024-07-02T02:17:36.964Z] Removing intermediate container 3797b0644d0f [2024-07-02T02:17:36.964Z] ---> 4bc133fab35a [2024-07-02T02:17:36.964Z] Step 23/24 : LABEL git_sha=b7a2f1edf3de431b6849887a9fcc8db68db620bc [2024-07-02T02:17:36.964Z] ---> Running in 4d5556dc4d2e [2024-07-02T02:17:37.231Z] Removing intermediate container 4d5556dc4d2e [2024-07-02T02:17:37.231Z] ---> ad465e19ca35 [2024-07-02T02:17:37.231Z] Step 24/24 : LABEL version=0.0.0 [2024-07-02T02:17:37.231Z] ---> Running in 8eebc433c704 [2024-07-02T02:17:37.497Z] Removing intermediate container 8eebc433c704 [2024-07-02T02:17:37.497Z] ---> b3c98c9861cc [2024-07-02T02:17:37.497Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-02T02:17:37.497Z] Successfully built b3c98c9861cc [2024-07-02T02:17:37.497Z] 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-07-02T02:17:37.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T02:17:37.974Z] [2024-07-02T02:17:37.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:17:38.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T02:17:38.308Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-02T02:17:38.308Z] 8998bd30e6a1: Pulling fs layer [2024-07-02T02:17:38.308Z] 04944245beec: Pulling fs layer [2024-07-02T02:17:38.308Z] 699f458cf7ca: Pulling fs layer [2024-07-02T02:17:38.308Z] 765212b225bb: Pulling fs layer [2024-07-02T02:17:38.308Z] f23df028b6ca: Pulling fs layer [2024-07-02T02:17:38.308Z] d65c8cfc05b1: Pulling fs layer [2024-07-02T02:17:38.308Z] 2437ff75d9bd: Pulling fs layer [2024-07-02T02:17:38.308Z] 765212b225bb: Waiting [2024-07-02T02:17:38.308Z] f23df028b6ca: Waiting [2024-07-02T02:17:38.308Z] d65c8cfc05b1: Waiting [2024-07-02T02:17:38.308Z] 2437ff75d9bd: Waiting [2024-07-02T02:17:38.578Z] 04944245beec: Verifying Checksum [2024-07-02T02:17:38.578Z] 04944245beec: Download complete [2024-07-02T02:17:38.578Z] 765212b225bb: Verifying Checksum [2024-07-02T02:17:38.578Z] 765212b225bb: Download complete [2024-07-02T02:17:38.578Z] f23df028b6ca: Verifying Checksum [2024-07-02T02:17:38.578Z] f23df028b6ca: Download complete [2024-07-02T02:17:38.578Z] d65c8cfc05b1: Verifying Checksum [2024-07-02T02:17:38.578Z] d65c8cfc05b1: Download complete [2024-07-02T02:17:38.578Z] 699f458cf7ca: Verifying Checksum [2024-07-02T02:17:38.578Z] 699f458cf7ca: Download complete [2024-07-02T02:17:39.160Z] 8998bd30e6a1: Download complete [2024-07-02T02:17:41.755Z] 2437ff75d9bd: Verifying Checksum [2024-07-02T02:17:41.755Z] 2437ff75d9bd: Download complete [2024-07-02T02:17:43.691Z] 8998bd30e6a1: Pull complete [2024-07-02T02:17:44.273Z] 04944245beec: Pull complete [2024-07-02T02:17:45.678Z] 699f458cf7ca: Pull complete [2024-07-02T02:17:45.943Z] 765212b225bb: Pull complete [2024-07-02T02:17:46.898Z] f23df028b6ca: Pull complete [2024-07-02T02:17:46.898Z] d65c8cfc05b1: Pull complete [2024-07-02T02:18:05.116Z] 2437ff75d9bd: Pull complete [2024-07-02T02:18:05.116Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-02T02:18:05.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-02T02:18:05.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T02:18:05.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container [2024-07-02T02:18:05.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-02T02:18:08.152Z] $ docker top b2e5808d908dc4622be2460f8c20b3cb06ba95476932e11c8f6fe30af1a6e3c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:09.000Z] ---> job-cost.sh [2024-07-02T02:18:09.000Z] lf-activate-venv: SKIPPING [2024-07-02T02:18:09.000Z] INFO: No Stack... [2024-07-02T02:18:09.264Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-02T02:18:10.238Z] INFO: Archiving Costs [Pipeline] sh [2024-07-02T02:18:10.881Z] + cut -d, -f6 [2024-07-02T02:18:10.881Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-07-02T02:18:10.931Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [2024-07-02T02:18:10.942Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] did not exist. Created. [2024-07-02T02:18:10.950Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-02T02:18:11.613Z] /w/workspace/device-sdk-go/2@tmp/durable-dc4e95be/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-02T02:18:12.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-02T02:18:12.271Z] Warning: overwriting stash ‘stack-cost’ [2024-07-02T02:18:12.364Z] Stashed 1 file(s) [Pipeline] } [2024-07-02T02:18:12.378Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-02T02:18:12.408Z] $ docker stop --time=1 b2e5808d908dc4622be2460f8c20b3cb06ba95476932e11c8f6fe30af1a6e3c9 [2024-07-02T02:18:13.910Z] $ docker rm -f --volumes b2e5808d908dc4622be2460f8c20b3cb06ba95476932e11c8f6fe30af1a6e3c9 [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-07-02T02:18:14.450Z] provisioning config files... [2024-07-02T02:18:14.457Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config363640926488838897tmp [Pipeline] { [Pipeline] sh [2024-07-02T02:18:14.754Z] + set +x [2024-07-02T02:18:14.754Z] + curl -s https://codecov.io/bash [2024-07-02T02:18:14.754Z] + bash -s -- [2024-07-02T02:18:14.754Z] [2024-07-02T02:18:14.754Z] _____ _ [2024-07-02T02:18:14.754Z] / ____| | | [2024-07-02T02:18:14.754Z] | | ___ __| | ___ ___ _____ __ [2024-07-02T02:18:14.754Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-02T02:18:14.754Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-02T02:18:14.754Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-02T02:18:14.754Z] Bash-1.0.6 [2024-07-02T02:18:14.754Z] [2024-07-02T02:18:14.754Z] [2024-07-02T02:18:14.754Z] ==> git version 2.25.1 found [2024-07-02T02:18:14.754Z] ==> 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-07-02T02:18:14.754Z] Release-Date: 2020-01-08 [2024-07-02T02:18:14.754Z] 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-07-02T02:18:14.754Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-02T02:18:14.754Z] ==> Jenkins CI detected. [2024-07-02T02:18:14.754Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1589 [2024-07-02T02:18:14.754Z] project root: . [2024-07-02T02:18:14.754Z] --> token set from env [2024-07-02T02:18:14.755Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-02T02:18:15.014Z] ==> Running gcov in . (disable via -X gcov) [2024-07-02T02:18:15.014Z] ==> Python coveragepy not found [2024-07-02T02:18:15.014Z] ==> Searching for coverage reports in: [2024-07-02T02:18:15.014Z] + . [2024-07-02T02:18:15.014Z] -> Found 1 reports [2024-07-02T02:18:15.014Z] ==> Detecting git/mercurial file structure [2024-07-02T02:18:15.014Z] ==> Reading reports [2024-07-02T02:18:15.014Z] + ./coverage.out bytes=122321 [2024-07-02T02:18:15.014Z] ==> Appending adjustments [2024-07-02T02:18:15.014Z] https://docs.codecov.io/docs/fixing-reports [2024-07-02T02:18:15.274Z] + Found adjustments [2024-07-02T02:18:15.274Z] ==> Gzipping contents [2024-07-02T02:18:15.274Z] 20K /tmp/codecov.fxKHaS.gz [2024-07-02T02:18:15.274Z] ==> Uploading reports [2024-07-02T02:18:15.274Z] url: https://codecov.io [2024-07-02T02:18:15.274Z] query: branch=PR-1589&commit=b7a2f1edf3de431b6849887a9fcc8db68db620bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1589&job=&cmd_args= [2024-07-02T02:18:15.274Z] -> Pinging Codecov [2024-07-02T02:18:15.274Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1589&commit=b7a2f1edf3de431b6849887a9fcc8db68db620bc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1589&job=&cmd_args= [2024-07-02T02:18:15.534Z] -> Uploading to [2024-07-02T02:18:15.534Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-02/7E55EF52A471D76F132DFD9A03CDDE97/b7a2f1edf3de431b6849887a9fcc8db68db620bc/9f9d9a71-8ea6-4537-8249-983ea2472e07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240702%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240702T021815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=31bf169de8111c3ae36bc6af347fb74493886c9d0d5c26657e114170c02e931e [2024-07-02T02:18:15.534Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-02T02:18:15.534Z] Dload Upload Total Spent Left Speed [2024-07-02T02:18:15.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16759 0 0 100 16759 0 60068 --:--:-- --:--:-- --:--:-- 60068 [2024-07-02T02:18:15.793Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] } [2024-07-02T02:18:15.800Z] 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-07-02T02:18:16.703Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives ] [2024-07-02T02:18:16.703Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives [2024-07-02T02:18:16.703Z] total 16 [2024-07-02T02:18:16.703Z] drwxr-xr-x 3 root root 4096 Jul 2 02:01 . [2024-07-02T02:18:16.703Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:01 .. [2024-07-02T02:18:16.703Z] drwxr-xr-x 2 root root 4096 Jul 2 02:01 cost [2024-07-02T02:18:16.703Z] -rw-r--r-- 1 root root 86 Jul 2 02:01 cost.csv [2024-07-02T02:18:16.703Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives [2024-07-02T02:18:16.703Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives [2024-07-02T02:18:16.703Z] total 16 [2024-07-02T02:18:16.703Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 02:01 . [2024-07-02T02:18:16.703Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:01 .. [2024-07-02T02:18:16.703Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 02:01 cost [2024-07-02T02:18:16.703Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 2 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:16.995Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:17.854Z] ---> package-listing.sh [2024-07-02T02:18:17.854Z] ++ facter osfamily [2024-07-02T02:18:17.854Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-02T02:18:18.115Z] + OS_FAMILY=debian [2024-07-02T02:18:18.115Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1589 [2024-07-02T02:18:18.115Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-02T02:18:18.115Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-02T02:18:18.115Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-02T02:18:18.115Z] + PACKAGES=/tmp/packages_start.txt [2024-07-02T02:18:18.115Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' [2024-07-02T02:18:18.115Z] + PACKAGES=/tmp/packages_end.txt [2024-07-02T02:18:18.115Z] + case "${OS_FAMILY}" in [2024-07-02T02:18:18.115Z] + dpkg -l [2024-07-02T02:18:18.115Z] + grep '^ii' [2024-07-02T02:18:18.115Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-02T02:18:18.115Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-02T02:18:18.115Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-02T02:18:18.115Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' [2024-07-02T02:18:18.115Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/ [2024-07-02T02:18:18.115Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/ [Pipeline] echo [2024-07-02T02:18:18.126Z] 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-1589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-02T02:18:18.406Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-02T02:18:18.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-02T02:18:18.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-02T02:18:19.063Z] prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container [2024-07-02T02:18:19.170Z] $ 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-1589/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-1589 -v /w/workspace/gexfoundry_device-sdk-go_PR-1589:/w/workspace/gexfoundry_device-sdk-go_PR-1589:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-02T02:18:19.403Z] $ docker top 68910e5c368ff405d600e51d3e1846c907a06bbcf1da4daa078052af7782f07d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-02T02:18:19.823Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-02T02:18:20.148Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-02T02:18:20.432Z] + ls /var/log/sa-host [2024-07-02T02:18:20.432Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-02T02:18:20.587Z] provisioning config files... [2024-07-02T02:18:20.596Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config3878256268593758231tmp [Pipeline] { [Pipeline] echo [2024-07-02T02:18:20.616Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:20.903Z] ---> create-netrc.sh [Pipeline] } [2024-07-02T02:18:20.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:21.260Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-02T02:18:21.270Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:21.552Z] ---> sudo-logs.sh [2024-07-02T02:18:21.553Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-02T02:18:21.590Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:21.870Z] ---> job-cost.sh [2024-07-02T02:18:21.870Z] lf-activate-venv: SKIPPING [2024-07-02T02:18:21.870Z] DEBUG: total: 0.2199999988079071 [2024-07-02T02:18:21.870Z] INFO: Retrieving Stack Cost... [2024-07-02T02:18:22.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-02T02:18:22.388Z] INFO: Archiving Costs [Pipeline] echo [2024-07-02T02:18:22.399Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-02T02:18:22.681Z] ---> logs-deploy.sh [2024-07-02T02:18:22.681Z] lf-activate-venv: SKIPPING [2024-07-02T02:18:22.681Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1589/2 [2024-07-02T02:18:22.681Z] INFO: archiving workspace using pattern(s): [2024-07-02T02:18:23.616Z] Archives upload complete. [2024-07-02T02:18:23.875Z] INFO: archiving logs to Nexus