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 01:57:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:57:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:57:34 ========================================================= 01:57:34 EdgeX Global Pipelines Version Info 01:57:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:57:35 ------------------- 01:57:35 stable info: 01:57:35 ------------------- 01:57:35 Commited By: Ginny Guan ginny@iotechsys.com 01:57:35 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:57:35 Message: update stable to v1.0.260 01:57:35 ------------------- 01:57:35 experimental info: 01:57:35 ------------------- 01:57:35 Commited By: Ginny Guan ginny@iotechsys.com 01:57:35 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:57:35 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:57:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1589 [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1589 [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1589 [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7a2f1e [Pipeline] echo 01:57:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:36 provisioning config files... 01:57:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config15737211479066693229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:37 ---> ****-login.sh 01:57:37 nexus3.edgexfoundry.org:10001 01:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:37 Configure a credential helper to remove this warning. See 01:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:37 01:57:37 Login Succeeded 01:57:37 nexus3.edgexfoundry.org:10002 01:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:37 Configure a credential helper to remove this warning. See 01:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:37 01:57:37 Login Succeeded 01:57:37 nexus3.edgexfoundry.org:10003 01:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:37 Configure a credential helper to remove this warning. See 01:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:37 01:57:37 Login Succeeded 01:57:37 nexus3.edgexfoundry.org:10004 01:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:37 Configure a credential helper to remove this warning. See 01:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:37 01:57:37 Login Succeeded 01:57:37 ****.io 01:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:37 Configure a credential helper to remove this warning. See 01:57:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:37 01:57:37 Login Succeeded 01:57:37 ---> ****-login.sh ends [Pipeline] } 01:57:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:57:38 + git rev-list -1 --merges b7a2f1edf3de431b6849887a9fcc8db68db620bc~1..b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo 01:57:38 -----------> git rev-list -1 --merges b7a2f1edf3de431b6849887a9fcc8db68db620bc~1..b7a2f1edf3de431b6849887a9fcc8db68db620bc b7a2f1edf3de431b6849887a9fcc8db68db620bc [false] [Pipeline] sh 01:57:38 + git log --format=format:%s -1 b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo 01:57:38 ========================================================= 01:57:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:57:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:39 + git log --format=format:%s -1 b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] echo 01:57:39 [semverPrep] GIT_COMMIT: b7a2f1edf3de431b6849887a9fcc8db68db620bc, Commit Message: feat: Allow empty profileName in Device [Pipeline] echo 01:57:39 [semverPrep] This is not a build commit. [Pipeline] sh 01:57:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:57:39 + grep -v github /etc/ssh/ssh_known_hosts 01:57:39 + [ -e /tmp/ssh_known_hosts ] 01:57:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:57:39 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:57:39 sudo tee -a /etc/ssh/ssh_known_hosts 01:57:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:39 01:57:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:40 0.1.4: Pulling from edgex-devops/py-git-semver 01:57:40 b85a868b505f: Pulling fs layer 01:57:40 e2be974225ed: Pulling fs layer 01:57:40 339a4e72a1f5: Pulling fs layer 01:57:40 988bab9f4d93: Pulling fs layer 01:57:40 1469e6f7b9e6: Pulling fs layer 01:57:40 eaf3925da568: Pulling fs layer 01:57:40 bab4dde63d76: Pulling fs layer 01:57:40 bde34c3a00c8: Pulling fs layer 01:57:40 b352a97aabf1: Pulling fs layer 01:57:40 4872d77fe225: Pulling fs layer 01:57:40 5851b861e8e6: Pulling fs layer 01:57:40 988bab9f4d93: Waiting 01:57:40 1469e6f7b9e6: Waiting 01:57:40 eaf3925da568: Waiting 01:57:40 bab4dde63d76: Waiting 01:57:40 bde34c3a00c8: Waiting 01:57:40 b352a97aabf1: Waiting 01:57:40 4872d77fe225: Waiting 01:57:40 5851b861e8e6: Waiting 01:57:40 e2be974225ed: Download complete 01:57:40 988bab9f4d93: Verifying Checksum 01:57:40 988bab9f4d93: Download complete 01:57:40 1469e6f7b9e6: Verifying Checksum 01:57:40 1469e6f7b9e6: Download complete 01:57:40 339a4e72a1f5: Verifying Checksum 01:57:40 339a4e72a1f5: Download complete 01:57:40 eaf3925da568: Verifying Checksum 01:57:40 eaf3925da568: Download complete 01:57:40 b352a97aabf1: Download complete 01:57:40 4872d77fe225: Verifying Checksum 01:57:40 4872d77fe225: Download complete 01:57:40 5851b861e8e6: Download complete 01:57:40 b85a868b505f: Verifying Checksum 01:57:40 b85a868b505f: Download complete 01:57:40 bab4dde63d76: Verifying Checksum 01:57:40 bab4dde63d76: Download complete 01:57:41 b85a868b505f: Pull complete 01:57:41 e2be974225ed: Pull complete 01:57:42 339a4e72a1f5: Pull complete 01:57:42 988bab9f4d93: Pull complete 01:57:42 1469e6f7b9e6: Pull complete 01:57:42 eaf3925da568: Pull complete 01:57:44 bab4dde63d76: Pull complete 01:57:44 bde34c3a00c8: Pull complete 01:57:44 b352a97aabf1: Pull complete 01:57:44 4872d77fe225: Pull complete 01:57:44 5851b861e8e6: Pull complete 01:57:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:57:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:57:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:44 prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container 01:57:44 $ 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 01:57:47 $ docker top 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d -eo pid,comm 01:57:47 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). 01:57:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:47 [ssh-agent] Looking for ssh-agent implementation... 01:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:47 $ docker exec 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent 01:57:47 SSH_AUTH_SOCK=/tmp/ssh-LSdNg9JTVP6t/agent.32 01:57:47 SSH_AGENT_PID=38 01:57:47 Running ssh-add (command line suppressed) 01:57:48 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) 01:57:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:48 + git tag --points-at HEAD [Pipeline] } 01:57:48 $ docker exec --env ******** --env ******** 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent -k 01:57:48 unset SSH_AUTH_SOCK; 01:57:48 unset SSH_AGENT_PID; 01:57:48 echo Agent pid 38 killed; 01:57:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:57:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:57:48 [ssh-agent] Looking for ssh-agent implementation... 01:57:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:57:48 $ docker exec 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent 01:57:48 SSH_AUTH_SOCK=/tmp/ssh-jameCTPU5zHJ/agent.72 01:57:48 SSH_AGENT_PID=78 01:57:48 Running ssh-add (command line suppressed) 01:57:48 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) 01:57:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:57:49 + git semver init 01:57:49 2024-07-02 01:57:49,317 [run_init] DEBUG init version:0.0.0 force:False 01:57:49 2024-07-02 01:57:49,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver 01:57:49 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 01:57:49 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) 01:57:51 2024-07-02 01:57:51,204 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.git/info/exclude 01:57:51 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 01:57:51 2024-07-02 01:57:51,204 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 01:57:51 2024-07-02 01:57:51,209 [execute] INFO git cat-file --batch-check 01:57:51 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=) 01:57:51 2024-07-02 01:57:51,216 [execute] INFO git cat-file --batch 01:57:51 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=) 01:57:51 2024-07-02 01:57:51,221 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1589/.semver/PR-1589 01:57:51 0.0.0 [Pipeline] } 01:57:51 $ docker exec --env ******** --env ******** 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d ssh-agent -k 01:57:51 unset SSH_AUTH_SOCK; 01:57:51 unset SSH_AGENT_PID; 01:57:51 echo Agent pid 78 killed; 01:57:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:57:51 + git semver [Pipeline] } 01:57:52 $ docker stop --time=1 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d 01:57:53 $ docker rm -f --volumes 7ba28ff70de2c29384f5650bef5a505fe1f0f769643e9ef522001098011ad50d [Pipeline] // withDockerContainer [Pipeline] sh 01:57:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:57:53 Stashed 1 file(s) [Pipeline] echo 01:57:53 [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 01:57:54 provisioning config files... 01:57:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config16173556286646793785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:54 ---> ****-login.sh 01:57:54 nexus3.edgexfoundry.org:10001 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 nexus3.edgexfoundry.org:10002 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 nexus3.edgexfoundry.org:10003 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 nexus3.edgexfoundry.org:10004 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 ****.io 01:57:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:54 Configure a credential helper to remove this warning. See 01:57:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:54 01:57:54 Login Succeeded 01:57:54 ---> ****-login.sh ends [Pipeline] } 01:57:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:55 ========================================================= 01:57:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:57:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:55 + 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 . 01:57:55 Sending build context to Docker daemon 25.02MB 01:57:55 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:57:55 Step 2/10 : FROM ${BASE} AS builder 01:57:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:57:55 619be1103602: Pulling fs layer 01:57:55 7862e08f4a3e: Pulling fs layer 01:57:55 5df492c9dc93: Pulling fs layer 01:57:55 7629e6793208: Pulling fs layer 01:57:55 4f4fb700ef54: Pulling fs layer 01:57:55 fb5054dd5b73: Pulling fs layer 01:57:55 eeca6798cff9: Pulling fs layer 01:57:55 4f4fb700ef54: Waiting 01:57:55 fb5054dd5b73: Waiting 01:57:55 eeca6798cff9: Waiting 01:57:55 7629e6793208: Waiting 01:57:55 aa269ceb94a6: Pulling fs layer 01:57:55 ada007ff1a6a: Pulling fs layer 01:57:55 aa269ceb94a6: Waiting 01:57:55 ada007ff1a6a: Waiting 01:57:55 7629e6793208: Verifying Checksum 01:57:55 7629e6793208: Download complete 01:57:55 4f4fb700ef54: Verifying Checksum 01:57:55 4f4fb700ef54: Download complete 01:57:55 fb5054dd5b73: Download complete 01:57:55 619be1103602: Verifying Checksum 01:57:55 619be1103602: Download complete 01:57:55 eeca6798cff9: Download complete 01:57:55 619be1103602: Pull complete 01:57:55 ada007ff1a6a: Verifying Checksum 01:57:55 ada007ff1a6a: Download complete 01:57:55 7862e08f4a3e: Pull complete 01:57:55 5df492c9dc93: Verifying Checksum 01:57:55 5df492c9dc93: Download complete 01:57:56 aa269ceb94a6: Verifying Checksum 01:57:56 aa269ceb94a6: Download complete 01:57:59 5df492c9dc93: Pull complete 01:57:59 7629e6793208: Pull complete 01:57:59 4f4fb700ef54: Pull complete 01:57:59 fb5054dd5b73: Pull complete 01:57:59 eeca6798cff9: Pull complete 01:58:02 aa269ceb94a6: Pull complete 01:58:02 ada007ff1a6a: Pull complete 01:58:02 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:58:02 ---> f489d0715acc 01:58:02 Step 3/10 : ARG MAKE=make build 01:58:06 ---> Running in a2f6d4b14f2f 01:58:06 Removing intermediate container a2f6d4b14f2f 01:58:06 ---> 0510f481b292 01:58:06 Step 4/10 : WORKDIR /device-sdk-go 01:58:06 ---> Running in 4cf43ee07a2f 01:58:06 Removing intermediate container 4cf43ee07a2f 01:58:06 ---> 54b871f19790 01:58:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:58:06 ---> Running in 9c3b46dd3f89 01:58:06 Removing intermediate container 9c3b46dd3f89 01:58:06 ---> 21453dd1c610 01:58:06 Step 6/10 : RUN apk add --update --no-cache make git 01:58:06 ---> Running in 55c37937930a 01:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:58:07 OK: 264 MiB in 52 packages 01:58:07 Removing intermediate container 55c37937930a 01:58:07 ---> c4e4f4d016ce 01:58:07 Step 7/10 : COPY go.mod vendor* ./ 01:58:08 ---> 53f7e4be5f26 01:58:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:08 ---> Running in 796111ed0a6e 01:58:09 Still waiting to schedule task 01:58:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4740’ 01:59:16 Removing intermediate container 796111ed0a6e 01:59:16 ---> bfe9cae79d92 01:59:16 Step 9/10 : COPY . . 01:59:16 ---> ee428ff36c4b 01:59:16 Step 10/10 : RUN ${MAKE} 01:59:16 ---> Running in 15004e37e0ff 01:59:16 noop 01:59:16 Removing intermediate container 15004e37e0ff 01:59:16 ---> ba11a6c5c21f 01:59:16 Successfully built ba11a6c5c21f 01:59:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:16 + docker inspect -f . ci-base-image-x86_64 01:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:16 prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container 01:59:16 $ 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 01:59:17 $ docker top ed66b1d386a7a6e3ac4619be44021d700382c62da151f83f0dcb33ab09f1b3a7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:17 + go version 01:59:17 go version go1.21.9 linux/amd64 [Pipeline] } 01:59:17 $ docker stop --time=1 ed66b1d386a7a6e3ac4619be44021d700382c62da151f83f0dcb33ab09f1b3a7 01:59:18 $ 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 01:59:19 + docker inspect -f . ci-base-image-x86_64 01:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:19 prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container 01:59:19 $ 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 01:59:19 $ docker top b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1589 [Pipeline] fileExists [Pipeline] sh 01:59:20 + make test 01:59:20 go test -race -coverprofile=coverage.out ./... 01:59:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:00:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 27.6% of statements 02:00:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 80.0% of statements 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:00:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:00:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:00:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements 02:00:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:00:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.037s coverage: 14.4% of statements 02:00:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.850s coverage: 44.6% of statements 02:00:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements 02:00:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.090s coverage: 89.2% of statements 02:00:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.5% of statements 02:00:50 GO111MODULE=on go vet ./... 02:00:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:50 ./bin/test-attribution-txt.sh 02:00:50 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:00:50 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:00:50 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:00:50 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:00:50 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:00:50 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:00:50 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:00:50 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:00:50 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:00:50 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:00:50 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:00:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:00:51 $ docker stop --time=1 b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 02:00:55 $ docker rm -f --volumes b186e2dbfb9ae139bec67b1033eb47ec10b43b2c53b6debdd4fb6d8428cd1cd8 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:57 + ls -al . 02:00:57 total 376 02:00:57 drwxrwxr-x 11 jenkins jenkins 4096 Jul 2 01:59 . 02:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:57 .. 02:00:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 01:57 .dockerignore 02:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 02:00 .git 02:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:57 .github 02:00:57 -rw-rw-r-- 1 jenkins jenkins 137 Jul 2 01:57 .gitignore 02:00:57 -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 01:57 .golangci.yml 02:00:57 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 01:57 .semver 02:00:57 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 2 01:57 CHANGELOG.md 02:00:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 01:57 GOVERNANCE.md 02:00:57 -rw-rw-r-- 1 jenkins jenkins 885 Jul 2 01:57 Jenkinsfile 02:00:57 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 2 01:57 LICENSE 02:00:57 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 2 01:57 Makefile 02:00:57 -rw-rw-r-- 1 jenkins jenkins 619 Jul 2 01:57 OWNERS.md 02:00:57 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 2 01:57 README.md 02:00:57 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 01:57 VERSION 02:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 01:57 bin 02:00:57 -rw-r--r-- 1 jenkins jenkins 122321 Jul 2 02:00 coverage.out 02:00:57 drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 01:57 example 02:00:57 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 2 01:57 go.mod 02:00:57 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 2 01:57 go.sum 02:00:57 drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 01:57 internal 02:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 01:57 openapi 02:00:57 drwxrwxr-x 6 jenkins jenkins 4096 Jul 2 01:57 pkg 02:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 01:57 snap 02:00:57 -rw-rw-r-- 1 jenkins jenkins 222 Jul 2 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:57 + 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 . 02:00:57 Sending build context to Docker daemon 25.15MB 02:00:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:00:57 Step 2/24 : FROM ${BASE} AS builder 02:00:57 ---> ba11a6c5c21f 02:00:57 Step 3/24 : ARG MAKE=make build 02:00:58 ---> Running in 0d35d4484904 02:00:58 Removing intermediate container 0d35d4484904 02:00:58 ---> 0c6d441e243f 02:00:58 Step 4/24 : WORKDIR /device-sdk-go 02:00:58 ---> Running in 900939cd1220 02:00:58 Removing intermediate container 900939cd1220 02:00:58 ---> 5a0a5b46e9bd 02:00:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:00:58 ---> Running in 97e43b10b624 02:00:58 Removing intermediate container 97e43b10b624 02:00:58 ---> 966b41f5466a 02:00:58 Step 6/24 : RUN apk add --update --no-cache make git 02:00:58 ---> Running in 806a85d82e68 02:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:00:59 OK: 264 MiB in 52 packages 02:00:59 Removing intermediate container 806a85d82e68 02:00:59 ---> bebfbe904166 02:00:59 Step 7/24 : COPY go.mod vendor* ./ 02:00:59 ---> 29b6d7591602 02:00:59 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:59 ---> Running in 434dfbfc0742 02:01:00 Removing intermediate container 434dfbfc0742 02:01:00 ---> fc39bf3cc43c 02:01:00 Step 9/24 : COPY . . 02:01:01 ---> b176cc85afed 02:01:01 Step 10/24 : RUN ${MAKE} 02:01:01 ---> Running in b72c361a3281 02:01:01 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 02:01:33 Removing intermediate container b72c361a3281 02:01:33 ---> 2dfa8911356f 02:01:33 Step 11/24 : FROM alpine:3.18 02:01:33 3.18: Pulling from library/alpine 02:01:33 73baa7ef167e: Pulling fs layer 02:01:33 73baa7ef167e: Verifying Checksum 02:01:33 73baa7ef167e: Download complete 02:01:33 73baa7ef167e: Pull complete 02:01:33 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 02:01:33 Status: Downloaded newer image for alpine:3.18 02:01:33 ---> 8fd7cac70a4a 02:01:33 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:01:33 ---> Running in 1bf886fbe9de 02:01:33 Removing intermediate container 1bf886fbe9de 02:01:33 ---> 5da85a5db9b0 02:01:33 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:01:33 ---> Running in dafd6dc0d3de 02:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:01:33 (1/1) Installing dumb-init (1.2.5-r2) 02:01:33 Executing busybox-1.36.1-r7.trigger 02:01:33 OK: 7 MiB in 16 packages 02:01:33 Removing intermediate container dafd6dc0d3de 02:01:33 ---> a776ae4e365e 02:01:33 Step 14/24 : RUN apk --no-cache upgrade 02:01:33 ---> Running in 76ed94e16a8b 02:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:01:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:01:33 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 02:01:33 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 02:01:33 OK: 7 MiB in 16 packages 02:01:33 Removing intermediate container 76ed94e16a8b 02:01:33 ---> d617a2554bad 02:01:33 Step 15/24 : WORKDIR / 02:01:33 ---> Running in 7e6127332d1f 02:01:33 Removing intermediate container 7e6127332d1f 02:01:33 ---> 4c5f491fdc1f 02:01:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:01:33 ---> 85956f2c4129 02:01:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:01:33 ---> fb7018947028 02:01:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:01:33 ---> ab84a48351c5 02:01:33 Step 19/24 : EXPOSE 59999 02:01:33 ---> Running in 1e08dc49f631 02:01:33 Removing intermediate container 1e08dc49f631 02:01:33 ---> 9f2f87ab5de1 02:01:33 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:01:33 ---> Running in 4adbf25570ea 02:01:34 Removing intermediate container 4adbf25570ea 02:01:34 ---> b076b9c07d68 02:01:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:01:34 ---> Running in 38f0fab7077c 02:01:34 Removing intermediate container 38f0fab7077c 02:01:34 ---> 77939c0ff1f3 02:01:34 Step 22/24 : LABEL arch=amd64 02:01:34 ---> Running in 82741e86dccb 02:01:34 Removing intermediate container 82741e86dccb 02:01:34 ---> c5887b001506 02:01:34 Step 23/24 : LABEL git_sha=b7a2f1edf3de431b6849887a9fcc8db68db620bc 02:01:34 ---> Running in 8f79d04ee869 02:01:34 Removing intermediate container 8f79d04ee869 02:01:34 ---> 5292e63e682b 02:01:34 Step 24/24 : LABEL version=0.0.0 02:01:34 ---> Running in fd26c71610dd 02:01:34 Removing intermediate container fd26c71610dd 02:01:34 ---> 5e9dfbc355a2 02:01:34 [Warning] One or more build-args [ARCH] were not consumed 02:01:34 Successfully built 5e9dfbc355a2 02:01:34 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 02:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:34 02:01:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:35 latest: Pulling from edgex-lftools-log-publisher 02:01:35 5eb5b503b376: Pulling fs layer 02:01:35 5c69ac0246d0: Pulling fs layer 02:01:35 ec43610c2a17: Pulling fs layer 02:01:35 3a2ae6a8a46f: Pulling fs layer 02:01:35 33b1e0a273af: Pulling fs layer 02:01:35 5d3b04190fa2: Pulling fs layer 02:01:35 2f39f015ded8: Pulling fs layer 02:01:35 3a2ae6a8a46f: Waiting 02:01:35 33b1e0a273af: Waiting 02:01:35 5d3b04190fa2: Waiting 02:01:35 5c69ac0246d0: Verifying Checksum 02:01:35 5c69ac0246d0: Download complete 02:01:35 3a2ae6a8a46f: Verifying Checksum 02:01:35 3a2ae6a8a46f: Download complete 02:01:35 33b1e0a273af: Verifying Checksum 02:01:35 33b1e0a273af: Download complete 02:01:35 ec43610c2a17: Verifying Checksum 02:01:35 ec43610c2a17: Download complete 02:01:35 5d3b04190fa2: Download complete 02:01:35 5eb5b503b376: Verifying Checksum 02:01:35 5eb5b503b376: Download complete 02:01:35 2f39f015ded8: Verifying Checksum 02:01:35 2f39f015ded8: Download complete 02:01:36 5eb5b503b376: Pull complete 02:01:36 5c69ac0246d0: Pull complete 02:01:37 ec43610c2a17: Pull complete 02:01:37 3a2ae6a8a46f: Pull complete 02:01:37 33b1e0a273af: Pull complete 02:01:37 5d3b04190fa2: Pull complete 02:01:41 2f39f015ded8: Pull complete 02:01:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:41 prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container 02:01:41 $ 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 02:01:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4742 in /w/workspace/gexfoundry_device-sdk-go_PR-1589 02:01:44 $ docker top 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 02:01:45 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:01:45 The recommended git tool is: git 02:01:45 ---> job-cost.sh 02:01:45 lf-activate-venv: SKIPPING 02:01:45 INFO: No Stack... 02:01:45 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:46 INFO: Archiving Costs [Pipeline] sh 02:01:46 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/cost.csv 02:01:46 + cut -d, -f6 [Pipeline] lock 02:01:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] 02:01:46 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] did not exist. Created. 02:01:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:46 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:46 Stashed 1 file(s) [Pipeline] } 02:01:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:46 $ docker stop --time=1 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 02:01:48 $ docker rm -f --volumes 4c1de111ce0e380a118fb3c5afef9cd1522877d32d4d56b7d5cbb034e40816e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:54 using credential edgex-jenkins-ssh 02:01:54 Cloning the remote Git repository 02:01:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:01:54 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:01:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:01:54 > git --version # timeout=10 02:01:54 > git --version # 'git version 2.25.1' 02:01:54 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:01:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:01:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:01:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:01:59 using GIT_SSH to set credentials SSH Credentials for GitHub 02:01:59 > 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 02:02:00 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit b7a2f1edf3de431b6849887a9fcc8db68db620bc 02:02:00 Merge succeeded, producing b7a2f1edf3de431b6849887a9fcc8db68db620bc 02:02:00 Checking out Revision b7a2f1edf3de431b6849887a9fcc8db68db620bc (PR-1589) 02:02:00 > git config core.sparsecheckout # timeout=10 02:02:00 > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # timeout=10 02:02:00 > git remote # timeout=10 02:02:00 > git config --get remote.origin.url # timeout=10 02:02:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:00 > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 02:02:00 > git rev-parse HEAD^{commit} # timeout=10 02:02:00 > git config core.sparsecheckout # timeout=10 02:02:00 > git checkout -f b7a2f1edf3de431b6849887a9fcc8db68db620bc # timeout=10 02:02:04 Commit message: "feat: Allow empty profileName in Device" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:02:06 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:06 Dload Upload Total Spent Left Speed 02:02:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 02:02:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:02:07 + sudo tee /etc/docker/daemon.new 02:02:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:02:07 { 02:02:07 "registry-mirrors": [ 02:02:07 "https://nexus3.edgexfoundry.org:10001" 02:02:07 ], 02:02:07 "bip": "10.250.0.254/24", 02:02:07 "hosts": [ 02:02:07 "tcp://0.0.0.0:5555", 02:02:07 "unix:///var/run/docker.sock" 02:02:07 ], 02:02:07 "mtu": 1458, 02:02:07 "selinux-enabled": true, 02:02:07 "seccomp-profile": "/etc/docker/seccomp.json" 02:02:07 } [Pipeline] sh 02:02:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:02:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:26 provisioning config files... 02:02:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17191458781710974850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:26 ---> ****-login.sh 02:02:26 nexus3.edgexfoundry.org:10001 02:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:27 Configure a credential helper to remove this warning. See 02:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:27 02:02:27 Login Succeeded 02:02:27 nexus3.edgexfoundry.org:10002 02:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:27 Configure a credential helper to remove this warning. See 02:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:27 02:02:27 Login Succeeded 02:02:27 nexus3.edgexfoundry.org:10003 02:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:27 Configure a credential helper to remove this warning. See 02:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:27 02:02:27 Login Succeeded 02:02:27 nexus3.edgexfoundry.org:10004 02:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:28 Configure a credential helper to remove this warning. See 02:02:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:28 02:02:28 Login Succeeded 02:02:28 ****.io 02:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:02:28 Configure a credential helper to remove this warning. See 02:02:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:02:28 02:02:28 Login Succeeded 02:02:28 ---> ****-login.sh ends [Pipeline] } 02:02:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:02:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:02:29 ========================================================= 02:02:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:02:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:29 + 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 . 02:02:30 Sending build context to Docker daemon 12.96MB 02:02:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:02:30 Step 2/10 : FROM ${BASE} AS builder 02:02:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:02:30 c6b39de5b339: Pulling fs layer 02:02:30 a69c41024577: Pulling fs layer 02:02:30 d6de4b400683: Pulling fs layer 02:02:30 35cb2a7552d0: Pulling fs layer 02:02:30 4f4fb700ef54: Pulling fs layer 02:02:30 464afbd9ba4c: Pulling fs layer 02:02:30 00f215d4a9da: Pulling fs layer 02:02:30 d496ad576159: Pulling fs layer 02:02:30 35cb2a7552d0: Waiting 02:02:30 d496ad576159: Waiting 02:02:30 00f215d4a9da: Waiting 02:02:30 4f4fb700ef54: Waiting 02:02:30 464afbd9ba4c: Waiting 02:02:30 a69c41024577: Verifying Checksum 02:02:30 a69c41024577: Download complete 02:02:30 35cb2a7552d0: Verifying Checksum 02:02:30 35cb2a7552d0: Download complete 02:02:30 4f4fb700ef54: Verifying Checksum 02:02:30 4f4fb700ef54: Download complete 02:02:30 464afbd9ba4c: Verifying Checksum 02:02:30 464afbd9ba4c: Download complete 02:02:30 c6b39de5b339: Verifying Checksum 02:02:30 c6b39de5b339: Download complete 02:02:30 d496ad576159: Verifying Checksum 02:02:30 d496ad576159: Download complete 02:02:31 c6b39de5b339: Pull complete 02:02:31 a69c41024577: Pull complete 02:02:32 d6de4b400683: Verifying Checksum 02:02:32 d6de4b400683: Download complete 02:02:33 00f215d4a9da: Verifying Checksum 02:02:33 00f215d4a9da: Download complete 02:02:45 d6de4b400683: Pull complete 02:02:45 35cb2a7552d0: Pull complete 02:02:45 4f4fb700ef54: Pull complete 02:02:45 464afbd9ba4c: Pull complete 02:02:53 00f215d4a9da: Pull complete 02:02:55 d496ad576159: Pull complete 02:02:55 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:02:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:02:55 ---> f246e2811388 02:02:55 Step 3/10 : ARG MAKE=make build 02:02:57 ---> Running in ec478901cd9f 02:02:57 Removing intermediate container ec478901cd9f 02:02:57 ---> cc0d4363bb82 02:02:57 Step 4/10 : WORKDIR /device-sdk-go 02:02:58 ---> Running in 8552e7ec84c3 02:02:58 Removing intermediate container 8552e7ec84c3 02:02:58 ---> 650c503454ba 02:02:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:02:58 ---> Running in 4026ffc97372 02:02:58 Removing intermediate container 4026ffc97372 02:02:58 ---> 6995f808ba8a 02:02:58 Step 6/10 : RUN apk add --update --no-cache make git 02:02:58 ---> Running in 93ecf887a689 02:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:03:01 OK: 266 MiB in 52 packages 02:03:02 Removing intermediate container 93ecf887a689 02:03:02 ---> 8a5605508d66 02:03:02 Step 7/10 : COPY go.mod vendor* ./ 02:03:03 ---> 35559d2321f4 02:03:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:03 ---> Running in d56a40759eca 02:04:54 Removing intermediate container d56a40759eca 02:04:54 ---> 910558219fc4 02:04:54 Step 9/10 : COPY . . 02:04:54 ---> b8755fe26642 02:04:54 Step 10/10 : RUN ${MAKE} 02:04:54 ---> Running in d0246d66faa9 02:04:54 noop 02:04:54 Removing intermediate container d0246d66faa9 02:04:54 ---> 3b736142252c 02:04:54 Successfully built 3b736142252c 02:04:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:55 + docker inspect -f . ci-base-image-arm64 02:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:55 prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container 02:04:55 $ 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 02:04:56 $ docker top 3a197320daa7008867310da8c82453fd3a5fa6d214cfcde07e30fad480cb7ca0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:57 + go version 02:04:57 go version go1.21.9 linux/arm64 [Pipeline] } 02:04:57 $ docker stop --time=1 3a197320daa7008867310da8c82453fd3a5fa6d214cfcde07e30fad480cb7ca0 02:04:59 $ 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 02:04:59 + docker inspect -f . ci-base-image-arm64 02:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:00 prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container 02:05:00 $ 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 02:05:01 $ docker top 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 02:05:02 + make test 02:05:02 go test -race -coverprofile=coverage.out ./... 02:05:49 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:09:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:09:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.129s coverage: 27.6% of statements 02:09:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.184s coverage: 80.0% of statements 02:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:09:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:09:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.279s coverage: 86.0% of statements 02:09:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:09:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.459s coverage: 71.8% of statements 02:09:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.176s coverage: 14.4% of statements 02:09:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.782s coverage: 44.6% of statements 02:09:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:09:40 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:09:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.310s coverage: 68.5% of statements 02:09:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.401s coverage: 89.2% of statements 02:09:48 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:09:49 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.256s coverage: 5.5% of statements 02:09:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:09:50 GO111MODULE=on go vet ./... 02:13:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:13:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:13:43 ./bin/test-attribution-txt.sh 02:13:43 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:13:43 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:13:43 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:13:43 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:13:43 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:13:43 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:13:43 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:13:43 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:13:43 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:13:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:13:43 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:13:43 $ docker stop --time=1 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f 02:13:45 $ docker rm -f --volumes 058dccb73b7d9f03a216b4a698e3573da3a658d3c986ba3351ab7f1a27be231f [Pipeline] // withDockerContainer [Pipeline] sh 02:13:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:13:47 Warning: overwriting stash ‘coverage-report’ 02:13:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:13:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:13:48 + ls -al . 02:13:48 total 372 02:13:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 2 02:05 . 02:13:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 02:01 .. 02:13:48 -rw-rw-r-- 1 jenkins jenkins 140 Jul 2 02:02 .dockerignore 02:13:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 2 02:02 .git 02:13:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 02:02 .github 02:13:48 -rw-rw-r-- 1 jenkins jenkins 137 Jul 2 02:02 .gitignore 02:13:48 -rw-rw-r-- 1 jenkins jenkins 42 Jul 2 02:02 .golangci.yml 02:13:48 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 2 02:02 CHANGELOG.md 02:13:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 2 02:02 GOVERNANCE.md 02:13:48 -rw-rw-r-- 1 jenkins jenkins 885 Jul 2 02:02 Jenkinsfile 02:13:48 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 2 02:02 LICENSE 02:13:48 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 2 02:02 Makefile 02:13:48 -rw-rw-r-- 1 jenkins jenkins 619 Jul 2 02:02 OWNERS.md 02:13:48 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 2 02:02 README.md 02:13:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 2 01:57 VERSION 02:13:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 2 02:02 bin 02:13:48 -rw-r--r-- 1 jenkins jenkins 122321 Jul 2 02:09 coverage.out 02:13:48 drwxrwxr-x 5 jenkins jenkins 4096 Jul 2 02:02 example 02:13:48 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 2 02:02 go.mod 02:13:48 -rw-rw-r-- 1 jenkins jenkins 101736 Jul 2 02:02 go.sum 02:13:48 drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:02 internal 02:13:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 2 02:02 openapi 02:13:48 drwxrwxr-x 6 jenkins jenkins 4096 Jul 2 02:02 pkg 02:13:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 2 02:02 snap 02:13:48 -rw-rw-r-- 1 jenkins jenkins 222 Jul 2 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:49 + 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 . 02:13:49 Sending build context to Docker daemon 13.09MB 02:13:49 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:13:49 Step 2/24 : FROM ${BASE} AS builder 02:13:49 ---> 3b736142252c 02:13:49 Step 3/24 : ARG MAKE=make build 02:13:49 ---> Running in 95519eb792b3 02:13:50 Removing intermediate container 95519eb792b3 02:13:50 ---> 3b31c25f4756 02:13:50 Step 4/24 : WORKDIR /device-sdk-go 02:13:50 ---> Running in d2d2b591f932 02:13:50 Removing intermediate container d2d2b591f932 02:13:50 ---> 2be1be8c52e1 02:13:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:13:50 ---> Running in 2d255fe8fdee 02:13:50 Removing intermediate container 2d255fe8fdee 02:13:50 ---> 4d5c848443dd 02:13:50 Step 6/24 : RUN apk add --update --no-cache make git 02:13:50 ---> Running in 6a4017aa4ce3 02:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:13:53 OK: 266 MiB in 52 packages 02:13:54 Removing intermediate container 6a4017aa4ce3 02:13:54 ---> 1a91c5e17b18 02:13:54 Step 7/24 : COPY go.mod vendor* ./ 02:13:54 ---> 977ab551ed4d 02:13:54 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:54 ---> Running in 354741e46a38 02:13:56 Removing intermediate container 354741e46a38 02:13:56 ---> 35086e9695e1 02:13:56 Step 9/24 : COPY . . 02:13:58 ---> ce181012001d 02:13:58 Step 10/24 : RUN ${MAKE} 02:13:58 ---> Running in ddc9aa5ebf79 02:13:59 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 02:17:36 Removing intermediate container ddc9aa5ebf79 02:17:36 ---> dc740ca63ecd 02:17:36 Step 11/24 : FROM alpine:3.18 02:17:36 3.18: Pulling from library/alpine 02:17:36 5c905c7ebe2f: Pulling fs layer 02:17:36 5c905c7ebe2f: Verifying Checksum 02:17:36 5c905c7ebe2f: Download complete 02:17:36 5c905c7ebe2f: Pull complete 02:17:36 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 02:17:36 Status: Downloaded newer image for alpine:3.18 02:17:36 ---> dec292d02e07 02:17:36 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:17:36 ---> Running in dae29f28b931 02:17:36 Removing intermediate container dae29f28b931 02:17:36 ---> b8c777ca4b70 02:17:36 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:17:36 ---> Running in 5a5113c4dabd 02:17:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:17:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:17:36 (1/1) Installing dumb-init (1.2.5-r2) 02:17:36 Executing busybox-1.36.1-r7.trigger 02:17:36 OK: 8 MiB in 16 packages 02:17:36 Removing intermediate container 5a5113c4dabd 02:17:36 ---> 5dd54588d921 02:17:36 Step 14/24 : RUN apk --no-cache upgrade 02:17:36 ---> Running in fabb1f2efe61 02:17:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:17:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:17:36 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 02:17:36 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 02:17:36 OK: 8 MiB in 16 packages 02:17:36 Removing intermediate container fabb1f2efe61 02:17:36 ---> 328d6e3dc178 02:17:36 Step 15/24 : WORKDIR / 02:17:36 ---> Running in d9669170b4ac 02:17:36 Removing intermediate container d9669170b4ac 02:17:36 ---> 783269ecfca2 02:17:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:17:36 ---> acdfad68eb88 02:17:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:17:36 ---> b50c14148096 02:17:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:17:36 ---> b8ef58d516c8 02:17:36 Step 19/24 : EXPOSE 59999 02:17:36 ---> Running in 7fb83812f981 02:17:36 Removing intermediate container 7fb83812f981 02:17:36 ---> 832748415bd0 02:17:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:17:36 ---> Running in 40d2807fa6a0 02:17:36 Removing intermediate container 40d2807fa6a0 02:17:36 ---> d290253418a5 02:17:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:17:36 ---> Running in d51c71c8f8a8 02:17:36 Removing intermediate container d51c71c8f8a8 02:17:36 ---> cd309f5d0b32 02:17:36 Step 22/24 : LABEL arch=arm64 02:17:36 ---> Running in 3797b0644d0f 02:17:36 Removing intermediate container 3797b0644d0f 02:17:36 ---> 4bc133fab35a 02:17:36 Step 23/24 : LABEL git_sha=b7a2f1edf3de431b6849887a9fcc8db68db620bc 02:17:36 ---> Running in 4d5556dc4d2e 02:17:37 Removing intermediate container 4d5556dc4d2e 02:17:37 ---> ad465e19ca35 02:17:37 Step 24/24 : LABEL version=0.0.0 02:17:37 ---> Running in 8eebc433c704 02:17:37 Removing intermediate container 8eebc433c704 02:17:37 ---> b3c98c9861cc 02:17:37 [Warning] One or more build-args [ARCH] were not consumed 02:17:37 Successfully built b3c98c9861cc 02:17:37 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 02:17:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:37 02:17:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:38 arm64: Pulling from edgex-lftools-log-publisher 02:17:38 8998bd30e6a1: Pulling fs layer 02:17:38 04944245beec: Pulling fs layer 02:17:38 699f458cf7ca: Pulling fs layer 02:17:38 765212b225bb: Pulling fs layer 02:17:38 f23df028b6ca: Pulling fs layer 02:17:38 d65c8cfc05b1: Pulling fs layer 02:17:38 2437ff75d9bd: Pulling fs layer 02:17:38 765212b225bb: Waiting 02:17:38 f23df028b6ca: Waiting 02:17:38 d65c8cfc05b1: Waiting 02:17:38 2437ff75d9bd: Waiting 02:17:38 04944245beec: Verifying Checksum 02:17:38 04944245beec: Download complete 02:17:38 765212b225bb: Verifying Checksum 02:17:38 765212b225bb: Download complete 02:17:38 f23df028b6ca: Verifying Checksum 02:17:38 f23df028b6ca: Download complete 02:17:38 d65c8cfc05b1: Verifying Checksum 02:17:38 d65c8cfc05b1: Download complete 02:17:38 699f458cf7ca: Verifying Checksum 02:17:38 699f458cf7ca: Download complete 02:17:39 8998bd30e6a1: Download complete 02:17:41 2437ff75d9bd: Verifying Checksum 02:17:41 2437ff75d9bd: Download complete 02:17:43 8998bd30e6a1: Pull complete 02:17:44 04944245beec: Pull complete 02:17:45 699f458cf7ca: Pull complete 02:17:45 765212b225bb: Pull complete 02:17:46 f23df028b6ca: Pull complete 02:17:46 d65c8cfc05b1: Pull complete 02:18:05 2437ff75d9bd: Pull complete 02:18:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:18:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:18:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:05 prd-ubuntu20.04-docker-arm64-4c-16g-4742 does not seem to be running inside a container 02:18:05 $ 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 02:18:08 $ docker top b2e5808d908dc4622be2460f8c20b3cb06ba95476932e11c8f6fe30af1a6e3c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:18:09 ---> job-cost.sh 02:18:09 lf-activate-venv: SKIPPING 02:18:09 INFO: No Stack... 02:18:09 INFO: Retrieving Pricing Info for: v3-standard-4 02:18:10 INFO: Archiving Costs [Pipeline] sh 02:18:10 + cut -d, -f6 02:18:10 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 02:18:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] 02:18:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] did not exist. Created. 02:18:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:18:11 /w/workspace/device-sdk-go/2@tmp/durable-dc4e95be/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:18:12 + echo total: 0.10999999940395355 [Pipeline] stash 02:18:12 Warning: overwriting stash ‘stack-cost’ 02:18:12 Stashed 1 file(s) [Pipeline] } 02:18:12 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1589-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:18:12 $ docker stop --time=1 b2e5808d908dc4622be2460f8c20b3cb06ba95476932e11c8f6fe30af1a6e3c9 02:18:13 $ 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 02:18:14 provisioning config files... 02:18:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config363640926488838897tmp [Pipeline] { [Pipeline] sh 02:18:14 + set +x 02:18:14 + curl -s https://codecov.io/bash 02:18:14 + bash -s -- 02:18:14 02:18:14 _____ _ 02:18:14 / ____| | | 02:18:14 | | ___ __| | ___ ___ _____ __ 02:18:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:18:14 | |___| (_) | (_| | __/ (_| (_) \ V / 02:18:14 \_____\___/ \__,_|\___|\___\___/ \_/ 02:18:14 Bash-1.0.6 02:18:14 02:18:14 02:18:14 ==> git version 2.25.1 found 02:18:14 ==> 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 02:18:14 Release-Date: 2020-01-08 02:18:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:18:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:18:14 ==> Jenkins CI detected. 02:18:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1589 02:18:14 project root: . 02:18:14 --> token set from env 02:18:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:18:15 ==> Running gcov in . (disable via -X gcov) 02:18:15 ==> Python coveragepy not found 02:18:15 ==> Searching for coverage reports in: 02:18:15 + . 02:18:15 -> Found 1 reports 02:18:15 ==> Detecting git/mercurial file structure 02:18:15 ==> Reading reports 02:18:15 + ./coverage.out bytes=122321 02:18:15 ==> Appending adjustments 02:18:15 https://docs.codecov.io/docs/fixing-reports 02:18:15 + Found adjustments 02:18:15 ==> Gzipping contents 02:18:15 20K /tmp/codecov.fxKHaS.gz 02:18:15 ==> Uploading reports 02:18:15 url: https://codecov.io 02:18:15 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= 02:18:15 -> Pinging Codecov 02:18:15 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= 02:18:15 -> Uploading to 02:18:15 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 02:18:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:18:15 Dload Upload Total Spent Left Speed 02:18:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16759 0 0 100 16759 0 60068 --:--:-- --:--:-- --:--:-- 60068 02:18:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b7a2f1edf3de431b6849887a9fcc8db68db620bc [Pipeline] } 02:18:15 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 02:18:16 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives ] 02:18:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 02:18:16 total 16 02:18:16 drwxr-xr-x 3 root root 4096 Jul 2 02:01 . 02:18:16 drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:01 .. 02:18:16 drwxr-xr-x 2 root root 4096 Jul 2 02:01 cost 02:18:16 -rw-r--r-- 1 root root 86 Jul 2 02:01 cost.csv 02:18:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 02:18:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives 02:18:16 total 16 02:18:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 2 02:01 . 02:18:16 drwxrwxr-x 12 jenkins jenkins 4096 Jul 2 02:01 .. 02:18:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 2 02:01 cost 02:18:16 -rw-r--r-- 1 jenkins jenkins 86 Jul 2 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:18:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:18:17 ---> package-listing.sh 02:18:17 ++ facter osfamily 02:18:17 ++ tr '[:upper:]' '[:lower:]' 02:18:18 + OS_FAMILY=debian 02:18:18 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1589 02:18:18 + START_PACKAGES=/tmp/packages_start.txt 02:18:18 + END_PACKAGES=/tmp/packages_end.txt 02:18:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:18:18 + PACKAGES=/tmp/packages_start.txt 02:18:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' 02:18:18 + PACKAGES=/tmp/packages_end.txt 02:18:18 + case "${OS_FAMILY}" in 02:18:18 + dpkg -l 02:18:18 + grep '^ii' 02:18:18 + '[' -f /tmp/packages_start.txt ']' 02:18:18 + '[' -f /tmp/packages_end.txt ']' 02:18:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:18:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1589 ']' 02:18:18 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1589/archives/ 02:18:18 + 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 02:18:18 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 02:18:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:19 prd-ubuntu20.04-docker-8c-8g-4741 does not seem to be running inside a container 02:18:19 $ 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 02:18:19 $ docker top 68910e5c368ff405d600e51d3e1846c907a06bbcf1da4daa078052af7782f07d -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:19 + touch /tmp/pre-build-complete [Pipeline] sh 02:18:20 + mkdir -p /var/log/sysstat [Pipeline] sh 02:18:20 + ls /var/log/sa-host 02:18:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:18:20 provisioning config files... 02:18:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1589@tmp/config3878256268593758231tmp [Pipeline] { [Pipeline] echo 02:18:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:18:20 ---> create-netrc.sh [Pipeline] } 02:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:18:21 ---> python-tools-install.sh [Pipeline] echo 02:18:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:18:21 ---> sudo-logs.sh 02:18:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:18:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:18:21 ---> job-cost.sh 02:18:21 lf-activate-venv: SKIPPING 02:18:21 DEBUG: total: 0.2199999988079071 02:18:21 INFO: Retrieving Stack Cost... 02:18:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:18:22 INFO: Archiving Costs [Pipeline] echo 02:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:18:22 ---> logs-deploy.sh 02:18:22 lf-activate-venv: SKIPPING 02:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1589/2 02:18:22 INFO: archiving workspace using pattern(s): 02:18:23 Archives upload complete. 02:18:23 INFO: archiving logs to Nexus