Pull request #442 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 58a46464b097f2687050cc69c23bce9f593b5f18+4403bb01aaef0144ea9be46ab10d7e2cec719e21 (ff13488edc807500f1efdfa7f8d7f664a8b18ef8) 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-ssh10277897130497482741.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-ssh532870907204511748.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9959911812063386701.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9603863151534211775.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14737586950246772295.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17496312081246825379.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4871 in /w/workspace/undry_device-onvif-camera_PR-442 [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-442 # 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 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit 58a46464b097f2687050cc69c23bce9f593b5f18 Merge succeeded, producing 58a46464b097f2687050cc69c23bce9f593b5f18 Checking out Revision 58a46464b097f2687050cc69c23bce9f593b5f18 (PR-442) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # 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 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:00:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:00:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:00:07 ========================================================= 04:00:07 EdgeX Global Pipelines Version Info 04:00:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:00:08 ------------------- 04:00:08 stable info: 04:00:08 ------------------- 04:00:08 Commited By: Ginny Guan ginny@iotechsys.com 04:00:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:00:08 Message: update stable to v1.0.260 04:00:08 ------------------- 04:00:08 experimental info: 04:00:08 ------------------- 04:00:08 Commited By: Ginny Guan ginny@iotechsys.com 04:00:08 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:00:08 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:00:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58a4646 [Pipeline] echo 04:00:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:11 provisioning config files... 04:00:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config12340329697611982261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:11 ---> ****-login.sh 04:00:11 nexus3.edgexfoundry.org:10001 04:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:11 Configure a credential helper to remove this warning. See 04:00:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:11 04:00:11 Login Succeeded 04:00:11 nexus3.edgexfoundry.org:10002 04:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:12 Configure a credential helper to remove this warning. See 04:00:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:12 04:00:12 Login Succeeded 04:00:12 nexus3.edgexfoundry.org:10003 04:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:12 Configure a credential helper to remove this warning. See 04:00:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:12 04:00:12 Login Succeeded 04:00:12 nexus3.edgexfoundry.org:10004 04:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:12 Configure a credential helper to remove this warning. See 04:00:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:12 04:00:12 Login Succeeded 04:00:12 ****.io 04:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:12 Configure a credential helper to remove this warning. See 04:00:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:12 04:00:12 Login Succeeded 04:00:12 ---> ****-login.sh ends [Pipeline] } 04:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:00:13 + git rev-list -1 --merges 58a46464b097f2687050cc69c23bce9f593b5f18~1..58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo 04:00:13 -----------> git rev-list -1 --merges 58a46464b097f2687050cc69c23bce9f593b5f18~1..58a46464b097f2687050cc69c23bce9f593b5f18 58a46464b097f2687050cc69c23bce9f593b5f18 [false] [Pipeline] sh 04:00:13 + git log --format=format:%s -1 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo 04:00:13 ========================================================= 04:00:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:00:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:14 + git log --format=format:%s -1 58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] echo 04:00:14 [semverPrep] GIT_COMMIT: 58a46464b097f2687050cc69c23bce9f593b5f18, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:00:14 [semverPrep] This is not a build commit. [Pipeline] sh 04:00:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:14 + grep -v github /etc/ssh/ssh_known_hosts 04:00:14 + [ -e /tmp/ssh_known_hosts ] 04:00:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:00:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:00:14 + sudo tee -a /etc/ssh/ssh_known_hosts 04:00:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:15 04:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:15 0.1.4: Pulling from edgex-devops/py-git-semver 04:00:15 b85a868b505f: Pulling fs layer 04:00:15 e2be974225ed: Pulling fs layer 04:00:15 339a4e72a1f5: Pulling fs layer 04:00:15 988bab9f4d93: Pulling fs layer 04:00:15 1469e6f7b9e6: Pulling fs layer 04:00:15 eaf3925da568: Pulling fs layer 04:00:15 bab4dde63d76: Pulling fs layer 04:00:15 bde34c3a00c8: Pulling fs layer 04:00:15 b352a97aabf1: Pulling fs layer 04:00:15 4872d77fe225: Pulling fs layer 04:00:15 5851b861e8e6: Pulling fs layer 04:00:15 bab4dde63d76: Waiting 04:00:15 988bab9f4d93: Waiting 04:00:15 1469e6f7b9e6: Waiting 04:00:15 bde34c3a00c8: Waiting 04:00:15 b352a97aabf1: Waiting 04:00:15 eaf3925da568: Waiting 04:00:15 4872d77fe225: Waiting 04:00:15 5851b861e8e6: Waiting 04:00:15 e2be974225ed: Download complete 04:00:15 988bab9f4d93: Verifying Checksum 04:00:16 1469e6f7b9e6: Verifying Checksum 04:00:16 1469e6f7b9e6: Download complete 04:00:16 eaf3925da568: Verifying Checksum 04:00:16 eaf3925da568: Download complete 04:00:16 339a4e72a1f5: Verifying Checksum 04:00:16 339a4e72a1f5: Download complete 04:00:16 bde34c3a00c8: Verifying Checksum 04:00:16 bde34c3a00c8: Download complete 04:00:16 b352a97aabf1: Verifying Checksum 04:00:16 b352a97aabf1: Download complete 04:00:16 4872d77fe225: Download complete 04:00:16 5851b861e8e6: Download complete 04:00:16 b85a868b505f: Verifying Checksum 04:00:16 b85a868b505f: Download complete 04:00:16 bab4dde63d76: Download complete 04:00:17 b85a868b505f: Pull complete 04:00:17 e2be974225ed: Pull complete 04:00:18 339a4e72a1f5: Pull complete 04:00:18 988bab9f4d93: Pull complete 04:00:18 1469e6f7b9e6: Pull complete 04:00:18 eaf3925da568: Pull complete 04:00:20 bab4dde63d76: Pull complete 04:00:20 bde34c3a00c8: Pull complete 04:00:20 b352a97aabf1: Pull complete 04:00:20 4872d77fe225: Pull complete 04:00:20 5851b861e8e6: Pull complete 04:00:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:21 prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container 04:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:00:24 $ docker top 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b -eo pid,comm 04:00:24 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). 04:00:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:24 [ssh-agent] Looking for ssh-agent implementation... 04:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:24 $ docker exec 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent 04:00:24 SSH_AUTH_SOCK=/tmp/ssh-CHvLBQbaonzX/agent.32 04:00:24 SSH_AGENT_PID=38 04:00:24 Running ssh-add (command line suppressed) 04:00:24 Identity added: /w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_16057671856722932998.key (/w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_16057671856722932998.key) 04:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:25 + git tag --points-at HEAD [Pipeline] } 04:00:25 $ docker exec --env ******** --env ******** 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent -k 04:00:25 unset SSH_AUTH_SOCK; 04:00:25 unset SSH_AGENT_PID; 04:00:25 echo Agent pid 38 killed; 04:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:00:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:25 [ssh-agent] Looking for ssh-agent implementation... 04:00:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:25 $ docker exec 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent 04:00:25 SSH_AUTH_SOCK=/tmp/ssh-YTx5QRQrU4Kc/agent.72 04:00:25 SSH_AGENT_PID=78 04:00:25 Running ssh-add (command line suppressed) 04:00:25 Identity added: /w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_5732316390567772695.key (/w/workspace/undry_device-onvif-camera_PR-442@tmp/private_key_5732316390567772695.key) 04:00:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:26 + git semver init 04:00:26 2024-07-03 04:00:26,476 [run_init] DEBUG init version:0.0.0 force:False 04:00:26 2024-07-03 04:00:26,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-442/.semver 04:00:26 2024-07-03 04:00:26,477 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-442/.semver 04:00:26 2024-07-03 04:00:26,478 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-442/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-442, universal_newlines=False, shell=None, istream=None) 04:00:27 2024-07-03 04:00:27,746 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-442/.git/info/exclude 04:00:27 2024-07-03 04:00:27,746 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 with force:False 04:00:27 2024-07-03 04:00:27,746 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 04:00:27 2024-07-03 04:00:27,751 [execute] INFO git cat-file --batch-check 04:00:27 2024-07-03 04:00:27,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-442/.semver, universal_newlines=False, shell=None, istream=) 04:00:27 2024-07-03 04:00:27,757 [execute] INFO git cat-file --batch 04:00:27 2024-07-03 04:00:27,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-442/.semver, universal_newlines=False, shell=None, istream=) 04:00:27 2024-07-03 04:00:27,763 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-442/.semver/PR-442 04:00:27 0.0.0 [Pipeline] } 04:00:27 $ docker exec --env ******** --env ******** 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b ssh-agent -k 04:00:28 unset SSH_AUTH_SOCK; 04:00:28 unset SSH_AGENT_PID; 04:00:28 echo Agent pid 78 killed; 04:00:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:28 + git semver [Pipeline] } 04:00:28 $ docker stop --time=1 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b 04:00:30 $ docker rm -f --volumes 05fafc04b802f1711d9bbfb32366409eb4b9a836560d5e3dbc81e095ee31045b [Pipeline] // withDockerContainer [Pipeline] sh 04:00:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:00:30 Stashed 1 file(s) [Pipeline] echo 04:00:31 [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 04:00:31 provisioning config files... 04:00:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config7745478762736691226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:32 ---> ****-login.sh 04:00:32 nexus3.edgexfoundry.org:10001 04:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 nexus3.edgexfoundry.org:10002 04:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 nexus3.edgexfoundry.org:10003 04:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 nexus3.edgexfoundry.org:10004 04:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 ****.io 04:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 ---> ****-login.sh ends [Pipeline] } 04:00:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:33 ========================================================= 04:00:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:00:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:33 + 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 . 04:00:33 Sending build context to Docker daemon 36.6MB 04:00:33 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:00:33 Step 2/13 : FROM ${BASE} AS builder 04:00:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:00:33 619be1103602: Pulling fs layer 04:00:33 7862e08f4a3e: Pulling fs layer 04:00:33 5df492c9dc93: Pulling fs layer 04:00:33 7629e6793208: Pulling fs layer 04:00:33 4f4fb700ef54: Pulling fs layer 04:00:33 fb5054dd5b73: Pulling fs layer 04:00:33 7629e6793208: Waiting 04:00:33 4f4fb700ef54: Waiting 04:00:33 eeca6798cff9: Pulling fs layer 04:00:33 aa269ceb94a6: Pulling fs layer 04:00:33 fb5054dd5b73: Waiting 04:00:33 eeca6798cff9: Waiting 04:00:33 ada007ff1a6a: Pulling fs layer 04:00:33 aa269ceb94a6: Waiting 04:00:33 7862e08f4a3e: Verifying Checksum 04:00:33 7862e08f4a3e: Download complete 04:00:33 7629e6793208: Verifying Checksum 04:00:33 7629e6793208: Download complete 04:00:33 4f4fb700ef54: Download complete 04:00:33 fb5054dd5b73: Download complete 04:00:33 619be1103602: Verifying Checksum 04:00:33 619be1103602: Download complete 04:00:33 eeca6798cff9: Verifying Checksum 04:00:33 eeca6798cff9: Download complete 04:00:34 619be1103602: Pull complete 04:00:34 7862e08f4a3e: Pull complete 04:00:34 ada007ff1a6a: Download complete 04:00:34 5df492c9dc93: Verifying Checksum 04:00:34 5df492c9dc93: Download complete 04:00:34 aa269ceb94a6: Verifying Checksum 04:00:37 5df492c9dc93: Pull complete 04:00:37 7629e6793208: Pull complete 04:00:37 4f4fb700ef54: Pull complete 04:00:37 fb5054dd5b73: Pull complete 04:00:37 eeca6798cff9: Pull complete 04:00:40 aa269ceb94a6: Pull complete 04:00:40 ada007ff1a6a: Pull complete 04:00:40 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:00:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:00:40 ---> f489d0715acc 04:00:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:00:45 ---> Running in cc92e58a89c8 04:00:45 Removing intermediate container cc92e58a89c8 04:00:45 ---> fe430c65ba17 04:00:45 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:45 ---> Running in 119183cfbe2e 04:00:45 Removing intermediate container 119183cfbe2e 04:00:45 ---> 1a854d46741e 04:00:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:00:45 ---> Running in 4a5c6443e135 04:00:45 Removing intermediate container 4a5c6443e135 04:00:45 ---> 2fe301b65547 04:00:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:00:45 ---> Running in d512188e9048 04:00:45 Removing intermediate container d512188e9048 04:00:45 ---> 6d893d78afb0 04:00:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:00:45 ---> Running in 02720c75d41e 04:00:45 Removing intermediate container 02720c75d41e 04:00:45 ---> 28c0aea75e97 04:00:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:45 ---> Running in f41b41ee6b57 04:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:00:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:00:46 OK: 264 MiB in 52 packages 04:00:46 Still waiting to schedule task 04:00:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:00:46 Removing intermediate container f41b41ee6b57 04:00:46 ---> 7936d532b381 04:00:46 Step 9/13 : WORKDIR /device-onvif-camera 04:00:46 ---> Running in 9c077521a296 04:00:46 Removing intermediate container 9c077521a296 04:00:46 ---> be6921993d81 04:00:46 Step 10/13 : COPY go.mod vendor* ./ 04:00:46 ---> c0b6ae20bbd4 04:00:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:46 ---> Running in b77a11f09b48 04:01:54 Removing intermediate container b77a11f09b48 04:01:54 ---> a27771331935 04:01:54 Step 12/13 : COPY . . 04:01:54 ---> 9dae28bd2547 04:01:54 Step 13/13 : RUN ${MAKE} 04:01:54 ---> Running in 9bdaded0d408 04:01:54 noop 04:01:54 Removing intermediate container 9bdaded0d408 04:01:54 ---> 283d1bcae084 04:01:54 Successfully built 283d1bcae084 04:01:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:55 + docker inspect -f . ci-base-image-x86_64 04:01:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:55 prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container 04:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:55 $ docker top cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:55 + go version 04:01:55 go version go1.21.9 linux/amd64 [Pipeline] } 04:01:55 $ docker stop --time=1 cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 04:01:57 $ docker rm -f --volumes cad5e768709490121cb79e07237c196cbd471704e3ec090394207c98dc31c229 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:58 + docker inspect -f . ci-base-image-x86_64 04:01:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:58 prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container 04:01:58 $ 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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:01:58 $ docker top df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:59 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-442 [Pipeline] fileExists [Pipeline] sh 04:01:59 + make test 04:01:59 go test ./... -coverprofile=coverage.out ./... 04:02:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:02:19 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:02:19 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:02:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.025s coverage: 31.4% of statements 04:02:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.087s coverage: 86.5% of statements 04:02:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4872 in /w/workspace/undry_device-onvif-camera_PR-442 [Pipeline] { [Pipeline] ws 04:02:25 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:02:25 The recommended git tool is: git 04:02:30 go vet ./... 04:02:34 using credential edgex-jenkins-ssh 04:02:34 Cloning the remote Git repository 04:02:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:35 ./bin/test-attribution-txt.sh 04:02:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:02:34 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:02:34 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:02:34 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:02:34 > git --version # timeout=10 04:02:34 > git --version # 'git version 2.25.1' 04:02:34 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:02:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:02:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:02:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:02:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:02:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:02:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:02:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:02:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:02:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:02:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:02:35 $ docker stop --time=1 df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf 04:02:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:02:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:38 $ docker rm -f --volumes df068af6efff00cf687db4bb7a1ec6ee25cba1e3d2a27624244cdabea29180bf [Pipeline] // withDockerContainer [Pipeline] sh 04:02:39 Merging remotes/origin/main commit 4403bb01aaef0144ea9be46ab10d7e2cec719e21 into PR head commit 58a46464b097f2687050cc69c23bce9f593b5f18 04:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 04:02:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:02:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:02:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:02:39 > git config core.sparsecheckout # timeout=10 04:02:39 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 [Pipeline] stage [Pipeline] { (Build) 04:02:39 Merge succeeded, producing 58a46464b097f2687050cc69c23bce9f593b5f18 04:02:39 Checking out Revision 58a46464b097f2687050cc69c23bce9f593b5f18 (PR-442) [Pipeline] sh 04:02:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:40 + ls -al . 04:02:40 total 312 04:02:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 04:02 . 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 .. 04:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:02 .git 04:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:00 .github 04:02:40 -rw-rw-r-- 1 jenkins jenkins 493 Jul 3 04:00 .gitignore 04:02:40 -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:00 .golangci.yml 04:02:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:00 .semver 04:02:40 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 3 04:00 Attribution.txt 04:02:40 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 3 04:00 CHANGELOG.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 3 04:00 Dockerfile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:00 GOVERNANCE.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 739 Jul 3 04:00 Jenkinsfile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 04:00 LICENSE 04:02:40 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 3 04:00 Makefile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 04:00 OWNERS.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 3 04:00 README.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:00 VERSION 04:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:00 bin 04:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:00 cmd 04:02:40 -rw-r--r-- 1 jenkins jenkins 78805 Jul 3 04:02 coverage.out 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 doc 04:02:40 -rw-rw-r-- 1 jenkins jenkins 7387 Jul 3 04:00 go.mod 04:02:40 -rw-rw-r-- 1 jenkins jenkins 102689 Jul 3 04:00 go.sum 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:00 internal 04:02:40 -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:40 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:02:40 > git --version # timeout=10 04:02:40 > git --version # 'git version 2.25.1' 04:02:40 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:02:40 + 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=58a46464b097f2687050cc69c23bce9f593b5f18 --label arch=amd64 --label version=0.0.0 . 04:02:40 Sending build context to Docker daemon 36.68MB 04:02:40 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:02:40 Step 2/27 : FROM ${BASE} AS builder 04:02:40 ---> 283d1bcae084 04:02:40 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:02:39 > git remote # timeout=10 04:02:39 > git config --get remote.origin.url # timeout=10 04:02:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:39 > git merge 4403bb01aaef0144ea9be46ab10d7e2cec719e21 # timeout=10 04:02:39 > git rev-parse HEAD^{commit} # timeout=10 04:02:39 > git config core.sparsecheckout # timeout=10 04:02:39 > git checkout -f 58a46464b097f2687050cc69c23bce9f593b5f18 # timeout=10 04:02:41 ---> Running in 77972e94a52b 04:02:41 Removing intermediate container 77972e94a52b 04:02:41 ---> 18e700bbdb04 04:02:41 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:41 ---> Running in 0235e517cffc 04:02:41 Removing intermediate container 0235e517cffc 04:02:41 ---> 435b5959e622 04:02:41 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:02:41 ---> Running in 34911e49b028 04:02:41 Removing intermediate container 34911e49b028 04:02:41 ---> e5e5edf7c629 04:02:41 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:02:41 ---> Running in 3c78d6767222 04:02:41 Removing intermediate container 3c78d6767222 04:02:41 ---> 343ef3213a26 04:02:41 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:02:42 ---> Running in 1381ec8715e4 04:02:42 Removing intermediate container 1381ec8715e4 04:02:42 ---> dc56df66db04 04:02:42 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:42 ---> Running in d61d4930c354 04:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:02:42 OK: 264 MiB in 52 packages 04:02:43 Removing intermediate container d61d4930c354 04:02:43 ---> 685c64efc569 04:02:43 Step 9/27 : WORKDIR /device-onvif-camera 04:02:43 ---> Running in 2ecb592df8a0 04:02:43 Removing intermediate container 2ecb592df8a0 04:02:43 ---> 471bc560fea8 04:02:43 Step 10/27 : COPY go.mod vendor* ./ 04:02:43 ---> 72e556dad767 04:02:43 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:43 ---> Running in 591160629a7d 04:02:44 Removing intermediate container 591160629a7d 04:02:44 ---> 0ea74000b3c0 04:02:44 Step 12/27 : COPY . . 04:02:44 ---> 92f60eb61b69 04:02:44 Step 13/27 : RUN ${MAKE} 04:02:44 ---> Running in 60151b9f82dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv 04:02:45 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.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:02:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:02:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:02:45 Dload Upload Total Spent Left Speed 04:02:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 04:02:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:02:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:02:46 + sudo tee /etc/docker/daemon.new 04:02:46 { 04:02:46 "registry-mirrors": [ 04:02:46 "https://nexus3.edgexfoundry.org:10001" 04:02:46 ], 04:02:46 "bip": "10.250.0.254/24", 04:02:46 "hosts": [ 04:02:46 "tcp://0.0.0.0:5555", 04:02:46 "unix:///var/run/docker.sock" 04:02:46 ], 04:02:46 "mtu": 1458, 04:02:46 "selinux-enabled": true, 04:02:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:02:46 } [Pipeline] sh 04:02:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:02:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:05 provisioning config files... 04:03:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13264218271696085317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:06 ---> ****-login.sh 04:03:06 nexus3.edgexfoundry.org:10001 04:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:03:06 Configure a credential helper to remove this warning. See 04:03:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:03:06 04:03:06 Login Succeeded 04:03:06 nexus3.edgexfoundry.org:10002 04:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:03:07 Configure a credential helper to remove this warning. See 04:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:03:07 04:03:07 Login Succeeded 04:03:07 nexus3.edgexfoundry.org:10003 04:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:03:07 Configure a credential helper to remove this warning. See 04:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:03:07 04:03:07 Login Succeeded 04:03:07 nexus3.edgexfoundry.org:10004 04:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:03:07 Configure a credential helper to remove this warning. See 04:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:03:07 04:03:07 Login Succeeded 04:03:07 ****.io 04:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:03:08 Configure a credential helper to remove this warning. See 04:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:03:08 04:03:08 Login Succeeded 04:03:08 ---> ****-login.sh ends [Pipeline] } 04:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:03:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:03:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:03:09 ========================================================= 04:03:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:03:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:09 + 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 . 04:03:10 Sending build context to Docker daemon 21.71MB 04:03:10 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:03:10 Step 2/13 : FROM ${BASE} AS builder 04:03:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:03:10 c6b39de5b339: Pulling fs layer 04:03:10 a69c41024577: Pulling fs layer 04:03:10 d6de4b400683: Pulling fs layer 04:03:10 35cb2a7552d0: Pulling fs layer 04:03:10 4f4fb700ef54: Pulling fs layer 04:03:10 464afbd9ba4c: Pulling fs layer 04:03:10 00f215d4a9da: Pulling fs layer 04:03:10 d496ad576159: Pulling fs layer 04:03:10 4f4fb700ef54: Waiting 04:03:10 464afbd9ba4c: Waiting 04:03:10 00f215d4a9da: Waiting 04:03:10 35cb2a7552d0: Waiting 04:03:10 d496ad576159: Waiting 04:03:10 a69c41024577: Verifying Checksum 04:03:10 a69c41024577: Download complete 04:03:10 35cb2a7552d0: Download complete 04:03:10 4f4fb700ef54: Verifying Checksum 04:03:10 4f4fb700ef54: Download complete 04:03:10 464afbd9ba4c: Verifying Checksum 04:03:10 464afbd9ba4c: Download complete 04:03:10 c6b39de5b339: Download complete 04:03:11 d496ad576159: Verifying Checksum 04:03:11 d496ad576159: Download complete 04:03:11 c6b39de5b339: Pull complete 04:03:12 a69c41024577: Pull complete 04:03:12 d6de4b400683: Verifying Checksum 04:03:12 d6de4b400683: Download complete 04:03:13 00f215d4a9da: Verifying Checksum 04:03:13 00f215d4a9da: Download complete 04:03:17 Removing intermediate container 60151b9f82dc 04:03:17 ---> faf59c8dd5b5 04:03:17 Step 14/27 : FROM alpine:3.18 04:03:17 3.18: Pulling from library/alpine 04:03:17 73baa7ef167e: Pulling fs layer 04:03:17 73baa7ef167e: Verifying Checksum 04:03:17 73baa7ef167e: Download complete 04:03:17 73baa7ef167e: Pull complete 04:03:17 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:03:17 Status: Downloaded newer image for alpine:3.18 04:03:17 ---> 8fd7cac70a4a 04:03:17 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:03:17 ---> Running in af34301db7d4 04:03:17 Removing intermediate container af34301db7d4 04:03:17 ---> 295bf5a725da 04:03:17 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:03:17 ---> Running in 1fdcf3e62364 04:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:03:17 (1/1) Installing dumb-init (1.2.5-r2) 04:03:17 Executing busybox-1.36.1-r7.trigger 04:03:17 OK: 7 MiB in 16 packages 04:03:17 Removing intermediate container 1fdcf3e62364 04:03:17 ---> d4f07c3a245c 04:03:17 Step 17/27 : RUN apk --no-cache upgrade 04:03:17 ---> Running in 6beca0c2419f 04:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:03:17 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:03:17 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:03:17 OK: 7 MiB in 16 packages 04:03:17 Removing intermediate container 6beca0c2419f 04:03:17 ---> 0a3c3f4d702f 04:03:17 Step 18/27 : WORKDIR / 04:03:17 ---> Running in 7e4fdf98eacb 04:03:17 Removing intermediate container 7e4fdf98eacb 04:03:17 ---> 49b32aab9424 04:03:17 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:03:17 ---> 2e70f2ad02ed 04:03:17 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:03:17 ---> b1a10c63f02e 04:03:17 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:03:17 ---> 97741a014f11 04:03:17 Step 22/27 : EXPOSE 59984 04:03:17 ---> Running in f0ad1eaad74c 04:03:17 Removing intermediate container f0ad1eaad74c 04:03:17 ---> c5a43d9e69fb 04:03:17 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:03:17 ---> Running in c84896e4fd65 04:03:17 Removing intermediate container c84896e4fd65 04:03:17 ---> 3af41f941dd8 04:03:17 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:03:17 ---> Running in f9393d21eb64 04:03:17 Removing intermediate container f9393d21eb64 04:03:17 ---> 8d614f2502da 04:03:17 Step 25/27 : LABEL arch=amd64 04:03:17 ---> Running in b76905b8b44c 04:03:17 Removing intermediate container b76905b8b44c 04:03:17 ---> 4c40b3f82ae6 04:03:17 Step 26/27 : LABEL git_sha=58a46464b097f2687050cc69c23bce9f593b5f18 04:03:17 ---> Running in 4549524cae40 04:03:17 Removing intermediate container 4549524cae40 04:03:17 ---> cfd1eeab9cfa 04:03:17 Step 27/27 : LABEL version=0.0.0 04:03:17 ---> Running in 1da949012160 04:03:18 Removing intermediate container 1da949012160 04:03:18 ---> 6da3b37ff5b4 04:03:18 [Warning] One or more build-args [ARCH] were not consumed 04:03:18 Successfully built 6da3b37ff5b4 04:03:18 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 04:03:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:19 04:03:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:19 latest: Pulling from edgex-lftools-log-publisher 04:03:19 5eb5b503b376: Pulling fs layer 04:03:19 5c69ac0246d0: Pulling fs layer 04:03:19 ec43610c2a17: Pulling fs layer 04:03:19 3a2ae6a8a46f: Pulling fs layer 04:03:19 33b1e0a273af: Pulling fs layer 04:03:19 5d3b04190fa2: Pulling fs layer 04:03:19 2f39f015ded8: Pulling fs layer 04:03:19 5d3b04190fa2: Waiting 04:03:19 3a2ae6a8a46f: Waiting 04:03:19 33b1e0a273af: Waiting 04:03:19 2f39f015ded8: Waiting 04:03:19 5c69ac0246d0: Verifying Checksum 04:03:19 5c69ac0246d0: Download complete 04:03:19 3a2ae6a8a46f: Verifying Checksum 04:03:19 3a2ae6a8a46f: Download complete 04:03:19 33b1e0a273af: Verifying Checksum 04:03:19 33b1e0a273af: Download complete 04:03:19 5d3b04190fa2: Verifying Checksum 04:03:19 5d3b04190fa2: Download complete 04:03:19 ec43610c2a17: Verifying Checksum 04:03:19 ec43610c2a17: Download complete 04:03:19 5eb5b503b376: Verifying Checksum 04:03:19 5eb5b503b376: Download complete 04:03:20 2f39f015ded8: Download complete 04:03:21 5eb5b503b376: Pull complete 04:03:21 5c69ac0246d0: Pull complete 04:03:21 ec43610c2a17: Pull complete 04:03:21 3a2ae6a8a46f: Pull complete 04:03:22 33b1e0a273af: Pull complete 04:03:22 5d3b04190fa2: Pull complete 04:03:26 d6de4b400683: Pull complete 04:03:26 35cb2a7552d0: Pull complete 04:03:26 4f4fb700ef54: Pull complete 04:03:26 464afbd9ba4c: Pull complete 04:03:26 2f39f015ded8: Pull complete 04:03:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:26 prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container 04:03:26 $ 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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:03:30 $ docker top 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:30 ---> job-cost.sh 04:03:30 lf-activate-venv: SKIPPING 04:03:30 INFO: No Stack... 04:03:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:03:31 INFO: Archiving Costs [Pipeline] sh 04:03:31 + cat /w/workspace/undry_device-onvif-camera_PR-442/archives/cost.csv 04:03:31 + cut -d, -f6 [Pipeline] lock 04:03:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] 04:03:31 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] did not exist. Created. 04:03:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:32 + echo total: 0.2199999988079071 [Pipeline] stash 04:03:32 Stashed 1 file(s) [Pipeline] } 04:03:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:03:32 $ docker stop --time=1 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 04:03:33 $ docker rm -f --volumes 956138d102cedb53d30fa0a63f26b619a1bb2a4f73fdbe1fa0fd4629e4ceeaa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:03:36 00f215d4a9da: Pull complete 04:03:36 d496ad576159: Pull complete 04:03:36 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:03:36 ---> f246e2811388 04:03:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:03:37 ---> Running in 4a4cc3c2e9b6 04:03:37 Removing intermediate container 4a4cc3c2e9b6 04:03:37 ---> a1e95c864376 04:03:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:37 ---> Running in 980ded1a8bfc 04:03:37 Removing intermediate container 980ded1a8bfc 04:03:37 ---> 0e1e7b20855d 04:03:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:03:37 ---> Running in d662f879bff1 04:03:37 Removing intermediate container d662f879bff1 04:03:37 ---> f187b601700a 04:03:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:03:37 ---> Running in b2e143115a66 04:03:38 Removing intermediate container b2e143115a66 04:03:38 ---> d60c679782ee 04:03:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:03:38 ---> Running in 5a5aa92b9e4c 04:03:38 Removing intermediate container 5a5aa92b9e4c 04:03:38 ---> 13af6d0e6e5b 04:03:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:38 ---> Running in 4b9bdc098b94 04:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:03:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:03:41 OK: 266 MiB in 52 packages 04:03:41 Removing intermediate container 4b9bdc098b94 04:03:41 ---> 2cba7bbded83 04:03:41 Step 9/13 : WORKDIR /device-onvif-camera 04:03:42 ---> Running in 6c5d11f01163 04:03:42 Removing intermediate container 6c5d11f01163 04:03:42 ---> 234bec3ef879 04:03:42 Step 10/13 : COPY go.mod vendor* ./ 04:03:42 ---> 9da474df901c 04:03:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:43 ---> Running in e2e7677cafd3 04:05:34 Removing intermediate container e2e7677cafd3 04:05:34 ---> edee0e93bde2 04:05:34 Step 12/13 : COPY . . 04:05:34 ---> d773984974da 04:05:34 Step 13/13 : RUN ${MAKE} 04:05:34 ---> Running in fb075f08ac91 04:05:34 noop 04:05:34 Removing intermediate container fb075f08ac91 04:05:34 ---> 4abafc42a0e3 04:05:34 Successfully built 4abafc42a0e3 04:05:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:35 + docker inspect -f . ci-base-image-arm64 04:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:35 prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container 04:05:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:05:36 $ docker top 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:37 + go version 04:05:37 go version go1.21.9 linux/arm64 [Pipeline] } 04:05:37 $ docker stop --time=1 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 04:05:39 $ docker rm -f --volumes 5565db9eef202feccfec690dbd69a0f7510040b65b77045d71a7869384b65964 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:40 + docker inspect -f . ci-base-image-arm64 04:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:40 prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container 04:05:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:05:41 $ docker top 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:05:43 + make test 04:05:43 go test ./... -coverprofile=coverage.out ./... 04:05:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:09:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:09:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:09:10 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.182s coverage: 31.4% of statements 04:09:33 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 21.775s coverage: 86.5% of statements 04:09:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:09:33 go vet ./... 04:10:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:10:20 ./bin/test-attribution-txt.sh 04:10:20 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:10:20 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:10:20 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:10:20 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:10:20 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:10:20 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:10:20 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:10:20 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:10:20 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:10:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:10:20 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:10:20 $ docker stop --time=1 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc 04:10:21 $ docker rm -f --volumes 04dcf29870ad291bb1411e192d7c1ff338e3e17e23edcee8b56489f8646056cc [Pipeline] // withDockerContainer [Pipeline] sh 04:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:23 Warning: overwriting stash ‘coverage-report’ 04:10:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:25 + ls -al . 04:10:25 total 308 04:10:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:05 . 04:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 .. 04:10:25 drwxrwxr-x 8 jenkins jenkins 4096 Jul 3 04:02 .git 04:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:02 .github 04:10:25 -rw-rw-r-- 1 jenkins jenkins 493 Jul 3 04:02 .gitignore 04:10:25 -rw-rw-r-- 1 jenkins jenkins 42 Jul 3 04:02 .golangci.yml 04:10:25 -rw-rw-r-- 1 jenkins jenkins 11155 Jul 3 04:02 Attribution.txt 04:10:25 -rw-rw-r-- 1 jenkins jenkins 17665 Jul 3 04:02 CHANGELOG.md 04:10:25 -rw-rw-r-- 1 jenkins jenkins 1683 Jul 3 04:02 Dockerfile 04:10:25 -rw-rw-r-- 1 jenkins jenkins 677 Jul 3 04:02 GOVERNANCE.md 04:10:25 -rw-rw-r-- 1 jenkins jenkins 739 Jul 3 04:02 Jenkinsfile 04:10:25 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 3 04:02 LICENSE 04:10:25 -rw-rw-r-- 1 jenkins jenkins 2883 Jul 3 04:02 Makefile 04:10:25 -rw-rw-r-- 1 jenkins jenkins 625 Jul 3 04:02 OWNERS.md 04:10:25 -rw-rw-r-- 1 jenkins jenkins 2620 Jul 3 04:02 README.md 04:10:25 -rw-rw-r-- 1 jenkins jenkins 5 Jul 3 04:00 VERSION 04:10:25 drwxrwxr-x 2 jenkins jenkins 4096 Jul 3 04:02 bin 04:10:25 drwxrwxr-x 3 jenkins jenkins 4096 Jul 3 04:02 cmd 04:10:25 -rw-r--r-- 1 jenkins jenkins 78805 Jul 3 04:09 coverage.out 04:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 doc 04:10:25 -rw-rw-r-- 1 jenkins jenkins 7387 Jul 3 04:02 go.mod 04:10:25 -rw-rw-r-- 1 jenkins jenkins 102689 Jul 3 04:02 go.sum 04:10:25 drwxrwxr-x 4 jenkins jenkins 4096 Jul 3 04:02 internal 04:10:25 -rw-rw-r-- 1 jenkins jenkins 236 Jul 3 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10: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=58a46464b097f2687050cc69c23bce9f593b5f18 --label arch=arm64 --label version=0.0.0 . 04:10:26 Sending build context to Docker daemon 21.78MB 04:10:26 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:10:26 Step 2/27 : FROM ${BASE} AS builder 04:10:26 ---> 4abafc42a0e3 04:10:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:10:26 ---> Running in 1e5f60b6043f 04:10:26 Removing intermediate container 1e5f60b6043f 04:10:26 ---> 53094d694c7f 04:10:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:26 ---> Running in 7302d65ff159 04:10:26 Removing intermediate container 7302d65ff159 04:10:26 ---> f458d2b20f0f 04:10:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:10:26 ---> Running in 47a5d0ee41a2 04:10:27 Removing intermediate container 47a5d0ee41a2 04:10:27 ---> 36d424aa6159 04:10:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:10:27 ---> Running in 2c76037534d0 04:10:27 Removing intermediate container 2c76037534d0 04:10:27 ---> 0d800e9688a9 04:10:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:10:27 ---> Running in 27eb0600fb6f 04:10:27 Removing intermediate container 27eb0600fb6f 04:10:27 ---> 7db5fa55d5cd 04:10:27 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:27 ---> Running in fad636fa6e39 04:10:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:10:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:10:30 OK: 266 MiB in 52 packages 04:10:31 Removing intermediate container fad636fa6e39 04:10:31 ---> 1f6053901744 04:10:31 Step 9/27 : WORKDIR /device-onvif-camera 04:10:31 ---> Running in dd98c99206ef 04:10:31 Removing intermediate container dd98c99206ef 04:10:31 ---> 90008320c91e 04:10:31 Step 10/27 : COPY go.mod vendor* ./ 04:10:31 ---> 77ed424c58ae 04:10:31 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:31 ---> Running in e8922cce7dd4 04:10:34 Removing intermediate container e8922cce7dd4 04:10:34 ---> fd0851ffcbc3 04:10:34 Step 12/27 : COPY . . 04:10:35 ---> 3e2a295a0382 04:10:35 Step 13/27 : RUN ${MAKE} 04:10:35 ---> Running in f03618469eb9 04:10:36 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.19" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:13:58 Removing intermediate container f03618469eb9 04:13:58 ---> 16ee5efec7ea 04:13:58 Step 14/27 : FROM alpine:3.18 04:13:58 3.18: Pulling from library/alpine 04:13:58 5c905c7ebe2f: Pulling fs layer 04:13:58 5c905c7ebe2f: Verifying Checksum 04:13:58 5c905c7ebe2f: Download complete 04:13:59 5c905c7ebe2f: Pull complete 04:13:59 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 04:13:59 Status: Downloaded newer image for alpine:3.18 04:13:59 ---> dec292d02e07 04:13:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:13:59 ---> Running in f27331f5c3d5 04:13:59 Removing intermediate container f27331f5c3d5 04:13:59 ---> ccbaadd15658 04:13:59 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:13:59 ---> Running in fa66a9a525b2 04:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:14:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:14:02 (1/1) Installing dumb-init (1.2.5-r2) 04:14:02 Executing busybox-1.36.1-r7.trigger 04:14:02 OK: 8 MiB in 16 packages 04:14:02 Removing intermediate container fa66a9a525b2 04:14:02 ---> f14db8f9ad29 04:14:02 Step 17/27 : RUN apk --no-cache upgrade 04:14:03 ---> Running in 67d85ad6b6e8 04:14:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:14:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:14:05 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 04:14:05 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 04:14:05 OK: 8 MiB in 16 packages 04:14:06 Removing intermediate container 67d85ad6b6e8 04:14:06 ---> e0f22d3df776 04:14:06 Step 18/27 : WORKDIR / 04:14:06 ---> Running in 50fd36070632 04:14:06 Removing intermediate container 50fd36070632 04:14:06 ---> dff90576d068 04:14:06 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:14:08 ---> 8c2f30d66cc4 04:14:08 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:14:08 ---> be2108008ebc 04:14:08 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:14:09 ---> 9c7e2f5e2fc8 04:14:09 Step 22/27 : EXPOSE 59984 04:14:09 ---> Running in a35a82739a59 04:14:09 Removing intermediate container a35a82739a59 04:14:09 ---> e9319b1fb19d 04:14:09 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:14:09 ---> Running in 2a077a5968df 04:14:09 Removing intermediate container 2a077a5968df 04:14:09 ---> ae83c69e1f8f 04:14:09 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:14:10 ---> Running in 33e4641347e2 04:14:10 Removing intermediate container 33e4641347e2 04:14:10 ---> 0855f4a18667 04:14:10 Step 25/27 : LABEL arch=arm64 04:14:10 ---> Running in 3c802912e860 04:14:10 Removing intermediate container 3c802912e860 04:14:10 ---> 973f900a9ce5 04:14:10 Step 26/27 : LABEL git_sha=58a46464b097f2687050cc69c23bce9f593b5f18 04:14:10 ---> Running in b390af7733ad 04:14:10 Removing intermediate container b390af7733ad 04:14:10 ---> a57885c059a1 04:14:10 Step 27/27 : LABEL version=0.0.0 04:14:11 ---> Running in e82175e6a97c 04:14:11 Removing intermediate container e82175e6a97c 04:14:11 ---> 594105e26246 04:14:11 [Warning] One or more build-args [ARCH] were not consumed 04:14:11 Successfully built 594105e26246 04:14:11 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 04:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:12 04:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:12 arm64: Pulling from edgex-lftools-log-publisher 04:14:12 8998bd30e6a1: Pulling fs layer 04:14:12 04944245beec: Pulling fs layer 04:14:12 699f458cf7ca: Pulling fs layer 04:14:12 765212b225bb: Pulling fs layer 04:14:12 f23df028b6ca: Pulling fs layer 04:14:12 d65c8cfc05b1: Pulling fs layer 04:14:12 2437ff75d9bd: Pulling fs layer 04:14:12 f23df028b6ca: Waiting 04:14:12 d65c8cfc05b1: Waiting 04:14:12 2437ff75d9bd: Waiting 04:14:12 765212b225bb: Waiting 04:14:13 04944245beec: Verifying Checksum 04:14:13 04944245beec: Download complete 04:14:13 765212b225bb: Download complete 04:14:13 f23df028b6ca: Verifying Checksum 04:14:13 f23df028b6ca: Download complete 04:14:13 d65c8cfc05b1: Verifying Checksum 04:14:13 d65c8cfc05b1: Download complete 04:14:13 699f458cf7ca: Verifying Checksum 04:14:13 699f458cf7ca: Download complete 04:14:13 8998bd30e6a1: Verifying Checksum 04:14:13 8998bd30e6a1: Download complete 04:14:16 2437ff75d9bd: Verifying Checksum 04:14:16 2437ff75d9bd: Download complete 04:14:18 8998bd30e6a1: Pull complete 04:14:18 04944245beec: Pull complete 04:14:20 699f458cf7ca: Pull complete 04:14:20 765212b225bb: Pull complete 04:14:21 f23df028b6ca: Pull complete 04:14:21 d65c8cfc05b1: Pull complete 04:14:39 2437ff75d9bd: Pull complete 04:14:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:14:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:14:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-4872 does not seem to be running inside a container 04:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:14:42 $ docker top fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:43 ---> job-cost.sh 04:14:43 lf-activate-venv: SKIPPING 04:14:43 INFO: No Stack... 04:14:44 INFO: Retrieving Pricing Info for: v3-standard-4 04:14:45 INFO: Archiving Costs [Pipeline] sh 04:14:45 + cut -d, -f6 04:14:45 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 04:14:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] 04:14:45 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] did not exist. Created. 04:14:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:14:46 /w/workspace/device-onvif-camera/1@tmp/durable-fe947b68/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:14:47 + echo total: 0.10999999940395355 [Pipeline] stash 04:14:47 Warning: overwriting stash ‘stack-cost’ 04:14:47 Stashed 1 file(s) [Pipeline] } 04:14:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:14:47 $ docker stop --time=1 fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe 04:14:48 $ docker rm -f --volumes fab52cedb4d0e614c89da51100d5f53756b927097838185a111eb642bbadf5fe [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 04:14:50 provisioning config files... 04:14:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config2635435613920916834tmp [Pipeline] { [Pipeline] sh 04:14:50 + set +x 04:14:50 + curl -s https://codecov.io/bash 04:14:50 + bash -s -- 04:14:50 04:14:50 _____ _ 04:14:50 / ____| | | 04:14:50 | | ___ __| | ___ ___ _____ __ 04:14:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:14:50 | |___| (_) | (_| | __/ (_| (_) \ V / 04:14:50 \_____\___/ \__,_|\___|\___\___/ \_/ 04:14:50 Bash-1.0.6 04:14:50 04:14:50 04:14:50 ==> git version 2.25.1 found 04:14:50 ==> 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 04:14:50 Release-Date: 2020-01-08 04:14:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:14:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:14:50 ==> Jenkins CI detected. 04:14:50 current dir:  /w/workspace/undry_device-onvif-camera_PR-442 04:14:50 project root: . 04:14:50 --> token set from env 04:14:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:14:50 ==> Running gcov in . (disable via -X gcov) 04:14:50 ==> Python coveragepy not found 04:14:50 ==> Searching for coverage reports in: 04:14:50 + . 04:14:50 -> Found 1 reports 04:14:50 ==> Detecting git/mercurial file structure 04:14:50 ==> Reading reports 04:14:50 + ./coverage.out bytes=78805 04:14:50 ==> Appending adjustments 04:14:50 https://docs.codecov.io/docs/fixing-reports 04:14:51 + Found adjustments 04:14:51 ==> Gzipping contents 04:14:51 12K /tmp/codecov.e91IUi.gz 04:14:51 ==> Uploading reports 04:14:51 url: https://codecov.io 04:14:51 query: branch=PR-442&commit=58a46464b097f2687050cc69c23bce9f593b5f18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=442&job=&cmd_args= 04:14:51 -> Pinging Codecov 04:14:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-442&commit=58a46464b097f2687050cc69c23bce9f593b5f18&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=442&job=&cmd_args= 04:14:51 -> Uploading to 04:14:51 https://storage.googleapis.com/codecov/v4/raw/2024-07-03/F29A59C45E3A92E06B3E522C9905F8EF/58a46464b097f2687050cc69c23bce9f593b5f18/83ee1ee7-5788-485f-80ee-d473dd5cfaa3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240703%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240703T041451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40003a744e165804c2902f366e2803341677f43a76a9c8a2a1cd69cfc05ca497 04:14:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:14:51 Dload Upload Total Spent Left Speed 04:14:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 37818 --:--:-- --:--:-- --:--:-- 37818 04:14:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/58a46464b097f2687050cc69c23bce9f593b5f18 [Pipeline] } 04:14:51 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 04:14:53 + [ -d /w/workspace/undry_device-onvif-camera_PR-442/archives ] 04:14:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-442/archives 04:14:53 total 16 04:14:53 drwxr-xr-x 3 root root 4096 Jul 3 04:03 . 04:14:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 04:03 .. 04:14:53 drwxr-xr-x 2 root root 4096 Jul 3 04:03 cost 04:14:53 -rw-r--r-- 1 root root 91 Jul 3 04:03 cost.csv 04:14:53 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-442/archives 04:14:53 + ls -al /w/workspace/undry_device-onvif-camera_PR-442/archives 04:14:53 total 16 04:14:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 04:03 . 04:14:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 3 04:03 .. 04:14:53 drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 04:03 cost 04:14:53 -rw-r--r-- 1 jenkins jenkins 91 Jul 3 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:14:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:14:55 ---> package-listing.sh 04:14:55 ++ tr '[:upper:]' '[:lower:]' 04:14:55 ++ facter osfamily 04:14:55 + OS_FAMILY=debian 04:14:55 + workspace=/w/workspace/undry_device-onvif-camera_PR-442 04:14:55 + START_PACKAGES=/tmp/packages_start.txt 04:14:55 + END_PACKAGES=/tmp/packages_end.txt 04:14:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:14:55 + PACKAGES=/tmp/packages_start.txt 04:14:55 + '[' /w/workspace/undry_device-onvif-camera_PR-442 ']' 04:14:55 + PACKAGES=/tmp/packages_end.txt 04:14:55 + case "${OS_FAMILY}" in 04:14:55 + dpkg -l 04:14:55 + grep '^ii' 04:14:55 + '[' -f /tmp/packages_start.txt ']' 04:14:55 + '[' -f /tmp/packages_end.txt ']' 04:14:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:14:55 + '[' /w/workspace/undry_device-onvif-camera_PR-442 ']' 04:14:55 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-442/archives/ 04:14:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-442/archives/ [Pipeline] echo 04:14:55 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:14:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:14:56 prd-ubuntu20.04-docker-8c-8g-4871 does not seem to be running inside a container 04:14:56 $ 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-442/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-442 -v /w/workspace/undry_device-onvif-camera_PR-442:/w/workspace/undry_device-onvif-camera_PR-442:rw,z -v /w/workspace/undry_device-onvif-camera_PR-442@tmp:/w/workspace/undry_device-onvif-camera_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:14:56 $ docker top e3b02673ebbc7deeb8136d85abc53d818b405b36dc61b564b289273a6df9d2c6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:57 + touch /tmp/pre-build-complete [Pipeline] sh 04:14:57 + mkdir -p /var/log/sysstat [Pipeline] sh 04:14:58 + ls /var/log/sa-host 04:14:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:58 provisioning config files... 04:14:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-442@tmp/config11894189685081855955tmp [Pipeline] { [Pipeline] echo 04:14:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:14:58 ---> create-netrc.sh [Pipeline] } 04:14:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:14:59 ---> python-tools-install.sh [Pipeline] echo 04:14:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:14:59 ---> sudo-logs.sh 04:14:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:14:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:14:59 ---> job-cost.sh 04:14:59 lf-activate-venv: SKIPPING 04:14:59 DEBUG: total: 0.2199999988079071 04:14:59 INFO: Retrieving Stack Cost... 04:15:00 INFO: Retrieving Pricing Info for: v3-standard-8 04:15:00 INFO: Archiving Costs [Pipeline] echo 04:15:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:15:00 ---> logs-deploy.sh 04:15:00 lf-activate-venv: SKIPPING 04:15:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-442/1 04:15:00 INFO: archiving workspace using pattern(s): 04:15:01 Archives upload complete. 04:15:01 INFO: archiving logs to Nexus