Pull request #438 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 148173e56793d59c642abf1c928feddc1f2bdcc9+2106e125979a086dec88e89ea60f58fe74ababf0 (77a87254638be892f9f49c84a56ce3618ddb4bc3) 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-ssh3293901024382702409.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-ssh12361407213242801989.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6397430575522204566.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16705011076234026374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh504625262826083902.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-4227’ Running on prd-ubuntu20.04-docker-8c-8g-4230 in /w/workspace/undry_device-onvif-camera_PR-438 [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-438 # 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 Merging remotes/origin/main commit 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 148173e56793d59c642abf1c928feddc1f2bdcc9 Merge succeeded, producing 148173e56793d59c642abf1c928feddc1f2bdcc9 Checking out Revision 148173e56793d59c642abf1c928feddc1f2bdcc9 (PR-438) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # 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 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 > git rev-list --no-walk c22d2ec69f2b760c24b58923a926cb3588d72cfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:38:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:38:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:38:04 ========================================================= 07:38:04 EdgeX Global Pipelines Version Info 07:38:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:38:05 ------------------- 07:38:05 stable info: 07:38:05 ------------------- 07:38:05 Commited By: Ginny Guan ginny@iotechsys.com 07:38:05 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:38:05 Message: update stable to v1.0.260 07:38:06 ------------------- 07:38:06 experimental info: 07:38:06 ------------------- 07:38:06 Commited By: Ginny Guan ginny@iotechsys.com 07:38:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:38:06 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo 07:38:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo 07:38:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo 07:38:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 148173e [Pipeline] echo 07:38:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:07 provisioning config files... 07:38:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config13285904267801721827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:07 ---> ****-login.sh 07:38:07 nexus3.edgexfoundry.org:10001 07:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:07 Configure a credential helper to remove this warning. See 07:38:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:07 07:38:07 Login Succeeded 07:38:07 nexus3.edgexfoundry.org:10002 07:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:07 Configure a credential helper to remove this warning. See 07:38:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:07 07:38:07 Login Succeeded 07:38:07 nexus3.edgexfoundry.org:10003 07:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:07 Configure a credential helper to remove this warning. See 07:38:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:07 07:38:07 Login Succeeded 07:38:07 nexus3.edgexfoundry.org:10004 07:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:07 Configure a credential helper to remove this warning. See 07:38:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:07 07:38:07 Login Succeeded 07:38:07 ****.io 07:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:08 Configure a credential helper to remove this warning. See 07:38:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:08 07:38:08 Login Succeeded 07:38:08 ---> ****-login.sh ends [Pipeline] } 07:38:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:38:08 + git rev-list -1 --merges 148173e56793d59c642abf1c928feddc1f2bdcc9~1..148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo 07:38:08 -----------> git rev-list -1 --merges 148173e56793d59c642abf1c928feddc1f2bdcc9~1..148173e56793d59c642abf1c928feddc1f2bdcc9 148173e56793d59c642abf1c928feddc1f2bdcc9 [false] [Pipeline] sh 07:38:08 + git log --format=format:%s -1 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo 07:38:08 ========================================================= 07:38:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:38:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:09 + git log --format=format:%s -1 148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] echo 07:38:09 [semverPrep] GIT_COMMIT: 148173e56793d59c642abf1c928feddc1f2bdcc9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 07:38:09 [semverPrep] This is not a build commit. [Pipeline] sh 07:38:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:09 + grep -v github /etc/ssh/ssh_known_hosts 07:38:09 + [ -e /tmp/ssh_known_hosts ] 07:38:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:38:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:38:09 + sudo tee -a /etc/ssh/ssh_known_hosts 07:38:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:10 07:38:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:10 0.1.4: Pulling from edgex-devops/py-git-semver 07:38:10 b85a868b505f: Pulling fs layer 07:38:10 e2be974225ed: Pulling fs layer 07:38:10 339a4e72a1f5: Pulling fs layer 07:38:10 988bab9f4d93: Pulling fs layer 07:38:10 1469e6f7b9e6: Pulling fs layer 07:38:10 eaf3925da568: Pulling fs layer 07:38:10 bab4dde63d76: Pulling fs layer 07:38:10 bde34c3a00c8: Pulling fs layer 07:38:10 b352a97aabf1: Pulling fs layer 07:38:10 4872d77fe225: Pulling fs layer 07:38:10 5851b861e8e6: Pulling fs layer 07:38:10 bab4dde63d76: Waiting 07:38:10 bde34c3a00c8: Waiting 07:38:10 b352a97aabf1: Waiting 07:38:10 4872d77fe225: Waiting 07:38:10 5851b861e8e6: Waiting 07:38:10 988bab9f4d93: Waiting 07:38:10 1469e6f7b9e6: Waiting 07:38:10 eaf3925da568: Waiting 07:38:10 e2be974225ed: Verifying Checksum 07:38:10 e2be974225ed: Download complete 07:38:10 988bab9f4d93: Verifying Checksum 07:38:10 988bab9f4d93: Download complete 07:38:10 1469e6f7b9e6: Verifying Checksum 07:38:10 1469e6f7b9e6: Download complete 07:38:10 339a4e72a1f5: Verifying Checksum 07:38:10 339a4e72a1f5: Download complete 07:38:10 eaf3925da568: Verifying Checksum 07:38:10 eaf3925da568: Download complete 07:38:10 bde34c3a00c8: Download complete 07:38:10 b352a97aabf1: Verifying Checksum 07:38:10 b352a97aabf1: Download complete 07:38:10 4872d77fe225: Verifying Checksum 07:38:10 4872d77fe225: Download complete 07:38:10 5851b861e8e6: Verifying Checksum 07:38:10 5851b861e8e6: Download complete 07:38:10 b85a868b505f: Download complete 07:38:10 bab4dde63d76: Verifying Checksum 07:38:10 bab4dde63d76: Download complete 07:38:11 b85a868b505f: Pull complete 07:38:11 e2be974225ed: Pull complete 07:38:12 339a4e72a1f5: Pull complete 07:38:12 988bab9f4d93: Pull complete 07:38:12 1469e6f7b9e6: Pull complete 07:38:12 eaf3925da568: Pull complete 07:38:14 bab4dde63d76: Pull complete 07:38:14 bde34c3a00c8: Pull complete 07:38:14 b352a97aabf1: Pull complete 07:38:14 4872d77fe225: Pull complete 07:38:14 5851b861e8e6: Pull complete 07:38:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:14 prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container 07:38:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:38:16 $ docker top 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 -eo pid,comm 07:38:16 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). 07:38:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:38:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:16 [ssh-agent] Looking for ssh-agent implementation... 07:38:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:16 $ docker exec 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent 07:38:16 SSH_AUTH_SOCK=/tmp/ssh-jbZYak5EBwbW/agent.32 07:38:16 SSH_AGENT_PID=38 07:38:16 Running ssh-add (command line suppressed) 07:38:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_16032918991974085758.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_16032918991974085758.key) 07:38:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:16 + git tag --points-at HEAD [Pipeline] } 07:38:16 $ docker exec --env ******** --env ******** 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent -k 07:38:16 unset SSH_AUTH_SOCK; 07:38:16 unset SSH_AGENT_PID; 07:38:16 echo Agent pid 38 killed; 07:38:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:38:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:38:16 [ssh-agent] Looking for ssh-agent implementation... 07:38:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:38:17 $ docker exec 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent 07:38:17 SSH_AUTH_SOCK=/tmp/ssh-hDkXQtxaGIuE/agent.71 07:38:17 SSH_AGENT_PID=77 07:38:17 Running ssh-add (command line suppressed) 07:38:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_12783627602935844357.key (/w/workspace/undry_device-onvif-camera_PR-438@tmp/private_key_12783627602935844357.key) 07:38:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:38:17 + git semver init 07:38:17 2024-06-24 07:38:17,720 [run_init] DEBUG init version:0.0.0 force:False 07:38:17 2024-06-24 07:38:17,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-438/.semver 07:38:17 2024-06-24 07:38:17,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-438/.semver 07:38:17 2024-06-24 07:38:17,722 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-438/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-438, universal_newlines=False, shell=None, istream=None) 07:38:19 2024-06-24 07:38:19,028 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-438/.git/info/exclude 07:38:19 2024-06-24 07:38:19,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 with force:False 07:38:19 2024-06-24 07:38:19,029 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 07:38:19 2024-06-24 07:38:19,031 [execute] INFO git cat-file --batch-check 07:38:19 2024-06-24 07:38:19,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) 07:38:19 2024-06-24 07:38:19,037 [execute] INFO git cat-file --batch 07:38:19 2024-06-24 07:38:19,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-438/.semver, universal_newlines=False, shell=None, istream=) 07:38:19 2024-06-24 07:38:19,042 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-438/.semver/PR-438 07:38:19 0.0.0 [Pipeline] } 07:38:19 $ docker exec --env ******** --env ******** 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 ssh-agent -k 07:38:19 unset SSH_AUTH_SOCK; 07:38:19 unset SSH_AGENT_PID; 07:38:19 echo Agent pid 77 killed; 07:38:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:38:19 + git semver [Pipeline] } 07:38:19 $ docker stop --time=1 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 07:38:21 $ docker rm -f --volumes 90277911a73dc76d952c8260b55008394e8129c262f997015bf4643f82b5ed30 [Pipeline] // withDockerContainer [Pipeline] sh 07:38:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:38:22 Stashed 1 file(s) [Pipeline] echo 07:38:22 [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 07:38:22 provisioning config files... 07:38:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config12074417369986521642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:23 ---> ****-login.sh 07:38:23 nexus3.edgexfoundry.org:10001 07:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:23 Configure a credential helper to remove this warning. See 07:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:23 07:38:23 Login Succeeded 07:38:23 nexus3.edgexfoundry.org:10002 07:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:23 Configure a credential helper to remove this warning. See 07:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:23 07:38:23 Login Succeeded 07:38:23 nexus3.edgexfoundry.org:10003 07:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:23 Configure a credential helper to remove this warning. See 07:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:23 07:38:23 Login Succeeded 07:38:23 nexus3.edgexfoundry.org:10004 07:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:23 Configure a credential helper to remove this warning. See 07:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:23 07:38:23 Login Succeeded 07:38:23 ****.io 07:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:38:23 Configure a credential helper to remove this warning. See 07:38:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:38:23 07:38:23 Login Succeeded 07:38:23 ---> ****-login.sh ends [Pipeline] } 07:38:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:38:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:38:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:38:23 ========================================================= 07:38:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:38:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:24 + 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 . 07:38:24 Sending build context to Docker daemon 36.6MB 07:38:24 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 07:38:24 Step 2/13 : FROM ${BASE} AS builder 07:38:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:38:24 619be1103602: Pulling fs layer 07:38:24 7862e08f4a3e: Pulling fs layer 07:38:24 5df492c9dc93: Pulling fs layer 07:38:24 7629e6793208: Pulling fs layer 07:38:24 4f4fb700ef54: Pulling fs layer 07:38:24 fb5054dd5b73: Pulling fs layer 07:38:24 eeca6798cff9: Pulling fs layer 07:38:24 aa269ceb94a6: Pulling fs layer 07:38:24 ada007ff1a6a: Pulling fs layer 07:38:24 7629e6793208: Waiting 07:38:24 4f4fb700ef54: Waiting 07:38:24 fb5054dd5b73: Waiting 07:38:24 eeca6798cff9: Waiting 07:38:24 aa269ceb94a6: Waiting 07:38:24 ada007ff1a6a: Waiting 07:38:24 7862e08f4a3e: Verifying Checksum 07:38:24 7862e08f4a3e: Download complete 07:38:24 7629e6793208: Verifying Checksum 07:38:24 7629e6793208: Download complete 07:38:24 4f4fb700ef54: Download complete 07:38:24 619be1103602: Verifying Checksum 07:38:24 619be1103602: Download complete 07:38:24 fb5054dd5b73: Download complete 07:38:24 eeca6798cff9: Verifying Checksum 07:38:24 eeca6798cff9: Download complete 07:38:24 ada007ff1a6a: Verifying Checksum 07:38:24 ada007ff1a6a: Download complete 07:38:24 619be1103602: Pull complete 07:38:24 5df492c9dc93: Download complete 07:38:25 7862e08f4a3e: Pull complete 07:38:25 aa269ceb94a6: Verifying Checksum 07:38:25 aa269ceb94a6: Download complete 07:38:28 5df492c9dc93: Pull complete 07:38:28 7629e6793208: Pull complete 07:38:28 4f4fb700ef54: Pull complete 07:38:28 fb5054dd5b73: Pull complete 07:38:28 eeca6798cff9: Pull complete 07:38:31 aa269ceb94a6: Pull complete 07:38:31 ada007ff1a6a: Pull complete 07:38:31 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:38:31 ---> f489d0715acc 07:38:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:38:37 Still waiting to schedule task 07:38:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4229’ 07:38:38 ---> Running in a36ec897ebc2 07:38:38 Removing intermediate container a36ec897ebc2 07:38:38 ---> 9bfe6d0b119c 07:38:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:38:38 ---> Running in 681caa305644 07:38:38 Removing intermediate container 681caa305644 07:38:38 ---> 38c024cc1fb5 07:38:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:38:38 ---> Running in 7106aad04b82 07:38:38 Removing intermediate container 7106aad04b82 07:38:38 ---> d684ac7da98b 07:38:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:38:38 ---> Running in 85c5024cfde4 07:38:38 Removing intermediate container 85c5024cfde4 07:38:38 ---> daf1ce0d4b3c 07:38:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:38:38 ---> Running in 987d9d659ed4 07:38:38 Removing intermediate container 987d9d659ed4 07:38:38 ---> cd067bed7df2 07:38:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:38:38 ---> Running in 6377d0c66b0d 07:38:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:38:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:38:38 OK: 264 MiB in 52 packages 07:38:38 Removing intermediate container 6377d0c66b0d 07:38:38 ---> 0142451b82f2 07:38:38 Step 9/13 : WORKDIR /device-onvif-camera 07:38:38 ---> Running in 68fb83edac24 07:38:39 Removing intermediate container 68fb83edac24 07:38:39 ---> 7aef1c0a3dd2 07:38:39 Step 10/13 : COPY go.mod vendor* ./ 07:38:39 ---> 55235ae8098f 07:38:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:38:39 ---> Running in da807bc8b59d 07:39:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4231 in /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] { [Pipeline] ws 07:39:34 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 07:39:34 The recommended git tool is: git 07:39:35 Removing intermediate container da807bc8b59d 07:39:35 ---> 492cdfa3262a 07:39:35 Step 12/13 : COPY . . 07:39:35 ---> 7489f5733bb9 07:39:35 Step 13/13 : RUN ${MAKE} 07:39:35 ---> Running in c75620a234c0 07:39:35 noop 07:39:35 Removing intermediate container c75620a234c0 07:39:35 ---> 2b1b4b596c67 07:39:35 Successfully built 2b1b4b596c67 07:39:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:35 + docker inspect -f . ci-base-image-x86_64 07:39:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:35 prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container 07:39:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:39:36 $ docker top 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:36 + go version 07:39:36 go version go1.21.9 linux/amd64 [Pipeline] } 07:39:36 $ docker stop --time=1 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c 07:39:37 $ docker rm -f --volumes 18afb0a35c45a17bc2b4957976238ec4063fc88f6a7fba60d7fc16b4ca89560c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:38 + docker inspect -f . ci-base-image-x86_64 07:39:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:38 prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container 07:39:38 $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:39:38 $ docker top ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:39 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-438 [Pipeline] fileExists [Pipeline] sh 07:39:39 + make test 07:39:39 go test ./... -coverprofile=coverage.out ./... 07:39:40 using credential edgex-jenkins-ssh 07:39:40 Cloning the remote Git repository 07:39:40 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 07:39:40 > git init /w/workspace/device-onvif-camera/2 # timeout=10 07:39:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:39:40 > git --version # timeout=10 07:39:40 > git --version # 'git version 2.25.1' 07:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:39:43 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:39:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:39:44 Merging remotes/origin/main commit 2106e125979a086dec88e89ea60f58fe74ababf0 into PR head commit 148173e56793d59c642abf1c928feddc1f2bdcc9 07:39:44 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 07:39:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 07:39:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:39:44 > git config core.sparsecheckout # timeout=10 07:39:45 Merge succeeded, producing 148173e56793d59c642abf1c928feddc1f2bdcc9 07:39:45 Checking out Revision 148173e56793d59c642abf1c928feddc1f2bdcc9 (PR-438) 07:39:45 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 07:39:44 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 07:39:45 > git remote # timeout=10 07:39:45 > git config --get remote.origin.url # timeout=10 07:39:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:39:45 > git merge 2106e125979a086dec88e89ea60f58fe74ababf0 # timeout=10 07:39:45 > git rev-parse HEAD^{commit} # timeout=10 07:39:45 > git config core.sparsecheckout # timeout=10 07:39:45 > git checkout -f 148173e56793d59c642abf1c928feddc1f2bdcc9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:39:50 % Total % Received % Xferd Average Speed Time Time Time Current 07:39:50 Dload Upload Total Spent Left Speed 07:39:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 07:39:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:39:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:39:51 + sudo tee /etc/docker/daemon.new 07:39:51 { 07:39:51 "registry-mirrors": [ 07:39:51 "https://nexus3.edgexfoundry.org:10001" 07:39:51 ], 07:39:51 "bip": "10.250.0.254/24", 07:39:51 "hosts": [ 07:39:51 "tcp://0.0.0.0:5555", 07:39:51 "unix:///var/run/docker.sock" 07:39:51 ], 07:39:51 "mtu": 1458, 07:39:51 "selinux-enabled": true, 07:39:51 "seccomp-profile": "/etc/docker/seccomp.json" 07:39:51 } [Pipeline] sh 07:39:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:39:51 + sudo service docker restart 07:40:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:40:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:40:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.4% of statements 07:40:03 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.431s coverage: 86.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:10 provisioning config files... 07:40:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config13274513342712729008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:10 ---> ****-login.sh 07:40:10 nexus3.edgexfoundry.org:10001 07:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:11 Configure a credential helper to remove this warning. See 07:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:11 07:40:11 Login Succeeded 07:40:11 nexus3.edgexfoundry.org:10002 07:40:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:11 Configure a credential helper to remove this warning. See 07:40:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:11 07:40:11 Login Succeeded 07:40:11 nexus3.edgexfoundry.org:10003 07:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:12 Configure a credential helper to remove this warning. See 07:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:12 07:40:12 Login Succeeded 07:40:12 nexus3.edgexfoundry.org:10004 07:40:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:12 Configure a credential helper to remove this warning. See 07:40:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:12 07:40:12 Login Succeeded 07:40:12 ****.io 07:40:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:40:13 Configure a credential helper to remove this warning. See 07:40:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:40:13 07:40:13 Login Succeeded 07:40:13 ---> ****-login.sh ends [Pipeline] } 07:40:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:40:13 ========================================================= 07:40:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:40:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:14 + 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 . 07:40:14 Sending build context to Docker daemon 21.71MB 07:40:14 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 07:40:14 Step 2/13 : FROM ${BASE} AS builder 07:40:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:40:14 c6b39de5b339: Pulling fs layer 07:40:14 a69c41024577: Pulling fs layer 07:40:14 d6de4b400683: Pulling fs layer 07:40:14 35cb2a7552d0: Pulling fs layer 07:40:14 4f4fb700ef54: Pulling fs layer 07:40:14 464afbd9ba4c: Pulling fs layer 07:40:14 00f215d4a9da: Pulling fs layer 07:40:14 d496ad576159: Pulling fs layer 07:40:14 35cb2a7552d0: Waiting 07:40:14 4f4fb700ef54: Waiting 07:40:14 464afbd9ba4c: Waiting 07:40:14 00f215d4a9da: Waiting 07:40:14 d496ad576159: Waiting 07:40:14 a69c41024577: Verifying Checksum 07:40:14 a69c41024577: Download complete 07:40:14 35cb2a7552d0: Verifying Checksum 07:40:14 35cb2a7552d0: Download complete 07:40:14 4f4fb700ef54: Verifying Checksum 07:40:14 4f4fb700ef54: Download complete 07:40:14 464afbd9ba4c: Verifying Checksum 07:40:14 464afbd9ba4c: Download complete 07:40:14 c6b39de5b339: Verifying Checksum 07:40:14 c6b39de5b339: Download complete 07:40:15 d496ad576159: Verifying Checksum 07:40:15 d496ad576159: Download complete 07:40:15 go vet ./... 07:40:15 c6b39de5b339: Pull complete 07:40:16 a69c41024577: Pull complete 07:40:16 d6de4b400683: Verifying Checksum 07:40:16 d6de4b400683: Download complete 07:40:17 00f215d4a9da: Verifying Checksum 07:40:17 00f215d4a9da: Download complete 07:40:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:22 ./bin/test-attribution-txt.sh 07:40:22 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:40:22 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:40:22 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:40:22 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:40:22 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:40:22 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:40:22 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:40:22 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:40:22 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:40:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:40:22 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:40:22 $ docker stop --time=1 ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 07:40:24 $ docker rm -f --volumes ad60d24a1ff7fbc315b81cdcab758f40a4bf633224b77f5377c59853f6f57263 [Pipeline] // withDockerContainer [Pipeline] sh 07:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:26 + ls -al . 07:40:26 total 312 07:40:26 drwxrwxr-x 9 jenkins jenkins 4096 Jun 24 07:39 . 07:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:37 .. 07:40:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:40 .git 07:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 .github 07:40:26 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:38 .gitignore 07:40:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:38 .golangci.yml 07:40:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:38 .semver 07:40:26 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:38 Attribution.txt 07:40:26 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:38 CHANGELOG.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:38 Dockerfile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:38 GOVERNANCE.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:38 Jenkinsfile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:38 LICENSE 07:40:26 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:38 Makefile 07:40:26 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:38 OWNERS.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:38 README.md 07:40:26 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 07:38 VERSION 07:40:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:38 bin 07:40:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:38 cmd 07:40:26 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:40 coverage.out 07:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 doc 07:40:26 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:38 go.mod 07:40:26 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:38 go.sum 07:40:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:38 internal 07:40:26 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:26 + 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=148173e56793d59c642abf1c928feddc1f2bdcc9 --label arch=amd64 --label version=0.0.0 . 07:40:26 Sending build context to Docker daemon 36.68MB 07:40:26 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 07:40:26 Step 2/27 : FROM ${BASE} AS builder 07:40:26 ---> 2b1b4b596c67 07:40:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:40:26 ---> Running in 5f6e77b41222 07:40:26 Removing intermediate container 5f6e77b41222 07:40:26 ---> 21b20b4cca2d 07:40:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:26 ---> Running in c9db11e9dd9d 07:40:26 Removing intermediate container c9db11e9dd9d 07:40:26 ---> 0d970dde716d 07:40:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:40:27 ---> Running in 7aaded6c7506 07:40:27 Removing intermediate container 7aaded6c7506 07:40:27 ---> 0d9032d1287b 07:40:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:40:27 ---> Running in 721784b08c73 07:40:27 Removing intermediate container 721784b08c73 07:40:27 ---> d6be3ba0d0d8 07:40:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:40:27 ---> Running in 126c9cead9b5 07:40:27 Removing intermediate container 126c9cead9b5 07:40:27 ---> 0885715460d2 07:40:27 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:27 ---> Running in f22e9aeae82d 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:40:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:40:27 OK: 264 MiB in 52 packages 07:40:28 Removing intermediate container f22e9aeae82d 07:40:28 ---> 5c326be19590 07:40:28 Step 9/27 : WORKDIR /device-onvif-camera 07:40:28 ---> Running in b0e222954b3e 07:40:28 Removing intermediate container b0e222954b3e 07:40:28 ---> ee6de5b39435 07:40:28 Step 10/27 : COPY go.mod vendor* ./ 07:40:28 ---> e3d9f3d2793c 07:40:28 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:28 ---> Running in 9e164c58469d 07:40:29 Removing intermediate container 9e164c58469d 07:40:29 ---> 5c45130f2778 07:40:29 Step 12/27 : COPY . . 07:40:30 d6de4b400683: Pull complete 07:40:30 35cb2a7552d0: Pull complete 07:40:30 4f4fb700ef54: Pull complete 07:40:30 464afbd9ba4c: Pull complete 07:40:30 ---> 4fcde03f85b1 07:40:30 Step 13/27 : RUN ${MAKE} 07:40:30 ---> Running in c2a650b58548 07:40:30 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.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:40:38 00f215d4a9da: Pull complete 07:40:40 d496ad576159: Pull complete 07:40:40 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:40:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:40:40 ---> f246e2811388 07:40:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:40:42 ---> Running in 1280c1928472 07:40:43 Removing intermediate container 1280c1928472 07:40:43 ---> a536135ab8f4 07:40:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:43 ---> Running in c09fa4fce15b 07:40:43 Removing intermediate container c09fa4fce15b 07:40:43 ---> efecc412666a 07:40:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 07:40:43 ---> Running in 6ebb1c956132 07:40:43 Removing intermediate container 6ebb1c956132 07:40:43 ---> a77c26dc2bbd 07:40:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:40:43 ---> Running in 77c5df1a5cf9 07:40:44 Removing intermediate container 77c5df1a5cf9 07:40:44 ---> a556db2183ae 07:40:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 07:40:44 ---> Running in 6734edfd8657 07:40:44 Removing intermediate container 6734edfd8657 07:40:44 ---> d5bd433aa83b 07:40:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:44 ---> Running in 7f151c8f33cc 07:40:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:40:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:40:47 OK: 266 MiB in 52 packages 07:40:48 Removing intermediate container 7f151c8f33cc 07:40:48 ---> a02f6d34163e 07:40:48 Step 9/13 : WORKDIR /device-onvif-camera 07:40:48 ---> Running in da178880b006 07:40:48 Removing intermediate container da178880b006 07:40:48 ---> e2ce4ae5e5ab 07:40:48 Step 10/13 : COPY go.mod vendor* ./ 07:40:48 ---> aab9911ea646 07:40:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:48 ---> Running in ee37b61b9a86 07:41:09 Removing intermediate container c2a650b58548 07:41:09 ---> 29c32f6fbc91 07:41:09 Step 14/27 : FROM alpine:3.18 07:41:09 3.18: Pulling from library/alpine 07:41:09 73baa7ef167e: Pulling fs layer 07:41:09 73baa7ef167e: Verifying Checksum 07:41:09 73baa7ef167e: Download complete 07:41:09 73baa7ef167e: Pull complete 07:41:09 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:41:09 Status: Downloaded newer image for alpine:3.18 07:41:09 ---> 8fd7cac70a4a 07:41:09 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:41:09 ---> Running in e31f00ff389c 07:41:09 Removing intermediate container e31f00ff389c 07:41:09 ---> 369acc804992 07:41:09 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:41:09 ---> Running in 6290701ad567 07:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:41:09 (1/1) Installing dumb-init (1.2.5-r2) 07:41:09 Executing busybox-1.36.1-r7.trigger 07:41:09 OK: 7 MiB in 16 packages 07:41:09 Removing intermediate container 6290701ad567 07:41:09 ---> f07b196fd71d 07:41:09 Step 17/27 : RUN apk --no-cache upgrade 07:41:09 ---> Running in d33203532883 07:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:41:09 OK: 7 MiB in 16 packages 07:41:09 Removing intermediate container d33203532883 07:41:09 ---> ee0e0ddd52a9 07:41:09 Step 18/27 : WORKDIR / 07:41:09 ---> Running in 6dcc0e71214d 07:41:09 Removing intermediate container 6dcc0e71214d 07:41:09 ---> bd29a7e18d8b 07:41:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:41:09 ---> ebcd9ba2952d 07:41:09 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:41:09 ---> 9daa144069fc 07:41:09 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:41:09 ---> 3f9f84e9c712 07:41:09 Step 22/27 : EXPOSE 59984 07:41:09 ---> Running in ad3bcae33712 07:41:09 Removing intermediate container ad3bcae33712 07:41:09 ---> c40137e98791 07:41:09 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:41:09 ---> Running in 33d3b81125fa 07:41:09 Removing intermediate container 33d3b81125fa 07:41:09 ---> 1747355b7e2b 07:41:09 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:41:09 ---> Running in 958587805d98 07:41:09 Removing intermediate container 958587805d98 07:41:09 ---> 3f5ac94a8c23 07:41:09 Step 25/27 : LABEL arch=amd64 07:41:09 ---> Running in 973316bc4e66 07:41:09 Removing intermediate container 973316bc4e66 07:41:09 ---> 02e89070e877 07:41:09 Step 26/27 : LABEL git_sha=148173e56793d59c642abf1c928feddc1f2bdcc9 07:41:09 ---> Running in 5bd85302f61f 07:41:09 Removing intermediate container 5bd85302f61f 07:41:09 ---> 05e39770d683 07:41:09 Step 27/27 : LABEL version=0.0.0 07:41:09 ---> Running in af4153553c1b 07:41:09 Removing intermediate container af4153553c1b 07:41:09 ---> 39957747df36 07:41:09 [Warning] One or more build-args [ARCH] were not consumed 07:41:09 Successfully built 39957747df36 07:41:09 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 07:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:09 07:41:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:10 latest: Pulling from edgex-lftools-log-publisher 07:41:10 5eb5b503b376: Pulling fs layer 07:41:10 5c69ac0246d0: Pulling fs layer 07:41:10 ec43610c2a17: Pulling fs layer 07:41:10 3a2ae6a8a46f: Pulling fs layer 07:41:10 33b1e0a273af: Pulling fs layer 07:41:10 5d3b04190fa2: Pulling fs layer 07:41:10 2f39f015ded8: Pulling fs layer 07:41:10 3a2ae6a8a46f: Waiting 07:41:10 33b1e0a273af: Waiting 07:41:10 5d3b04190fa2: Waiting 07:41:10 2f39f015ded8: Waiting 07:41:10 5c69ac0246d0: Verifying Checksum 07:41:10 5c69ac0246d0: Download complete 07:41:10 3a2ae6a8a46f: Download complete 07:41:10 33b1e0a273af: Verifying Checksum 07:41:10 33b1e0a273af: Download complete 07:41:10 5d3b04190fa2: Verifying Checksum 07:41:10 5d3b04190fa2: Download complete 07:41:10 ec43610c2a17: Verifying Checksum 07:41:10 ec43610c2a17: Download complete 07:41:10 5eb5b503b376: Verifying Checksum 07:41:10 5eb5b503b376: Download complete 07:41:11 2f39f015ded8: Download complete 07:41:12 5eb5b503b376: Pull complete 07:41:12 5c69ac0246d0: Pull complete 07:41:12 ec43610c2a17: Pull complete 07:41:12 3a2ae6a8a46f: Pull complete 07:41:12 33b1e0a273af: Pull complete 07:41:13 5d3b04190fa2: Pull complete 07:41:17 2f39f015ded8: Pull complete 07:41:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:41:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:17 prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container 07:41:17 $ 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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:41:18 $ docker top 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:19 ---> job-cost.sh 07:41:19 lf-activate-venv: SKIPPING 07:41:19 INFO: No Stack... 07:41:19 INFO: Retrieving Pricing Info for: v3-standard-8 07:41:19 INFO: Archiving Costs [Pipeline] sh 07:41:19 + cat /w/workspace/undry_device-onvif-camera_PR-438/archives/cost.csv 07:41:19 + cut -d, -f6 [Pipeline] lock 07:41:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] 07:41:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] did not exist. Created. 07:41:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:20 + echo total: 0.2199999988079071 [Pipeline] stash 07:41:20 Stashed 1 file(s) [Pipeline] } 07:41:20 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:20 $ docker stop --time=1 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 07:41:21 $ docker rm -f --volumes 638f611201667fd9ed8e14ab593ac772e7ea098fff800c9cdceca589a404d244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:42:40 Removing intermediate container ee37b61b9a86 07:42:40 ---> c75564d39575 07:42:40 Step 12/13 : COPY . . 07:42:40 ---> 739b1d194a5f 07:42:40 Step 13/13 : RUN ${MAKE} 07:42:41 ---> Running in 42a8aabda003 07:42:42 noop 07:42:42 Removing intermediate container 42a8aabda003 07:42:42 ---> 13daf3560f56 07:42:42 Successfully built 13daf3560f56 07:42:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:43 + docker inspect -f . ci-base-image-arm64 07:42:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:43 prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container 07:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:42:44 $ docker top 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:45 + go version 07:42:45 go version go1.21.9 linux/arm64 [Pipeline] } 07:42:45 $ docker stop --time=1 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 07:42:47 $ docker rm -f --volumes 631f27bd21299d5800c89f71974b53d459adb1ac5c775f7db55715757db87454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:42:47 + docker inspect -f . ci-base-image-arm64 07:42:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:42:48 prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container 07:42:48 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:42:49 $ docker top 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c -eo pid,comm [Pipeline] { [Pipeline] sh 07:42:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 07:42:50 + make test 07:42:50 go test ./... -coverprofile=coverage.out ./... 07:42:57 ? github.com/edgexfoundry/device-onvif-camera [no test files] 07:47:04 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 07:47:04 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 07:47:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 31.4% of statements 07:47:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.155s coverage: 86.5% of statements 07:47:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:47:32 go vet ./... 07:48:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:48:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:48:19 ./bin/test-attribution-txt.sh 07:48:19 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:48:19 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:48:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:48:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:48:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:48:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:48:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:48:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:48:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:48:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:48:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:48:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:48:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:48:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:48:20 $ docker stop --time=1 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c 07:48:22 $ docker rm -f --volumes 313fd97ffe3f2448dd4916a9bd9e0e5d24bf7cfafa0d3b9f4aa8203f465d0a8c [Pipeline] // withDockerContainer [Pipeline] sh 07:48:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:48:23 Warning: overwriting stash ‘coverage-report’ 07:48:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:48:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:48:25 + ls -al . 07:48:25 total 308 07:48:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:42 . 07:48:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 .. 07:48:25 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 07:39 .git 07:48:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:39 .github 07:48:25 -rw-rw-r-- 1 jenkins jenkins 493 Jun 24 07:39 .gitignore 07:48:25 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 07:39 .golangci.yml 07:48:25 -rw-rw-r-- 1 jenkins jenkins 11155 Jun 24 07:39 Attribution.txt 07:48:25 -rw-rw-r-- 1 jenkins jenkins 17665 Jun 24 07:39 CHANGELOG.md 07:48:25 -rw-rw-r-- 1 jenkins jenkins 1683 Jun 24 07:39 Dockerfile 07:48:25 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 07:39 GOVERNANCE.md 07:48:25 -rw-rw-r-- 1 jenkins jenkins 739 Jun 24 07:39 Jenkinsfile 07:48:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 24 07:39 LICENSE 07:48:25 -rw-rw-r-- 1 jenkins jenkins 2883 Jun 24 07:39 Makefile 07:48:25 -rw-rw-r-- 1 jenkins jenkins 625 Jun 24 07:39 OWNERS.md 07:48:25 -rw-rw-r-- 1 jenkins jenkins 2620 Jun 24 07:39 README.md 07:48:25 -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 07:38 VERSION 07:48:25 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 07:39 bin 07:48:25 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 07:39 cmd 07:48:25 -rw-r--r-- 1 jenkins jenkins 78805 Jun 24 07:47 coverage.out 07:48:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 doc 07:48:25 -rw-rw-r-- 1 jenkins jenkins 7387 Jun 24 07:39 go.mod 07:48:25 -rw-rw-r-- 1 jenkins jenkins 102689 Jun 24 07:39 go.sum 07:48:25 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 07:39 internal 07:48:25 -rw-rw-r-- 1 jenkins jenkins 236 Jun 24 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:25 + 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=148173e56793d59c642abf1c928feddc1f2bdcc9 --label arch=arm64 --label version=0.0.0 . 07:48:26 Sending build context to Docker daemon 21.79MB 07:48:26 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 07:48:26 Step 2/27 : FROM ${BASE} AS builder 07:48:26 ---> 13daf3560f56 07:48:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 07:48:26 ---> Running in 97190d1e0970 07:48:26 Removing intermediate container 97190d1e0970 07:48:26 ---> 89a3e823807d 07:48:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:48:26 ---> Running in 1224248dcbf9 07:48:27 Removing intermediate container 1224248dcbf9 07:48:27 ---> c1bdd8088951 07:48:27 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 07:48:27 ---> Running in d478e35cc34a 07:48:27 Removing intermediate container d478e35cc34a 07:48:27 ---> f9f1cb9abd3f 07:48:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 07:48:27 ---> Running in 1aeac132cc36 07:48:27 Removing intermediate container 1aeac132cc36 07:48:27 ---> 658bf0df4ec2 07:48:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 07:48:27 ---> Running in 63dc5f59831d 07:48:28 Removing intermediate container 63dc5f59831d 07:48:28 ---> 456a201e9161 07:48:28 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:48:28 ---> Running in 89e5cef55bc2 07:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:48:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:48:30 OK: 266 MiB in 52 packages 07:48:31 Removing intermediate container 89e5cef55bc2 07:48:31 ---> 1a29050ff518 07:48:31 Step 9/27 : WORKDIR /device-onvif-camera 07:48:31 ---> Running in 1a6f70024ba2 07:48:31 Removing intermediate container 1a6f70024ba2 07:48:31 ---> c8fc6a583746 07:48:31 Step 10/27 : COPY go.mod vendor* ./ 07:48:32 ---> b4527fd4a8e0 07:48:32 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:48:32 ---> Running in ee3ef3f976a9 07:48:35 Removing intermediate container ee3ef3f976a9 07:48:35 ---> d4d317d59861 07:48:35 Step 12/27 : COPY . . 07:48:36 ---> 33fde0992c08 07:48:36 Step 13/27 : RUN ${MAKE} 07:48:36 ---> Running in 20c43033d8af 07:48:38 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.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 07:52:15 Removing intermediate container 20c43033d8af 07:52:15 ---> 0c9c0db6e280 07:52:15 Step 14/27 : FROM alpine:3.18 07:52:15 3.18: Pulling from library/alpine 07:52:15 5c905c7ebe2f: Pulling fs layer 07:52:15 5c905c7ebe2f: Verifying Checksum 07:52:15 5c905c7ebe2f: Download complete 07:52:15 5c905c7ebe2f: Pull complete 07:52:15 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:52:15 Status: Downloaded newer image for alpine:3.18 07:52:15 ---> dec292d02e07 07:52:15 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 07:52:15 ---> Running in 5e9f8a897b9c 07:52:15 Removing intermediate container 5e9f8a897b9c 07:52:15 ---> 35cfadbd9a9e 07:52:15 Step 16/27 : RUN apk add --update --no-cache dumb-init 07:52:15 ---> Running in 4b6d579ffed4 07:52:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:52:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:52:15 (1/1) Installing dumb-init (1.2.5-r2) 07:52:15 Executing busybox-1.36.1-r7.trigger 07:52:15 OK: 8 MiB in 16 packages 07:52:15 Removing intermediate container 4b6d579ffed4 07:52:15 ---> c08ea42c06fe 07:52:15 Step 17/27 : RUN apk --no-cache upgrade 07:52:15 ---> Running in f762e90b8fce 07:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:52:17 OK: 8 MiB in 16 packages 07:52:18 Removing intermediate container f762e90b8fce 07:52:18 ---> 022df5bbb88c 07:52:18 Step 18/27 : WORKDIR / 07:52:18 ---> Running in c34517f129aa 07:52:18 Removing intermediate container c34517f129aa 07:52:18 ---> 7f639736afc2 07:52:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 07:52:20 ---> 24fb64407ccf 07:52:20 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 07:52:20 ---> 89d1d59986bb 07:52:20 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 07:52:21 ---> 2c84e06e2c93 07:52:21 Step 22/27 : EXPOSE 59984 07:52:21 ---> Running in bb6e3db04452 07:52:21 Removing intermediate container bb6e3db04452 07:52:21 ---> 04167c5b1f93 07:52:21 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 07:52:21 ---> Running in 3e11791d28b1 07:52:21 Removing intermediate container 3e11791d28b1 07:52:21 ---> f511700b0792 07:52:21 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:52:21 ---> Running in c2c8002abf44 07:52:22 Removing intermediate container c2c8002abf44 07:52:22 ---> e5a0f8df82a8 07:52:22 Step 25/27 : LABEL arch=arm64 07:52:22 ---> Running in 39f222cae0c2 07:52:22 Removing intermediate container 39f222cae0c2 07:52:22 ---> 7ada88f5b8eb 07:52:22 Step 26/27 : LABEL git_sha=148173e56793d59c642abf1c928feddc1f2bdcc9 07:52:22 ---> Running in 068ae4b99e89 07:52:22 Removing intermediate container 068ae4b99e89 07:52:22 ---> 74cd6beca1de 07:52:22 Step 27/27 : LABEL version=0.0.0 07:52:22 ---> Running in c12a353989d2 07:52:23 Removing intermediate container c12a353989d2 07:52:23 ---> 46245e111072 07:52:23 [Warning] One or more build-args [ARCH] were not consumed 07:52:23 Successfully built 46245e111072 07:52:23 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 07:52:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:23 07:52:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:24 arm64: Pulling from edgex-lftools-log-publisher 07:52:24 8998bd30e6a1: Pulling fs layer 07:52:24 04944245beec: Pulling fs layer 07:52:24 699f458cf7ca: Pulling fs layer 07:52:24 765212b225bb: Pulling fs layer 07:52:24 f23df028b6ca: Pulling fs layer 07:52:24 d65c8cfc05b1: Pulling fs layer 07:52:24 2437ff75d9bd: Pulling fs layer 07:52:24 765212b225bb: Waiting 07:52:24 f23df028b6ca: Waiting 07:52:24 d65c8cfc05b1: Waiting 07:52:24 04944245beec: Verifying Checksum 07:52:24 04944245beec: Download complete 07:52:24 765212b225bb: Verifying Checksum 07:52:24 765212b225bb: Download complete 07:52:24 f23df028b6ca: Verifying Checksum 07:52:24 f23df028b6ca: Download complete 07:52:24 d65c8cfc05b1: Verifying Checksum 07:52:24 d65c8cfc05b1: Download complete 07:52:24 699f458cf7ca: Verifying Checksum 07:52:24 699f458cf7ca: Download complete 07:52:24 8998bd30e6a1: Verifying Checksum 07:52:24 8998bd30e6a1: Download complete 07:52:27 2437ff75d9bd: Verifying Checksum 07:52:27 2437ff75d9bd: Download complete 07:52:29 8998bd30e6a1: Pull complete 07:52:30 04944245beec: Pull complete 07:52:31 699f458cf7ca: Pull complete 07:52:31 765212b225bb: Pull complete 07:52:32 f23df028b6ca: Pull complete 07:52:32 d65c8cfc05b1: Pull complete 07:52:50 2437ff75d9bd: Pull complete 07:52:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:51 prd-ubuntu20.04-docker-arm64-4c-16g-4231 does not seem to be running inside a container 07:52:51 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:52:53 $ docker top a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:54 ---> job-cost.sh 07:52:54 lf-activate-venv: SKIPPING 07:52:54 INFO: No Stack... 07:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 07:52:55 INFO: Archiving Costs [Pipeline] sh 07:52:56 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 07:52:56 + cut -d, -f6 [Pipeline] lock 07:52:56 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] 07:52:56 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] did not exist. Created. 07:52:56 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:57 /w/workspace/device-onvif-camera/2@tmp/durable-5aafd67f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:52:57 + echo total: 0.10999999940395355 [Pipeline] stash 07:52:57 Warning: overwriting stash ‘stack-cost’ 07:52:57 Stashed 1 file(s) [Pipeline] } 07:52:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-438-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:57 $ docker stop --time=1 a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 07:52:59 $ docker rm -f --volumes a462c492aeff5dc63471327210bc7f543188016a5e45d02eabd2bf6e291c22a8 [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 07:52:59 provisioning config files... 07:52:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config8880922117965471684tmp [Pipeline] { [Pipeline] sh 07:53:00 + set +x 07:53:00 + curl -s https://codecov.io/bash 07:53:00 + bash -s -- 07:53:00 07:53:00 _____ _ 07:53:00 / ____| | | 07:53:00 | | ___ __| | ___ ___ _____ __ 07:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 07:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 07:53:00 Bash-1.0.6 07:53:00 07:53:00 07:53:00 ==> git version 2.25.1 found 07:53:00 ==> 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 07:53:00 Release-Date: 2020-01-08 07:53:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:53:00 ==> Jenkins CI detected. 07:53:00 current dir:  /w/workspace/undry_device-onvif-camera_PR-438 07:53:00 project root: . 07:53:00 --> token set from env 07:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:53:00 ==> Running gcov in . (disable via -X gcov) 07:53:00 ==> Python coveragepy not found 07:53:00 ==> Searching for coverage reports in: 07:53:00 + . 07:53:00 -> Found 1 reports 07:53:00 ==> Detecting git/mercurial file structure 07:53:00 ==> Reading reports 07:53:00 + ./coverage.out bytes=78805 07:53:00 ==> Appending adjustments 07:53:00 https://docs.codecov.io/docs/fixing-reports 07:53:00 + Found adjustments 07:53:00 ==> Gzipping contents 07:53:00 12K /tmp/codecov.5ODXVx.gz 07:53:00 ==> Uploading reports 07:53:00 url: https://codecov.io 07:53:00 query: branch=PR-438&commit=148173e56793d59c642abf1c928feddc1f2bdcc9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-438%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=438&job=&cmd_args= 07:53:00 -> Pinging Codecov 07:53:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-438&commit=148173e56793d59c642abf1c928feddc1f2bdcc9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-438%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=438&job=&cmd_args= 07:53:00 -> Uploading to 07:53:00 https://storage.googleapis.com/codecov/v4/raw/2024-06-24/F29A59C45E3A92E06B3E522C9905F8EF/148173e56793d59c642abf1c928feddc1f2bdcc9/74cb368c-278a-4c10-ac7e-800489c84f8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240624%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240624T075300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c91c2afeaf985cacfd52625d02bfdc66b55d7c2882cc62b3ae2aeedc1434b71d 07:53:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:53:00 Dload Upload Total Spent Left Speed 07:53:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 51485 --:--:-- --:--:-- --:--:-- 51231 100 10400 0 0 100 10400 0 46846 --:--:-- --:--:-- --:--:-- 46636 07:53:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/148173e56793d59c642abf1c928feddc1f2bdcc9 [Pipeline] } 07:53:00 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 07:53:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-438/archives ] 07:53:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives 07:53:01 total 16 07:53:01 drwxr-xr-x 3 root root 4096 Jun 24 07:41 . 07:53:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:41 .. 07:53:01 drwxr-xr-x 2 root root 4096 Jun 24 07:41 cost 07:53:01 -rw-r--r-- 1 root root 91 Jun 24 07:41 cost.csv 07:53:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-438/archives 07:53:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-438/archives 07:53:01 total 16 07:53:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 07:41 . 07:53:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 07:41 .. 07:53:01 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 07:41 cost 07:53:01 -rw-r--r-- 1 jenkins jenkins 91 Jun 24 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:53:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:02 ---> package-listing.sh 07:53:02 ++ facter osfamily 07:53:02 ++ tr '[:upper:]' '[:lower:]' 07:53:02 + OS_FAMILY=debian 07:53:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-438 07:53:02 + START_PACKAGES=/tmp/packages_start.txt 07:53:02 + END_PACKAGES=/tmp/packages_end.txt 07:53:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:02 + PACKAGES=/tmp/packages_start.txt 07:53:02 + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' 07:53:02 + PACKAGES=/tmp/packages_end.txt 07:53:02 + case "${OS_FAMILY}" in 07:53:02 + dpkg -l 07:53:02 + grep '^ii' 07:53:02 + '[' -f /tmp/packages_start.txt ']' 07:53:02 + '[' -f /tmp/packages_end.txt ']' 07:53:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:02 + '[' /w/workspace/undry_device-onvif-camera_PR-438 ']' 07:53:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-438/archives/ 07:53:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-438/archives/ [Pipeline] echo 07:53:02 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:53:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:03 prd-ubuntu20.04-docker-8c-8g-4230 does not seem to be running inside a container 07:53:04 $ 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-438/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-438 -v /w/workspace/undry_device-onvif-camera_PR-438:/w/workspace/undry_device-onvif-camera_PR-438:rw,z -v /w/workspace/undry_device-onvif-camera_PR-438@tmp:/w/workspace/undry_device-onvif-camera_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:53:04 $ docker top 1272c7c10d23320cd9436053857008b72c107f4e133bf4bd84fba6b26a5ad544 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:53:04 + mkdir -p /var/log/sysstat [Pipeline] sh 07:53:05 + ls /var/log/sa-host 07:53:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:05 provisioning config files... 07:53:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-438@tmp/config9106912827273621840tmp [Pipeline] { [Pipeline] echo 07:53:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:53:05 ---> create-netrc.sh [Pipeline] } 07:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:53:05 ---> python-tools-install.sh [Pipeline] echo 07:53:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:53:06 ---> sudo-logs.sh 07:53:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:53:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:53:06 ---> job-cost.sh 07:53:06 lf-activate-venv: SKIPPING 07:53:06 DEBUG: total: 0.2199999988079071 07:53:06 INFO: Retrieving Stack Cost... 07:53:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:07 INFO: Archiving Costs [Pipeline] echo 07:53:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:53:07 ---> logs-deploy.sh 07:53:07 lf-activate-venv: SKIPPING 07:53:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-438/2 07:53:07 INFO: archiving workspace using pattern(s): 07:53:08 Archives upload complete. 07:53:08 INFO: archiving logs to Nexus