Pull request #453 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 94a7934c87af55316a2c428005b641d42796e547+8926137e1ee1dca90be7e6fe7248a1fca1e6078a (fc6162f41628cc96df77a9bf3b6f33bd85151aa4) 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-ssh4876336432657910860.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-ssh666465305234861477.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17758879347893939024.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-453/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11755642634595450749.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17779143036768482191.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-453/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-453/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8432518157160327384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8565’ Running on prd-ubuntu20.04-docker-8c-8g-8570 in /w/workspace/undry_device-onvif-camera_PR-453 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-453 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 94a7934c87af55316a2c428005b641d42796e547 Merge succeeded, producing 94a7934c87af55316a2c428005b641d42796e547 Checking out Revision 94a7934c87af55316a2c428005b641d42796e547 (PR-453) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 94a7934c87af55316a2c428005b641d42796e547 # 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94a7934c87af55316a2c428005b641d42796e547 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:35:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:35:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:35:20 ========================================================= 03:35:20 EdgeX Global Pipelines Version Info 03:35:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:35:22 ------------------- 03:35:22 stable info: 03:35:22 ------------------- 03:35:22 Commited By: Ginny Guan ginny@iotechsys.com 03:35:22 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:35:22 Message: update stable to v1.0.260 03:35:22 ------------------- 03:35:22 experimental info: 03:35:22 ------------------- 03:35:22 Commited By: Ginny Guan ginny@iotechsys.com 03:35:22 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:35:22 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:35:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:35:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-453 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-453 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-453 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94a7934c87af55316a2c428005b641d42796e547 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94a7934 [Pipeline] echo 03:35:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:24 provisioning config files... 03:35:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-453@tmp/config16141089532097966977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:25 ---> ****-login.sh 03:35:25 nexus3.edgexfoundry.org:10001 03:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:26 Configure a credential helper to remove this warning. See 03:35:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:26 03:35:26 Login Succeeded 03:35:26 nexus3.edgexfoundry.org:10002 03:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:26 Configure a credential helper to remove this warning. See 03:35:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:26 03:35:26 Login Succeeded 03:35:26 nexus3.edgexfoundry.org:10003 03:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:26 Configure a credential helper to remove this warning. See 03:35:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:26 03:35:26 Login Succeeded 03:35:26 nexus3.edgexfoundry.org:10004 03:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:26 Configure a credential helper to remove this warning. See 03:35:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:26 03:35:26 Login Succeeded 03:35:26 ****.io 03:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:26 Configure a credential helper to remove this warning. See 03:35:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:26 03:35:26 Login Succeeded 03:35:26 ---> ****-login.sh ends [Pipeline] } 03:35:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:35:27 + git rev-list -1 --merges 94a7934c87af55316a2c428005b641d42796e547~1..94a7934c87af55316a2c428005b641d42796e547 [Pipeline] echo 03:35:27 -----------> git rev-list -1 --merges 94a7934c87af55316a2c428005b641d42796e547~1..94a7934c87af55316a2c428005b641d42796e547 94a7934c87af55316a2c428005b641d42796e547 [false] [Pipeline] sh 03:35:27 + git log --format=format:%s -1 94a7934c87af55316a2c428005b641d42796e547 [Pipeline] echo 03:35:27 ========================================================= 03:35:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:35:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:35:28 + git log --format=format:%s -1 94a7934c87af55316a2c428005b641d42796e547 [Pipeline] echo 03:35:28 [semverPrep] GIT_COMMIT: 94a7934c87af55316a2c428005b641d42796e547, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:35:28 [semverPrep] This is not a build commit. [Pipeline] sh 03:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:28 + grep -v github /etc/ssh/ssh_known_hosts 03:35:28 + [ -e /tmp/ssh_known_hosts ] 03:35:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:35:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:35:28 + sudo tee -a /etc/ssh/ssh_known_hosts 03:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:29 03:35:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:29 0.1.4: Pulling from edgex-devops/py-git-semver 03:35:29 b85a868b505f: Pulling fs layer 03:35:29 e2be974225ed: Pulling fs layer 03:35:29 339a4e72a1f5: Pulling fs layer 03:35:29 988bab9f4d93: Pulling fs layer 03:35:29 1469e6f7b9e6: Pulling fs layer 03:35:29 988bab9f4d93: Waiting 03:35:29 eaf3925da568: Pulling fs layer 03:35:29 bab4dde63d76: Pulling fs layer 03:35:29 eaf3925da568: Waiting 03:35:29 bde34c3a00c8: Pulling fs layer 03:35:29 b352a97aabf1: Pulling fs layer 03:35:29 bab4dde63d76: Waiting 03:35:29 bde34c3a00c8: Waiting 03:35:29 4872d77fe225: Pulling fs layer 03:35:29 5851b861e8e6: Pulling fs layer 03:35:29 b352a97aabf1: Waiting 03:35:29 5851b861e8e6: Waiting 03:35:29 4872d77fe225: Waiting 03:35:29 e2be974225ed: Download complete 03:35:29 988bab9f4d93: Download complete 03:35:29 1469e6f7b9e6: Verifying Checksum 03:35:29 1469e6f7b9e6: Download complete 03:35:29 339a4e72a1f5: Verifying Checksum 03:35:29 339a4e72a1f5: Download complete 03:35:29 eaf3925da568: Verifying Checksum 03:35:29 eaf3925da568: Download complete 03:35:29 bde34c3a00c8: Verifying Checksum 03:35:29 bde34c3a00c8: Download complete 03:35:30 b352a97aabf1: Verifying Checksum 03:35:30 b352a97aabf1: Download complete 03:35:30 4872d77fe225: Download complete 03:35:30 5851b861e8e6: Verifying Checksum 03:35:30 5851b861e8e6: Download complete 03:35:30 b85a868b505f: Download complete 03:35:30 bab4dde63d76: Verifying Checksum 03:35:30 bab4dde63d76: Download complete 03:35:31 b85a868b505f: Pull complete 03:35:31 e2be974225ed: Pull complete 03:35:32 339a4e72a1f5: Pull complete 03:35:32 988bab9f4d93: Pull complete 03:35:32 1469e6f7b9e6: Pull complete 03:35:32 eaf3925da568: Pull complete 03:35:35 bab4dde63d76: Pull complete 03:35:35 bde34c3a00c8: Pull complete 03:35:36 b352a97aabf1: Pull complete 03:35:36 4872d77fe225: Pull complete 03:35:36 5851b861e8e6: Pull complete 03:35:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:37 prd-ubuntu20.04-docker-8c-8g-8570 does not seem to be running inside a container 03:35:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-453 -v /w/workspace/undry_device-onvif-camera_PR-453:/w/workspace/undry_device-onvif-camera_PR-453:rw,z -v /w/workspace/undry_device-onvif-camera_PR-453@tmp:/w/workspace/undry_device-onvif-camera_PR-453@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:48 $ docker top e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a -eo pid,comm 03:35:49 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). 03:35:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:49 [ssh-agent] Looking for ssh-agent implementation... 03:35:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:49 $ docker exec e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a ssh-agent 03:35:49 SSH_AUTH_SOCK=/tmp/ssh-zqll9SRF525m/agent.31 03:35:49 SSH_AGENT_PID=37 03:35:49 Running ssh-add (command line suppressed) 03:35:49 Identity added: /w/workspace/undry_device-onvif-camera_PR-453@tmp/private_key_8370623336743872323.key (/w/workspace/undry_device-onvif-camera_PR-453@tmp/private_key_8370623336743872323.key) 03:35:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:49 + git tag --points-at HEAD [Pipeline] } 03:35:49 $ docker exec --env ******** --env ******** e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a ssh-agent -k 03:35:50 unset SSH_AUTH_SOCK; 03:35:50 unset SSH_AGENT_PID; 03:35:50 echo Agent pid 37 killed; 03:35:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:35:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:50 [ssh-agent] Looking for ssh-agent implementation... 03:35:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:50 $ docker exec e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a ssh-agent 03:35:50 SSH_AUTH_SOCK=/tmp/ssh-D4nK8uVlricE/agent.70 03:35:50 SSH_AGENT_PID=76 03:35:50 Running ssh-add (command line suppressed) 03:35:50 Identity added: /w/workspace/undry_device-onvif-camera_PR-453@tmp/private_key_8676313240916838632.key (/w/workspace/undry_device-onvif-camera_PR-453@tmp/private_key_8676313240916838632.key) 03:35:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:50 + git semver init 03:35:51 2024-08-26 03:35:51,197 [run_init] DEBUG init version:0.0.0 force:False 03:35:51 2024-08-26 03:35:51,199 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-453/.semver 03:35:51 2024-08-26 03:35:51,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-453/.semver 03:35:51 2024-08-26 03:35:51,200 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-453/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-453, universal_newlines=False, shell=None, istream=None) 03:35:52 2024-08-26 03:35:52,718 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-453/.git/info/exclude 03:35:52 2024-08-26 03:35:52,719 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-453/.semver/PR-453 with force:False 03:35:52 2024-08-26 03:35:52,719 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-453/.semver/PR-453 03:35:52 2024-08-26 03:35:52,722 [execute] INFO git cat-file --batch-check 03:35:52 2024-08-26 03:35:52,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-453/.semver, universal_newlines=False, shell=None, istream=) 03:35:52 2024-08-26 03:35:52,729 [execute] INFO git cat-file --batch 03:35:52 2024-08-26 03:35:52,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-453/.semver, universal_newlines=False, shell=None, istream=) 03:35:52 2024-08-26 03:35:52,734 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-453/.semver/PR-453 03:35:52 0.0.0 [Pipeline] } 03:35:52 $ docker exec --env ******** --env ******** e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a ssh-agent -k 03:35:53 unset SSH_AUTH_SOCK; 03:35:53 unset SSH_AGENT_PID; 03:35:53 echo Agent pid 76 killed; 03:35:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:53 + git semver [Pipeline] } 03:35:53 $ docker stop --time=1 e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a 03:35:55 $ docker rm -f --volumes e15e864651d87d6111b773a38c14771c887b4b0abf651ca0cb0adde07714486a [Pipeline] // withDockerContainer [Pipeline] sh 03:35:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:35:56 Stashed 1 file(s) [Pipeline] echo 03:35:56 [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 03:35:57 provisioning config files... 03:35:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-453@tmp/config2399065031884577104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:57 ---> ****-login.sh 03:35:57 nexus3.edgexfoundry.org:10001 03:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:57 Configure a credential helper to remove this warning. See 03:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:57 03:35:57 Login Succeeded 03:35:57 nexus3.edgexfoundry.org:10002 03:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:57 Configure a credential helper to remove this warning. See 03:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:57 03:35:57 Login Succeeded 03:35:57 nexus3.edgexfoundry.org:10003 03:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:57 Configure a credential helper to remove this warning. See 03:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:57 03:35:57 Login Succeeded 03:35:57 nexus3.edgexfoundry.org:10004 03:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:57 Configure a credential helper to remove this warning. See 03:35:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:57 03:35:57 Login Succeeded 03:35:57 ****.io 03:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:35:58 Configure a credential helper to remove this warning. See 03:35:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:35:58 03:35:58 Login Succeeded 03:35:58 ---> ****-login.sh ends [Pipeline] } 03:35:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:35:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:35:58 ========================================================= 03:35:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:35:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:35:59 Sending build context to Docker daemon 36.65MB 03:35:59 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:35:59 Step 2/13 : FROM ${BASE} AS builder 03:35:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:35:59 619be1103602: Pulling fs layer 03:35:59 7862e08f4a3e: Pulling fs layer 03:35:59 5df492c9dc93: Pulling fs layer 03:35:59 7629e6793208: Pulling fs layer 03:35:59 4f4fb700ef54: Pulling fs layer 03:35:59 fb5054dd5b73: Pulling fs layer 03:35:59 7629e6793208: Waiting 03:35:59 4f4fb700ef54: Waiting 03:35:59 eeca6798cff9: Pulling fs layer 03:35:59 aa269ceb94a6: Pulling fs layer 03:35:59 fb5054dd5b73: Waiting 03:35:59 eeca6798cff9: Waiting 03:35:59 ada007ff1a6a: Pulling fs layer 03:35:59 aa269ceb94a6: Waiting 03:35:59 ada007ff1a6a: Waiting 03:35:59 7862e08f4a3e: Verifying Checksum 03:35:59 7862e08f4a3e: Download complete 03:35:59 7629e6793208: Download complete 03:35:59 4f4fb700ef54: Download complete 03:35:59 619be1103602: Verifying Checksum 03:35:59 619be1103602: Download complete 03:35:59 fb5054dd5b73: Verifying Checksum 03:35:59 fb5054dd5b73: Download complete 03:35:59 eeca6798cff9: Verifying Checksum 03:35:59 eeca6798cff9: Download complete 03:35:59 ada007ff1a6a: Verifying Checksum 03:35:59 ada007ff1a6a: Download complete 03:36:00 5df492c9dc93: Verifying Checksum 03:36:00 5df492c9dc93: Download complete 03:36:00 619be1103602: Pull complete 03:36:00 aa269ceb94a6: Verifying Checksum 03:36:00 aa269ceb94a6: Download complete 03:36:00 7862e08f4a3e: Pull complete 03:36:05 5df492c9dc93: Pull complete 03:36:06 7629e6793208: Pull complete 03:36:06 4f4fb700ef54: Pull complete 03:36:07 fb5054dd5b73: Pull complete 03:36:07 eeca6798cff9: Pull complete 03:36:11 Still waiting to schedule task 03:36:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8569’ 03:36:12 aa269ceb94a6: Pull complete 03:36:12 ada007ff1a6a: Pull complete 03:36:12 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:36:12 ---> f489d0715acc 03:36:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:36:23 ---> Running in 79361a16559f 03:36:23 Removing intermediate container 79361a16559f 03:36:23 ---> 66f02e05e18c 03:36:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:36:23 ---> Running in 364a710fce4f 03:36:23 Removing intermediate container 364a710fce4f 03:36:23 ---> a34cdd3f79ff 03:36:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:36:23 ---> Running in aacf443d9406 03:36:23 Removing intermediate container aacf443d9406 03:36:23 ---> 533f88785ba9 03:36:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:36:23 ---> Running in 51aad7ecabb0 03:36:23 Removing intermediate container 51aad7ecabb0 03:36:23 ---> 91b5cb0307d7 03:36:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:36:23 ---> Running in 48e5ed780067 03:36:23 Removing intermediate container 48e5ed780067 03:36:23 ---> 75749d84f23a 03:36:23 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:36:23 ---> Running in 79c5be116755 03:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:36:23 OK: 264 MiB in 52 packages 03:36:23 Removing intermediate container 79c5be116755 03:36:23 ---> c716b47c71b6 03:36:23 Step 9/13 : WORKDIR /device-onvif-camera 03:36:23 ---> Running in 734e4abc701d 03:36:23 Removing intermediate container 734e4abc701d 03:36:23 ---> 40f22c80b2f3 03:36:23 Step 10/13 : COPY go.mod vendor* ./ 03:36:23 ---> 9df7e3450f34 03:36:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:36:23 ---> Running in 90727479729a 03:38:14 Removing intermediate container 90727479729a 03:38:14 ---> 14c8ce798fd3 03:38:14 Step 12/13 : COPY . . 03:38:14 ---> f1a5c01e7abc 03:38:14 Step 13/13 : RUN ${MAKE} 03:38:14 ---> Running in c724246e7502 03:38:14 noop 03:38:14 Removing intermediate container c724246e7502 03:38:14 ---> 3c3363a6a686 03:38:14 Successfully built 3c3363a6a686 03:38:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:15 + docker inspect -f . ci-base-image-x86_64 03:38:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:15 prd-ubuntu20.04-docker-8c-8g-8570 does not seem to be running inside a container 03:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-453 -v /w/workspace/undry_device-onvif-camera_PR-453:/w/workspace/undry_device-onvif-camera_PR-453:rw,z -v /w/workspace/undry_device-onvif-camera_PR-453@tmp:/w/workspace/undry_device-onvif-camera_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:16 $ docker top 130ec373aad7e2de2832f6afe5ec0a5166916d1a4a77f8f7b521b5f1ea7bf44c -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:16 + go version 03:38:16 go version go1.21.9 linux/amd64 [Pipeline] } 03:38:16 $ docker stop --time=1 130ec373aad7e2de2832f6afe5ec0a5166916d1a4a77f8f7b521b5f1ea7bf44c 03:38:17 $ docker rm -f --volumes 130ec373aad7e2de2832f6afe5ec0a5166916d1a4a77f8f7b521b5f1ea7bf44c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:18 + docker inspect -f . ci-base-image-x86_64 03:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:18 prd-ubuntu20.04-docker-8c-8g-8570 does not seem to be running inside a container 03:38:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-453 -v /w/workspace/undry_device-onvif-camera_PR-453:/w/workspace/undry_device-onvif-camera_PR-453:rw,z -v /w/workspace/undry_device-onvif-camera_PR-453@tmp:/w/workspace/undry_device-onvif-camera_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:19 $ docker top ce2bc3aeb5e6f53fe9a52166831eb5a6af25b8f0a58629cfe2f177543a9f8d2c -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:19 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-453 [Pipeline] fileExists [Pipeline] sh 03:38:20 + make test 03:38:20 go test ./... -coverprofile=coverage.out ./... 03:38:23 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:38:45 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:38:45 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:38:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements 03:38:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.258s coverage: 86.5% of statements 03:39:00 go vet ./... 03:39:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:05 ./bin/test-attribution-txt.sh 03:39:05 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:39:05 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:39:05 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:39:05 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:39:05 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:39:05 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:39:05 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:39:05 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:39:05 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:39:05 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:39:05 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:39:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:39:05 $ docker stop --time=1 ce2bc3aeb5e6f53fe9a52166831eb5a6af25b8f0a58629cfe2f177543a9f8d2c 03:39:07 $ docker rm -f --volumes ce2bc3aeb5e6f53fe9a52166831eb5a6af25b8f0a58629cfe2f177543a9f8d2c [Pipeline] // withDockerContainer [Pipeline] sh 03:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:39:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:09 + ls -al . 03:39:09 total 312 03:39:09 drwxrwxr-x 9 jenkins jenkins 4096 Aug 26 03:38 . 03:39:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:35 .. 03:39:09 drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 03:38 .git 03:39:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 03:35 .github 03:39:09 -rw-rw-r-- 1 jenkins jenkins 493 Aug 26 03:35 .gitignore 03:39:09 -rw-rw-r-- 1 jenkins jenkins 42 Aug 26 03:35 .golangci.yml 03:39:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 26 03:35 .semver 03:39:09 -rw-rw-r-- 1 jenkins jenkins 11155 Aug 26 03:35 Attribution.txt 03:39:09 -rw-rw-r-- 1 jenkins jenkins 17665 Aug 26 03:35 CHANGELOG.md 03:39:09 -rw-rw-r-- 1 jenkins jenkins 1683 Aug 26 03:35 Dockerfile 03:39:09 -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 03:35 GOVERNANCE.md 03:39:09 -rw-rw-r-- 1 jenkins jenkins 739 Aug 26 03:35 Jenkinsfile 03:39:09 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 26 03:35 LICENSE 03:39:09 -rw-rw-r-- 1 jenkins jenkins 2883 Aug 26 03:35 Makefile 03:39:09 -rw-rw-r-- 1 jenkins jenkins 625 Aug 26 03:35 OWNERS.md 03:39:09 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 26 03:35 README.md 03:39:09 -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 03:35 VERSION 03:39:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 03:35 bin 03:39:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 03:35 cmd 03:39:09 -rw-r--r-- 1 jenkins jenkins 78805 Aug 26 03:38 coverage.out 03:39:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:35 doc 03:39:09 -rw-rw-r-- 1 jenkins jenkins 7331 Aug 26 03:35 go.mod 03:39:09 -rw-rw-r-- 1 jenkins jenkins 102413 Aug 26 03:35 go.sum 03:39:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:35 internal 03:39:09 -rw-rw-r-- 1 jenkins jenkins 236 Aug 26 03:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:10 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=94a7934c87af55316a2c428005b641d42796e547 --label arch=amd64 --label version=0.0.0 . 03:39:10 Sending build context to Docker daemon 36.73MB 03:39:10 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:39:10 Step 2/27 : FROM ${BASE} AS builder 03:39:10 ---> 3c3363a6a686 03:39:10 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:39:11 ---> Running in 9bef87761885 03:39:11 Removing intermediate container 9bef87761885 03:39:11 ---> 805371077e43 03:39:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:11 ---> Running in c69ec7c13863 03:39:11 Removing intermediate container c69ec7c13863 03:39:11 ---> db4aede747c3 03:39:11 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:39:11 ---> Running in a6b7a2be7547 03:39:11 Removing intermediate container a6b7a2be7547 03:39:11 ---> d23337a5dd01 03:39:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:39:11 ---> Running in b468bae77bac 03:39:12 Removing intermediate container b468bae77bac 03:39:12 ---> 25ff555b2d39 03:39:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:39:12 ---> Running in 8d9611080e9c 03:39:12 Removing intermediate container 8d9611080e9c 03:39:12 ---> baf37d5f8036 03:39:12 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:12 ---> Running in 7b7ba543abf2 03:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:12 OK: 264 MiB in 52 packages 03:39:13 Removing intermediate container 7b7ba543abf2 03:39:13 ---> a789722739fe 03:39:13 Step 9/27 : WORKDIR /device-onvif-camera 03:39:13 ---> Running in 11c43c4e42df 03:39:13 Removing intermediate container 11c43c4e42df 03:39:13 ---> 8032aed871ec 03:39:13 Step 10/27 : COPY go.mod vendor* ./ 03:39:13 ---> d9245e04969a 03:39:13 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:13 ---> Running in 6f547ec14507 03:39:14 Removing intermediate container 6f547ec14507 03:39:14 ---> b0d9f7556703 03:39:14 Step 12/27 : COPY . . 03:39:15 ---> eb28fe90135b 03:39:15 Step 13/27 : RUN ${MAKE} 03:39:15 ---> Running in 62b521ce8d00 03:39:15 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:39:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8571 in /w/workspace/undry_device-onvif-camera_PR-453 [Pipeline] { [Pipeline] ws 03:39:32 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:39:32 The recommended git tool is: git 03:39:40 using credential edgex-jenkins-ssh 03:39:40 Cloning the remote Git repository 03:39:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:39:40 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:39:40 > git --version # timeout=10 03:39:40 > git --version # 'git version 2.25.1' 03:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:39:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:39:45 Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 94a7934c87af55316a2c428005b641d42796e547 03:39:46 Merge succeeded, producing 94a7934c87af55316a2c428005b641d42796e547 03:39:46 Checking out Revision 94a7934c87af55316a2c428005b641d42796e547 (PR-453) 03:39:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:39:45 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:39:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/453/head:refs/remotes/origin/PR-453 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:39:45 > git config core.sparsecheckout # timeout=10 03:39:45 > git checkout -f 94a7934c87af55316a2c428005b641d42796e547 # timeout=10 03:39:46 > git remote # timeout=10 03:39:46 > git config --get remote.origin.url # timeout=10 03:39:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:39:46 > git merge 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 03:39:46 > git rev-parse HEAD^{commit} # timeout=10 03:39:46 > git config core.sparsecheckout # timeout=10 03:39:46 > git checkout -f 94a7934c87af55316a2c428005b641d42796e547 # timeout=10 03:39:46 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:39:46 > git --version # timeout=10 03:39:46 > git --version # 'git version 2.25.1' 03:39:47 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:39:52 % Total % Received % Xferd Average Speed Time Time Time Current 03:39:52 Dload Upload Total Spent Left Speed 03:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 92956 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92287 [Pipeline] sh 03:39:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:39:52 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 03:39:52 /etc/docker/daemon.json 03:39:52 { 03:39:52 "registry-mirrors": [ 03:39:52 "https://nexus3.edgexfoundry.org:10001" 03:39:52 ], 03:39:52 "bip": "10.250.0.254/24", 03:39:52 "hosts": [ 03:39:52 "tcp://0.0.0.0:5555", 03:39:52 "unix:///var/run/docker.sock" 03:39:52 ], 03:39:52 "mtu": 1458, 03:39:52 "selinux-enabled": true, 03:39:52 "seccomp-profile": "/etc/docker/seccomp.json" 03:39:52 } [Pipeline] sh 03:39:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:39:53 + sudo service docker restart 03:39:54 Removing intermediate container 62b521ce8d00 03:39:54 ---> 892be869bc39 03:39:54 Step 14/27 : FROM alpine:3.18 03:39:54 3.18: Pulling from library/alpine 03:39:54 930bdd4d222e: Pulling fs layer 03:39:54 930bdd4d222e: Verifying Checksum 03:39:54 930bdd4d222e: Download complete 03:39:54 930bdd4d222e: Pull complete 03:39:54 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:39:54 Status: Downloaded newer image for alpine:3.18 03:39:54 ---> 18f865063206 03:39:54 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:39:54 ---> Running in b28c60ccb7d4 03:39:54 Removing intermediate container b28c60ccb7d4 03:39:54 ---> 2f3e798f381d 03:39:54 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:39:54 ---> Running in ed2f98ec8894 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:55 (1/1) Installing dumb-init (1.2.5-r2) 03:39:55 Executing busybox-1.36.1-r7.trigger 03:39:55 OK: 7 MiB in 16 packages 03:39:55 Removing intermediate container ed2f98ec8894 03:39:55 ---> cf0c34e14f65 03:39:55 Step 17/27 : RUN apk --no-cache upgrade 03:39:55 ---> Running in 3ec91c39bb80 03:39:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:39:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:39:56 OK: 7 MiB in 16 packages 03:39:56 Removing intermediate container 3ec91c39bb80 03:39:56 ---> 37efb92e0194 03:39:56 Step 18/27 : WORKDIR / 03:39:56 ---> Running in bf66b39425a5 03:39:56 Removing intermediate container bf66b39425a5 03:39:56 ---> 4f6329b28cf8 03:39:56 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:39:58 ---> 1ae39d2edd32 03:39:58 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:39:58 ---> 5118572ce9ef 03:39:58 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:39:58 ---> 2ecf06d8e09d 03:39:58 Step 22/27 : EXPOSE 59984 03:39:58 ---> Running in 130da5f8e8d1 03:39:58 Removing intermediate container 130da5f8e8d1 03:39:58 ---> 0d46199b330b 03:39:58 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:39:58 ---> Running in aaec1f178954 03:39:59 Removing intermediate container aaec1f178954 03:39:59 ---> 9d0f2325e91c 03:39:59 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:39:59 ---> Running in f558a347d486 03:39:59 Removing intermediate container f558a347d486 03:39:59 ---> 0ec58c1c31c4 03:39:59 Step 25/27 : LABEL arch=amd64 03:39:59 ---> Running in 2fa297bdfa3b 03:39:59 Removing intermediate container 2fa297bdfa3b 03:39:59 ---> 859f0e405f7e 03:39:59 Step 26/27 : LABEL git_sha=94a7934c87af55316a2c428005b641d42796e547 03:39:59 ---> Running in e5e72f7e227b 03:39:59 Removing intermediate container e5e72f7e227b 03:39:59 ---> 59fdc35eefea 03:39:59 Step 27/27 : LABEL version=0.0.0 03:39:59 ---> Running in 18619e30d0ef 03:39:59 Removing intermediate container 18619e30d0ef 03:39:59 ---> 9737ee1f7a38 03:39:59 [Warning] One or more build-args [ARCH] were not consumed 03:39:59 Successfully built 9737ee1f7a38 03:39:59 Successfully tagged device-onvif-camera: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 03:40:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:01 03:40:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:01 latest: Pulling from edgex-lftools-log-publisher 03:40:01 5eb5b503b376: Pulling fs layer 03:40:01 5c69ac0246d0: Pulling fs layer 03:40:01 ec43610c2a17: Pulling fs layer 03:40:01 3a2ae6a8a46f: Pulling fs layer 03:40:01 33b1e0a273af: Pulling fs layer 03:40:01 5d3b04190fa2: Pulling fs layer 03:40:01 2f39f015ded8: Pulling fs layer 03:40:01 3a2ae6a8a46f: Waiting 03:40:01 2f39f015ded8: Waiting 03:40:01 5d3b04190fa2: Waiting 03:40:01 5c69ac0246d0: Verifying Checksum 03:40:01 5c69ac0246d0: Download complete 03:40:01 3a2ae6a8a46f: Verifying Checksum 03:40:01 3a2ae6a8a46f: Download complete 03:40:01 33b1e0a273af: Verifying Checksum 03:40:01 33b1e0a273af: Download complete 03:40:01 5d3b04190fa2: Verifying Checksum 03:40:01 5d3b04190fa2: Download complete 03:40:01 ec43610c2a17: Verifying Checksum 03:40:02 5eb5b503b376: Verifying Checksum 03:40:02 5eb5b503b376: Download complete 03:40:02 2f39f015ded8: Download complete 03:40:03 5eb5b503b376: Pull complete 03:40:03 5c69ac0246d0: Pull complete 03:40:04 ec43610c2a17: Pull complete 03:40:04 3a2ae6a8a46f: Pull complete 03:40:04 33b1e0a273af: Pull complete 03:40:09 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:11 provisioning config files... 03:40:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1496193613496018690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:12 ---> ****-login.sh 03:40:12 nexus3.edgexfoundry.org:10001 03:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:13 Configure a credential helper to remove this warning. See 03:40:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:13 03:40:13 Login Succeeded 03:40:13 nexus3.edgexfoundry.org:10002 03:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:13 2f39f015ded8: Pull complete 03:40:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:14 Configure a credential helper to remove this warning. See 03:40:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:14 03:40:14 Login Succeeded 03:40:14 nexus3.edgexfoundry.org:10003 [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:14 prd-ubuntu20.04-docker-8c-8g-8570 does not seem to be running inside a container 03:40:14 $ 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/undry_device-onvif-camera_PR-453 -v /w/workspace/undry_device-onvif-camera_PR-453:/w/workspace/undry_device-onvif-camera_PR-453:rw,z -v /w/workspace/undry_device-onvif-camera_PR-453@tmp:/w/workspace/undry_device-onvif-camera_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:14 Configure a credential helper to remove this warning. See 03:40:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:14 03:40:14 Login Succeeded 03:40:14 nexus3.edgexfoundry.org:10004 03:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:14 Configure a credential helper to remove this warning. See 03:40:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:14 03:40:14 Login Succeeded 03:40:14 ****.io 03:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:40:15 Configure a credential helper to remove this warning. See 03:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:40:15 03:40:15 Login Succeeded 03:40:15 ---> ****-login.sh ends 03:40:18 $ docker top fc4885f53a82279f83fa988e183b79e88f49777ae069ea92614054fc955168a1 -eo pid,comm [Pipeline] { [Pipeline] } 03:40:18 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 03:40:19 ---> job-cost.sh 03:40:19 lf-activate-venv: SKIPPING 03:40:19 INFO: No Stack... [Pipeline] echo 03:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:40:19 ========================================================= 03:40:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:40:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:40:20 INFO: Archiving Costs [Pipeline] sh 03:40:20 + cat /w/workspace/undry_device-onvif-camera_PR-453/archives/cost.csv 03:40:20 + cut -d, -f6 [Pipeline] lock 03:40:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] 03:40:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] did not exist. Created. 03:40:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:20 Sending build context to Docker daemon 21.73MB 03:40:20 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:40:20 Step 2/13 : FROM ${BASE} AS builder 03:40:21 + echo total: 0.2199999988079071 03:40:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:40:21 c6b39de5b339: Pulling fs layer 03:40:21 a69c41024577: Pulling fs layer 03:40:21 d6de4b400683: Pulling fs layer 03:40:21 35cb2a7552d0: Pulling fs layer 03:40:21 4f4fb700ef54: Pulling fs layer 03:40:21 464afbd9ba4c: Pulling fs layer 03:40:21 00f215d4a9da: Pulling fs layer 03:40:21 d496ad576159: Pulling fs layer 03:40:21 464afbd9ba4c: Waiting 03:40:21 00f215d4a9da: Waiting 03:40:21 d496ad576159: Waiting 03:40:21 35cb2a7552d0: Waiting 03:40:21 a69c41024577: Verifying Checksum 03:40:21 a69c41024577: Download complete 03:40:21 35cb2a7552d0: Download complete 03:40:21 4f4fb700ef54: Verifying Checksum 03:40:21 4f4fb700ef54: Download complete 03:40:21 c6b39de5b339: Download complete 03:40:21 464afbd9ba4c: Verifying Checksum 03:40:21 464afbd9ba4c: Download complete [Pipeline] stash 03:40:21 Stashed 1 file(s) [Pipeline] } 03:40:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:21 $ docker stop --time=1 fc4885f53a82279f83fa988e183b79e88f49777ae069ea92614054fc955168a1 03:40:21 d496ad576159: Verifying Checksum 03:40:21 d496ad576159: Download complete 03:40:21 c6b39de5b339: Pull complete 03:40:22 $ docker rm -f --volumes fc4885f53a82279f83fa988e183b79e88f49777ae069ea92614054fc955168a1 03:40:22 a69c41024577: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 03:40:22 d6de4b400683: Verifying Checksum 03:40:22 d6de4b400683: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:40:24 00f215d4a9da: Download complete 03:40:36 d6de4b400683: Pull complete 03:40:36 35cb2a7552d0: Pull complete 03:40:36 4f4fb700ef54: Pull complete 03:40:36 464afbd9ba4c: Pull complete 03:40:44 00f215d4a9da: Pull complete 03:40:46 d496ad576159: Pull complete 03:40:46 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:40:46 ---> f246e2811388 03:40:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:40:48 ---> Running in c2eda1f5bf31 03:40:48 Removing intermediate container c2eda1f5bf31 03:40:48 ---> 57b73ea489a0 03:40:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:40:48 ---> Running in 57d7978de691 03:40:49 Removing intermediate container 57d7978de691 03:40:49 ---> 050a156da92f 03:40:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:40:49 ---> Running in 4ce938b05124 03:40:50 Removing intermediate container 4ce938b05124 03:40:50 ---> 69f4ad7d4f89 03:40:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:40:50 ---> Running in 89321f3b4ff6 03:40:50 Removing intermediate container 89321f3b4ff6 03:40:50 ---> acc8ce45544f 03:40:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:40:50 ---> Running in dc69b3f875a6 03:40:50 Removing intermediate container dc69b3f875a6 03:40:50 ---> 34bfc28f1ac6 03:40:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:40:50 ---> Running in 863b5255a282 03:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:40:53 OK: 266 MiB in 52 packages 03:40:53 Removing intermediate container 863b5255a282 03:40:53 ---> 70df47a19e28 03:40:53 Step 9/13 : WORKDIR /device-onvif-camera 03:40:54 ---> Running in 69fc493b765e 03:40:54 Removing intermediate container 69fc493b765e 03:40:54 ---> f8af37f3b4bc 03:40:54 Step 10/13 : COPY go.mod vendor* ./ 03:40:54 ---> 2eaa624cd3b1 03:40:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:54 ---> Running in cc712d37fcd0 03:43:01 Removing intermediate container cc712d37fcd0 03:43:01 ---> 9721cbbb7b8e 03:43:01 Step 12/13 : COPY . . 03:43:01 ---> f80649bc4a7f 03:43:01 Step 13/13 : RUN ${MAKE} 03:43:01 ---> Running in 1ac3bcb521be 03:43:01 noop 03:43:01 Removing intermediate container 1ac3bcb521be 03:43:01 ---> eb9b25b190b1 03:43:01 Successfully built eb9b25b190b1 03:43:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:02 + docker inspect -f . ci-base-image-arm64 03:43:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:02 prd-ubuntu20.04-docker-arm64-4c-16g-8571 does not seem to be running inside a container 03:43:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:43:03 $ docker top 7222c9d37327e42b8823ebcdb19f9d8d0624470dcd0e161fcf13aa1b386ac956 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:04 + go version 03:43:04 go version go1.21.9 linux/arm64 [Pipeline] } 03:43:04 $ docker stop --time=1 7222c9d37327e42b8823ebcdb19f9d8d0624470dcd0e161fcf13aa1b386ac956 03:43:06 $ docker rm -f --volumes 7222c9d37327e42b8823ebcdb19f9d8d0624470dcd0e161fcf13aa1b386ac956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:07 + docker inspect -f . ci-base-image-arm64 03:43:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:07 prd-ubuntu20.04-docker-arm64-4c-16g-8571 does not seem to be running inside a container 03:43:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:43:08 $ docker top 53a6745d75237f2a97cae70b92c7178ce3e6a754deeee164c97e0fb665f3de73 -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:09 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:43:10 + make test 03:43:10 go test ./... -coverprofile=coverage.out ./... 03:43:15 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:46:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:46:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:46:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 31.4% of statements 03:47:04 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.737s coverage: 86.5% of statements 03:47:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:47:04 go vet ./... 03:47:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:47:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:47:50 ./bin/test-attribution-txt.sh 03:47:50 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:47:50 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:47:50 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:47:50 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:47:50 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:47:50 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:47:50 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:47:50 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:47:50 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:47:50 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:47:50 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:47:50 $ docker stop --time=1 53a6745d75237f2a97cae70b92c7178ce3e6a754deeee164c97e0fb665f3de73 03:47:52 $ docker rm -f --volumes 53a6745d75237f2a97cae70b92c7178ce3e6a754deeee164c97e0fb665f3de73 [Pipeline] // withDockerContainer [Pipeline] sh 03:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:47:54 Warning: overwriting stash ‘coverage-report’ 03:47:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:47:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:56 + ls -al . 03:47:56 total 308 03:47:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 03:43 . 03:47:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:39 .. 03:47:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 26 03:39 .git 03:47:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 03:39 .github 03:47:56 -rw-rw-r-- 1 jenkins jenkins 493 Aug 26 03:39 .gitignore 03:47:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 26 03:39 .golangci.yml 03:47:56 -rw-rw-r-- 1 jenkins jenkins 11155 Aug 26 03:39 Attribution.txt 03:47:56 -rw-rw-r-- 1 jenkins jenkins 17665 Aug 26 03:39 CHANGELOG.md 03:47:56 -rw-rw-r-- 1 jenkins jenkins 1683 Aug 26 03:39 Dockerfile 03:47:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 26 03:39 GOVERNANCE.md 03:47:56 -rw-rw-r-- 1 jenkins jenkins 739 Aug 26 03:39 Jenkinsfile 03:47:56 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 26 03:39 LICENSE 03:47:56 -rw-rw-r-- 1 jenkins jenkins 2883 Aug 26 03:39 Makefile 03:47:56 -rw-rw-r-- 1 jenkins jenkins 625 Aug 26 03:39 OWNERS.md 03:47:56 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 26 03:39 README.md 03:47:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 26 03:35 VERSION 03:47:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 26 03:39 bin 03:47:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 26 03:39 cmd 03:47:56 -rw-r--r-- 1 jenkins jenkins 78805 Aug 26 03:47 coverage.out 03:47:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:39 doc 03:47:56 -rw-rw-r-- 1 jenkins jenkins 7331 Aug 26 03:39 go.mod 03:47:56 -rw-rw-r-- 1 jenkins jenkins 102413 Aug 26 03:39 go.sum 03:47:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 26 03:39 internal 03:47:56 -rw-rw-r-- 1 jenkins jenkins 236 Aug 26 03:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:56 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=94a7934c87af55316a2c428005b641d42796e547 --label arch=arm64 --label version=0.0.0 . 03:47:57 Sending build context to Docker daemon 21.81MB 03:47:57 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:47:57 Step 2/27 : FROM ${BASE} AS builder 03:47:57 ---> eb9b25b190b1 03:47:57 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:47:57 ---> Running in 6a4d681eafa4 03:47:57 Removing intermediate container 6a4d681eafa4 03:47:57 ---> 7f581442dd8b 03:47:57 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:58 ---> Running in 5e053c22a554 03:47:58 Removing intermediate container 5e053c22a554 03:47:58 ---> 4a0ddb9fe369 03:47:58 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:47:58 ---> Running in 217a5d690190 03:47:58 Removing intermediate container 217a5d690190 03:47:58 ---> 0170502adb82 03:47:58 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:47:58 ---> Running in c4808c452733 03:47:58 Removing intermediate container c4808c452733 03:47:58 ---> 78a8d7d4845a 03:47:58 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:47:59 ---> Running in 4163ff7e6d2c 03:47:59 Removing intermediate container 4163ff7e6d2c 03:47:59 ---> 7efa7c295c22 03:47:59 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:59 ---> Running in 0ebadee7a904 03:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:48:01 OK: 266 MiB in 52 packages 03:48:02 Removing intermediate container 0ebadee7a904 03:48:02 ---> 52cc8957866e 03:48:02 Step 9/27 : WORKDIR /device-onvif-camera 03:48:02 ---> Running in 47de25f78fb9 03:48:03 Removing intermediate container 47de25f78fb9 03:48:03 ---> c6448ac8c576 03:48:03 Step 10/27 : COPY go.mod vendor* ./ 03:48:03 ---> a75751fcaaa3 03:48:03 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:48:03 ---> Running in e382e8c1b50c 03:48:06 Removing intermediate container e382e8c1b50c 03:48:06 ---> 44f6ed93fb9f 03:48:06 Step 12/27 : COPY . . 03:48:08 ---> c34465ad4247 03:48:08 Step 13/27 : RUN ${MAKE} 03:48:08 ---> Running in 5526e5746c5a 03:48:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.32" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:51:31 Removing intermediate container 5526e5746c5a 03:51:31 ---> 456b4b392267 03:51:31 Step 14/27 : FROM alpine:3.18 03:51:31 3.18: Pulling from library/alpine 03:51:31 4983c3fe2029: Pulling fs layer 03:51:31 4983c3fe2029: Download complete 03:51:31 4983c3fe2029: Pull complete 03:51:31 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:51:31 Status: Downloaded newer image for alpine:3.18 03:51:31 ---> a0237000ae83 03:51:31 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:51:31 ---> Running in c8d94aa2da50 03:51:31 Removing intermediate container c8d94aa2da50 03:51:31 ---> 4394e0410c4c 03:51:31 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:51:31 ---> Running in a406fcb1b625 03:51:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:34 (1/1) Installing dumb-init (1.2.5-r2) 03:51:34 Executing busybox-1.36.1-r7.trigger 03:51:34 OK: 8 MiB in 16 packages 03:51:35 Removing intermediate container a406fcb1b625 03:51:35 ---> d6561071b15a 03:51:35 Step 17/27 : RUN apk --no-cache upgrade 03:51:35 ---> Running in 45b495903dca 03:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:51:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:51:37 OK: 8 MiB in 16 packages 03:51:38 Removing intermediate container 45b495903dca 03:51:38 ---> c89439263fb5 03:51:38 Step 18/27 : WORKDIR / 03:51:38 ---> Running in 12fb695d374e 03:51:38 Removing intermediate container 12fb695d374e 03:51:38 ---> 70be06bdd16c 03:51:38 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:51:40 ---> f9e73dabb0a2 03:51:40 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:51:41 ---> c2e8c2592bd3 03:51:41 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:51:41 ---> c173446fa736 03:51:41 Step 22/27 : EXPOSE 59984 03:51:41 ---> Running in 5b39c60b8257 03:51:41 Removing intermediate container 5b39c60b8257 03:51:41 ---> cf10ef06e7b6 03:51:41 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:51:41 ---> Running in f8510e89f7b8 03:51:42 Removing intermediate container f8510e89f7b8 03:51:42 ---> 26de2f5b99ee 03:51:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:51:42 ---> Running in 3cf896e05d6e 03:51:42 Removing intermediate container 3cf896e05d6e 03:51:42 ---> cf96c61f1b6d 03:51:42 Step 25/27 : LABEL arch=arm64 03:51:42 ---> Running in 07d7982b5a47 03:51:42 Removing intermediate container 07d7982b5a47 03:51:42 ---> a15c54759b4f 03:51:42 Step 26/27 : LABEL git_sha=94a7934c87af55316a2c428005b641d42796e547 03:51:42 ---> Running in 67baaf86013a 03:51:43 Removing intermediate container 67baaf86013a 03:51:43 ---> a9fd1f4f4e6a 03:51:43 Step 27/27 : LABEL version=0.0.0 03:51:43 ---> Running in be2d969da986 03:51:43 Removing intermediate container be2d969da986 03:51:43 ---> 9ce3ca700c12 03:51:43 [Warning] One or more build-args [ARCH] were not consumed 03:51:43 Successfully built 9ce3ca700c12 03:51:43 Successfully tagged device-onvif-camera-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 03:51:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:44 03:51:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:51:45 arm64: Pulling from edgex-lftools-log-publisher 03:51:45 8998bd30e6a1: Pulling fs layer 03:51:45 04944245beec: Pulling fs layer 03:51:45 699f458cf7ca: Pulling fs layer 03:51:45 765212b225bb: Pulling fs layer 03:51:45 f23df028b6ca: Pulling fs layer 03:51:45 d65c8cfc05b1: Pulling fs layer 03:51:45 2437ff75d9bd: Pulling fs layer 03:51:45 f23df028b6ca: Waiting 03:51:45 d65c8cfc05b1: Waiting 03:51:45 2437ff75d9bd: Waiting 03:51:45 765212b225bb: Waiting 03:51:45 04944245beec: Verifying Checksum 03:51:45 04944245beec: Download complete 03:51:45 765212b225bb: Verifying Checksum 03:51:45 765212b225bb: Download complete 03:51:45 f23df028b6ca: Verifying Checksum 03:51:45 f23df028b6ca: Download complete 03:51:45 d65c8cfc05b1: Verifying Checksum 03:51:45 d65c8cfc05b1: Download complete 03:51:45 699f458cf7ca: Verifying Checksum 03:51:45 699f458cf7ca: Download complete 03:51:45 8998bd30e6a1: Verifying Checksum 03:51:45 8998bd30e6a1: Download complete 03:51:48 2437ff75d9bd: Verifying Checksum 03:51:48 2437ff75d9bd: Download complete 03:51:50 8998bd30e6a1: Pull complete 03:51:51 04944245beec: Pull complete 03:51:52 699f458cf7ca: Pull complete 03:51:52 765212b225bb: Pull complete 03:51:53 f23df028b6ca: Pull complete 03:51:54 d65c8cfc05b1: Pull complete 03:52:12 2437ff75d9bd: Pull complete 03:52:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:52:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:12 prd-ubuntu20.04-docker-arm64-4c-16g-8571 does not seem to be running inside a container 03:52:12 $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:52:15 $ docker top c517624ba67ec87ce064ec4a34699f0a4b79779dc77655c758e127f90bf6c1c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:16 ---> job-cost.sh 03:52:16 lf-activate-venv: SKIPPING 03:52:16 INFO: No Stack... 03:52:16 INFO: Retrieving Pricing Info for: v3-standard-4 03:52:17 INFO: Archiving Costs [Pipeline] sh 03:52:18 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:52:18 + cut -d, -f6 [Pipeline] lock 03:52:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] 03:52:18 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] did not exist. Created. 03:52:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:52:18 /w/workspace/device-onvif-camera/1@tmp/durable-e4294f8b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:52:19 + echo total: 0.10999999940395355 [Pipeline] stash 03:52:19 Warning: overwriting stash ‘stack-cost’ 03:52:19 Stashed 1 file(s) [Pipeline] } 03:52:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-453-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:52:19 $ docker stop --time=1 c517624ba67ec87ce064ec4a34699f0a4b79779dc77655c758e127f90bf6c1c8 03:52:21 $ docker rm -f --volumes c517624ba67ec87ce064ec4a34699f0a4b79779dc77655c758e127f90bf6c1c8 [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 03:52:22 provisioning config files... 03:52:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-453@tmp/config15094258860649353574tmp [Pipeline] { [Pipeline] sh 03:52:22 + set +x 03:52:22 + curl -s https://codecov.io/bash 03:52:22 + bash -s -- 03:52:22 03:52:22 _____ _ 03:52:22 / ____| | | 03:52:22 | | ___ __| | ___ ___ _____ __ 03:52:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:52:22 | |___| (_) | (_| | __/ (_| (_) \ V / 03:52:22 \_____\___/ \__,_|\___|\___\___/ \_/ 03:52:22 Bash-1.0.6 03:52:22 03:52:22 03:52:22 ==> git version 2.25.1 found 03:52:23 ==> 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 03:52:23 Release-Date: 2020-01-08 03:52:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:52:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:52:23 ==> Jenkins CI detected. 03:52:23 current dir:  /w/workspace/undry_device-onvif-camera_PR-453 03:52:23 project root: . 03:52:23 --> token set from env 03:52:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:52:23 ==> Running gcov in . (disable via -X gcov) 03:52:23 ==> Python coveragepy not found 03:52:23 ==> Searching for coverage reports in: 03:52:23 + . 03:52:23 -> Found 1 reports 03:52:23 ==> Detecting git/mercurial file structure 03:52:23 ==> Reading reports 03:52:23 + ./coverage.out bytes=78805 03:52:23 ==> Appending adjustments 03:52:23 https://docs.codecov.io/docs/fixing-reports 03:52:23 + Found adjustments 03:52:23 ==> Gzipping contents 03:52:23 12K /tmp/codecov.9b0haU.gz 03:52:23 ==> Uploading reports 03:52:23 url: https://codecov.io 03:52:23 query: branch=PR-453&commit=94a7934c87af55316a2c428005b641d42796e547&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-453%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=453&job=&cmd_args= 03:52:23 -> Pinging Codecov 03:52:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-453&commit=94a7934c87af55316a2c428005b641d42796e547&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-453%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=453&job=&cmd_args= 03:52:23 -> Uploading to 03:52:23 https://storage.googleapis.com/codecov/v4/raw/2024-08-26/F29A59C45E3A92E06B3E522C9905F8EF/94a7934c87af55316a2c428005b641d42796e547/7f41f01c-f0f6-4e64-82dc-bcf8c8853398.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240826%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240826T035223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e67dc26e32bf5f3f4216bb4b8274a49b5b7f3afb5f857daf057858cd49eb1f32 03:52:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:52:23 Dload Upload Total Spent Left Speed 03:52:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 42276 --:--:-- --:--:-- --:--:-- 42276 03:52:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/94a7934c87af55316a2c428005b641d42796e547 [Pipeline] } 03:52:23 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 03:52:26 + [ -d /w/workspace/undry_device-onvif-camera_PR-453/archives ] 03:52:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-453/archives 03:52:26 total 16 03:52:26 drwxr-xr-x 3 root root 4096 Aug 26 03:40 . 03:52:26 drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 03:40 .. 03:52:26 drwxr-xr-x 2 root root 4096 Aug 26 03:40 cost 03:52:26 -rw-r--r-- 1 root root 91 Aug 26 03:40 cost.csv 03:52:26 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-453/archives 03:52:26 + ls -al /w/workspace/undry_device-onvif-camera_PR-453/archives 03:52:26 total 16 03:52:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 26 03:40 . 03:52:26 drwxrwxr-x 10 jenkins jenkins 4096 Aug 26 03:40 .. 03:52:26 drwxr-xr-x 2 jenkins jenkins 4096 Aug 26 03:40 cost 03:52:26 -rw-r--r-- 1 jenkins jenkins 91 Aug 26 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:52:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:52:27 ---> package-listing.sh 03:52:27 ++ facter osfamily 03:52:27 ++ tr '[:upper:]' '[:lower:]' 03:52:27 + OS_FAMILY=debian 03:52:27 + workspace=/w/workspace/undry_device-onvif-camera_PR-453 03:52:27 + START_PACKAGES=/tmp/packages_start.txt 03:52:27 + END_PACKAGES=/tmp/packages_end.txt 03:52:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:52:27 + PACKAGES=/tmp/packages_start.txt 03:52:27 + '[' /w/workspace/undry_device-onvif-camera_PR-453 ']' 03:52:27 + PACKAGES=/tmp/packages_end.txt 03:52:27 + case "${OS_FAMILY}" in 03:52:27 + dpkg -l 03:52:27 + grep '^ii' 03:52:27 + '[' -f /tmp/packages_start.txt ']' 03:52:27 + '[' -f /tmp/packages_end.txt ']' 03:52:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:52:27 + '[' /w/workspace/undry_device-onvif-camera_PR-453 ']' 03:52:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-453/archives/ 03:52:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-453/archives/ [Pipeline] echo 03:52:27 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/undry_device-onvif-camera_PR-453/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:52:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:52:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:52:28 prd-ubuntu20.04-docker-8c-8g-8570 does not seem to be running inside a container 03:52:28 $ 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/undry_device-onvif-camera_PR-453/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-453 -v /w/workspace/undry_device-onvif-camera_PR-453:/w/workspace/undry_device-onvif-camera_PR-453:rw,z -v /w/workspace/undry_device-onvif-camera_PR-453@tmp:/w/workspace/undry_device-onvif-camera_PR-453@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:52:29 $ docker top 8afc54fd41a103cd84c8ff562cff2da333e1414f9c438c1d4cc3e21e66d77a84 -eo pid,comm [Pipeline] { [Pipeline] sh 03:52:29 + touch /tmp/pre-build-complete [Pipeline] sh 03:52:30 + mkdir -p /var/log/sysstat [Pipeline] sh 03:52:30 + ls /var/log/sa-host 03:52:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:30 provisioning config files... 03:52:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-453@tmp/config18255117606679808351tmp [Pipeline] { [Pipeline] echo 03:52:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:52:31 ---> create-netrc.sh [Pipeline] } 03:52:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:52:31 ---> python-tools-install.sh [Pipeline] echo 03:52:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:52:31 ---> sudo-logs.sh 03:52:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:52:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:52:32 ---> job-cost.sh 03:52:32 lf-activate-venv: SKIPPING 03:52:32 DEBUG: total: 0.2199999988079071 03:52:32 INFO: Retrieving Stack Cost... 03:52:32 INFO: Retrieving Pricing Info for: v3-standard-8 03:52:32 INFO: Archiving Costs [Pipeline] echo 03:52:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:52:33 ---> logs-deploy.sh 03:52:33 lf-activate-venv: SKIPPING 03:52:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-453/1 03:52:33 INFO: archiving workspace using pattern(s): 03:52:34 Archives upload complete. 03:52:34 INFO: archiving logs to Nexus