Pull request #455 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09fb6caff8c4ad7d4cc24efc2709b8887182337f+8926137e1ee1dca90be7e6fe7248a1fca1e6078a (6530ce58bc557daa917545e3e441464793f62e98) 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-ssh12923454663923086043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6975541414370482178.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 f3350a1713306dce7682ed7e37d5774890d03277 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-455/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-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7126550742160744101.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-455/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10601494329268403809.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh9792444216877256668.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-455/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-455/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7272997460833961332.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9358 in /w/workspace/undry_device-onvif-camera_PR-455 [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-455 # 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 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 09fb6caff8c4ad7d4cc24efc2709b8887182337f Merge succeeded, producing 09fb6caff8c4ad7d4cc24efc2709b8887182337f Checking out Revision 09fb6caff8c4ad7d4cc24efc2709b8887182337f (PR-455) 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 f3350a1713306dce7682ed7e37d5774890d03277 > 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/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09fb6caff8c4ad7d4cc24efc2709b8887182337f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09fb6caff8c4ad7d4cc24efc2709b8887182337f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:55:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:55:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:55:45 ========================================================= 03:55:45 EdgeX Global Pipelines Version Info 03:55:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:55:46 ------------------- 03:55:46 stable info: 03:55:46 ------------------- 03:55:46 Commited By: Cherry Wang cherry@iotechsys.com 03:55:46 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:55:46 Message: update stable to v1.0.263 03:55:46 ------------------- 03:55:46 experimental info: 03:55:46 ------------------- 03:55:46 Commited By: Cherry Wang cherry@iotechsys.com 03:55:46 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 03:55:46 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:55:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-455 [Pipeline] echo 03:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-455 [Pipeline] echo 03:55:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-455 [Pipeline] echo 03:55:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] echo 03:55:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09fb6ca [Pipeline] echo 03:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:49 provisioning config files... 03:55:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-455@tmp/config4178006527355975191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:49 ---> ****-login.sh 03:55:49 nexus3.edgexfoundry.org:10001 03:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:50 Configure a credential helper to remove this warning. See 03:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:50 03:55:50 Login Succeeded 03:55:50 nexus3.edgexfoundry.org:10002 03:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:50 Configure a credential helper to remove this warning. See 03:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:50 03:55:50 Login Succeeded 03:55:50 nexus3.edgexfoundry.org:10003 03:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:50 Configure a credential helper to remove this warning. See 03:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:50 03:55:50 Login Succeeded 03:55:50 nexus3.edgexfoundry.org:10004 03:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:50 Configure a credential helper to remove this warning. See 03:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:50 03:55:50 Login Succeeded 03:55:50 ****.io 03:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:55:50 Configure a credential helper to remove this warning. See 03:55:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:55:50 03:55:50 Login Succeeded 03:55:50 ---> ****-login.sh ends [Pipeline] } 03:55:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:55:51 + git rev-list -1 --merges 09fb6caff8c4ad7d4cc24efc2709b8887182337f~1..09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] echo 03:55:51 -----------> git rev-list -1 --merges 09fb6caff8c4ad7d4cc24efc2709b8887182337f~1..09fb6caff8c4ad7d4cc24efc2709b8887182337f 09fb6caff8c4ad7d4cc24efc2709b8887182337f [false] [Pipeline] sh 03:55:52 + git log --format=format:%s -1 09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] echo 03:55:52 ========================================================= 03:55:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:55:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:52 + git log --format=format:%s -1 09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] echo 03:55:52 [semverPrep] GIT_COMMIT: 09fb6caff8c4ad7d4cc24efc2709b8887182337f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:55:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:55:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:55:53 + grep -v github /etc/ssh/ssh_known_hosts 03:55:53 + [ -e /tmp/ssh_known_hosts ] 03:55:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:55:53 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:55:53 sudo tee -a /etc/ssh/ssh_known_hosts 03:55:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:53 03:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:54 0.1.4: Pulling from edgex-devops/py-git-semver 03:55:54 b85a868b505f: Pulling fs layer 03:55:54 e2be974225ed: Pulling fs layer 03:55:54 339a4e72a1f5: Pulling fs layer 03:55:54 988bab9f4d93: Pulling fs layer 03:55:54 1469e6f7b9e6: Pulling fs layer 03:55:54 eaf3925da568: Pulling fs layer 03:55:54 bab4dde63d76: Pulling fs layer 03:55:54 bde34c3a00c8: Pulling fs layer 03:55:54 b352a97aabf1: Pulling fs layer 03:55:54 1469e6f7b9e6: Waiting 03:55:54 988bab9f4d93: Waiting 03:55:54 4872d77fe225: Pulling fs layer 03:55:54 bde34c3a00c8: Waiting 03:55:54 b352a97aabf1: Waiting 03:55:54 5851b861e8e6: Pulling fs layer 03:55:54 eaf3925da568: Waiting 03:55:54 bab4dde63d76: Waiting 03:55:54 4872d77fe225: Waiting 03:55:54 e2be974225ed: Download complete 03:55:54 988bab9f4d93: Verifying Checksum 03:55:54 988bab9f4d93: Download complete 03:55:54 1469e6f7b9e6: Verifying Checksum 03:55:54 1469e6f7b9e6: Download complete 03:55:54 eaf3925da568: Verifying Checksum 03:55:54 eaf3925da568: Download complete 03:55:54 339a4e72a1f5: Verifying Checksum 03:55:54 339a4e72a1f5: Download complete 03:55:54 b352a97aabf1: Download complete 03:55:54 4872d77fe225: Verifying Checksum 03:55:54 4872d77fe225: Download complete 03:55:54 5851b861e8e6: Download complete 03:55:54 b85a868b505f: Download complete 03:55:54 bab4dde63d76: Verifying Checksum 03:55:54 bab4dde63d76: Download complete 03:55:55 b85a868b505f: Pull complete 03:55:55 e2be974225ed: Pull complete 03:55:56 339a4e72a1f5: Pull complete 03:55:56 988bab9f4d93: Pull complete 03:55:56 1469e6f7b9e6: Pull complete 03:55:56 eaf3925da568: Pull complete 03:55:58 bab4dde63d76: Pull complete 03:55:58 bde34c3a00c8: Pull complete 03:55:58 b352a97aabf1: Pull complete 03:55:58 4872d77fe225: Pull complete 03:55:58 5851b861e8e6: Pull complete 03:55:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:55:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:58 prd-ubuntu20.04-docker-8c-8g-9358 does not seem to be running inside a container 03:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-455 -v /w/workspace/undry_device-onvif-camera_PR-455:/w/workspace/undry_device-onvif-camera_PR-455:rw,z -v /w/workspace/undry_device-onvif-camera_PR-455@tmp:/w/workspace/undry_device-onvif-camera_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:56:01 $ docker top 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 -eo pid,comm 03:56:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:56:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:56:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:02 [ssh-agent] Looking for ssh-agent implementation... 03:56:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:02 $ docker exec 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 ssh-agent 03:56:02 SSH_AUTH_SOCK=/tmp/ssh-egBOmABv97dE/agent.32 03:56:02 SSH_AGENT_PID=38 03:56:02 Running ssh-add (command line suppressed) 03:56:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-455@tmp/private_key_15718325374074110655.key (/w/workspace/undry_device-onvif-camera_PR-455@tmp/private_key_15718325374074110655.key) 03:56:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:02 + git tag --points-at HEAD [Pipeline] } 03:56:02 $ docker exec --env ******** --env ******** 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 ssh-agent -k 03:56:03 unset SSH_AUTH_SOCK; 03:56:03 unset SSH_AGENT_PID; 03:56:03 echo Agent pid 38 killed; 03:56:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:56:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:03 [ssh-agent] Looking for ssh-agent implementation... 03:56:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:03 $ docker exec 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 ssh-agent 03:56:03 SSH_AUTH_SOCK=/tmp/ssh-HN7DGJAwTLwb/agent.71 03:56:03 SSH_AGENT_PID=77 03:56:03 Running ssh-add (command line suppressed) 03:56:03 Identity added: /w/workspace/undry_device-onvif-camera_PR-455@tmp/private_key_4990752967207445251.key (/w/workspace/undry_device-onvif-camera_PR-455@tmp/private_key_4990752967207445251.key) 03:56:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:03 + git semver init 03:56:04 2024-09-04 03:56:03,987 [run_init] DEBUG init version:0.0.0 force:False 03:56:04 2024-09-04 03:56:03,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-455/.semver 03:56:04 2024-09-04 03:56:03,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-455/.semver 03:56:04 2024-09-04 03:56:03,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-455/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-455, universal_newlines=False, shell=None, istream=None) 03:56:05 2024-09-04 03:56:05,287 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-455/.git/info/exclude 03:56:05 2024-09-04 03:56:05,287 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-455/.semver/PR-455 with force:False 03:56:05 2024-09-04 03:56:05,287 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-455/.semver/PR-455 03:56:05 2024-09-04 03:56:05,291 [execute] INFO git cat-file --batch-check 03:56:05 2024-09-04 03:56:05,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-455/.semver, universal_newlines=False, shell=None, istream=) 03:56:05 2024-09-04 03:56:05,297 [execute] INFO git cat-file --batch 03:56:05 2024-09-04 03:56:05,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-455/.semver, universal_newlines=False, shell=None, istream=) 03:56:05 2024-09-04 03:56:05,303 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-455/.semver/PR-455 03:56:05 0.0.0 [Pipeline] } 03:56:05 $ docker exec --env ******** --env ******** 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 ssh-agent -k 03:56:05 unset SSH_AUTH_SOCK; 03:56:05 unset SSH_AGENT_PID; 03:56:05 echo Agent pid 77 killed; 03:56:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:56:06 + git semver [Pipeline] } 03:56:06 $ docker stop --time=1 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 03:56:07 $ docker rm -f --volumes 86472998efba0555113437f4d6083cd6ac7ee397330424a8e2ed5c2b0884bb64 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:56:08 Stashed 1 file(s) [Pipeline] echo 03:56:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:09 provisioning config files... 03:56:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-455@tmp/config10495999988032387737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:09 ---> ****-login.sh 03:56:09 nexus3.edgexfoundry.org:10001 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 nexus3.edgexfoundry.org:10002 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 nexus3.edgexfoundry.org:10003 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 nexus3.edgexfoundry.org:10004 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 ****.io 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:56:10 Configure a credential helper to remove this warning. See 03:56:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:56:10 03:56:10 Login Succeeded 03:56:10 ---> ****-login.sh ends [Pipeline] } 03:56:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:56:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:56:10 ========================================================= 03:56:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:56:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:56:11 Sending build context to Docker daemon 36.65MB 03:56:11 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:56:11 Step 2/13 : FROM ${BASE} AS builder 03:56:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:56:11 619be1103602: Pulling fs layer 03:56:11 7862e08f4a3e: Pulling fs layer 03:56:11 5df492c9dc93: Pulling fs layer 03:56:11 7629e6793208: Pulling fs layer 03:56:11 4f4fb700ef54: Pulling fs layer 03:56:11 fb5054dd5b73: Pulling fs layer 03:56:11 eeca6798cff9: Pulling fs layer 03:56:11 aa269ceb94a6: Pulling fs layer 03:56:11 4f4fb700ef54: Waiting 03:56:11 fb5054dd5b73: Waiting 03:56:11 7629e6793208: Waiting 03:56:11 eeca6798cff9: Waiting 03:56:11 ada007ff1a6a: Pulling fs layer 03:56:11 7862e08f4a3e: Download complete 03:56:11 7629e6793208: Verifying Checksum 03:56:11 7629e6793208: Download complete 03:56:11 4f4fb700ef54: Download complete 03:56:11 619be1103602: Verifying Checksum 03:56:11 619be1103602: Download complete 03:56:11 fb5054dd5b73: Verifying Checksum 03:56:11 fb5054dd5b73: Download complete 03:56:11 eeca6798cff9: Verifying Checksum 03:56:11 eeca6798cff9: Download complete 03:56:11 619be1103602: Pull complete 03:56:11 ada007ff1a6a: Verifying Checksum 03:56:11 ada007ff1a6a: Download complete 03:56:11 7862e08f4a3e: Pull complete 03:56:11 5df492c9dc93: Verifying Checksum 03:56:11 5df492c9dc93: Download complete 03:56:12 aa269ceb94a6: Verifying Checksum 03:56:12 aa269ceb94a6: Download complete 03:56:14 5df492c9dc93: Pull complete 03:56:14 7629e6793208: Pull complete 03:56:14 4f4fb700ef54: Pull complete 03:56:14 fb5054dd5b73: Pull complete 03:56:14 eeca6798cff9: Pull complete 03:56:17 aa269ceb94a6: Pull complete 03:56:17 ada007ff1a6a: Pull complete 03:56:17 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:56:17 ---> f489d0715acc 03:56:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:56:21 ---> Running in 35de4a40ec04 03:56:21 Removing intermediate container 35de4a40ec04 03:56:21 ---> 0a89e043bfc3 03:56:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:56:21 ---> Running in a7ce8da02b1b 03:56:21 Removing intermediate container a7ce8da02b1b 03:56:21 ---> 3315292ff4ea 03:56:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:56:21 ---> Running in e791f111a763 03:56:22 Removing intermediate container e791f111a763 03:56:22 ---> 4216904736f6 03:56:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:56:22 ---> Running in 389e5de52aca 03:56:22 Removing intermediate container 389e5de52aca 03:56:22 ---> c4d61175aaf7 03:56:22 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:56:22 ---> Running in 61d0720e41b2 03:56:22 Removing intermediate container 61d0720e41b2 03:56:22 ---> c1731d58241c 03:56:22 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:22 ---> Running in 220082d777b6 03:56:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:56:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:56:22 OK: 264 MiB in 52 packages 03:56:23 Removing intermediate container 220082d777b6 03:56:23 ---> 2d319ae9a05b 03:56:23 Step 9/13 : WORKDIR /device-onvif-camera 03:56:23 ---> Running in 8a8f69dd648b 03:56:23 Removing intermediate container 8a8f69dd648b 03:56:23 ---> 43acfbfa9941 03:56:23 Step 10/13 : COPY go.mod vendor* ./ 03:56:23 ---> a7ab4dd94533 03:56:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:23 ---> Running in 7f6c73ca57e9 03:56:24 Still waiting to schedule task 03:56:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:57:19 Removing intermediate container 7f6c73ca57e9 03:57:19 ---> 8e406c541457 03:57:19 Step 12/13 : COPY . . 03:57:19 ---> 850493ffb12b 03:57:19 Step 13/13 : RUN ${MAKE} 03:57:19 ---> Running in 40fadb24c975 03:57:19 noop 03:57:19 Removing intermediate container 40fadb24c975 03:57:19 ---> 3cc8edada69c 03:57:19 Successfully built 3cc8edada69c 03:57:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:20 + docker inspect -f . ci-base-image-x86_64 03:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:20 prd-ubuntu20.04-docker-8c-8g-9358 does not seem to be running inside a container 03:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-455 -v /w/workspace/undry_device-onvif-camera_PR-455:/w/workspace/undry_device-onvif-camera_PR-455:rw,z -v /w/workspace/undry_device-onvif-camera_PR-455@tmp:/w/workspace/undry_device-onvif-camera_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:57:20 $ docker top 2d56d70db9a9e601107d744d75526074b4a7bcca71d54e295d05a1e29ecaab31 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:21 + go version 03:57:21 go version go1.21.9 linux/amd64 [Pipeline] } 03:57:21 $ docker stop --time=1 2d56d70db9a9e601107d744d75526074b4a7bcca71d54e295d05a1e29ecaab31 03:57:22 $ docker rm -f --volumes 2d56d70db9a9e601107d744d75526074b4a7bcca71d54e295d05a1e29ecaab31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:23 + docker inspect -f . ci-base-image-x86_64 03:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:23 prd-ubuntu20.04-docker-8c-8g-9358 does not seem to be running inside a container 03:57:23 $ 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-455 -v /w/workspace/undry_device-onvif-camera_PR-455:/w/workspace/undry_device-onvif-camera_PR-455:rw,z -v /w/workspace/undry_device-onvif-camera_PR-455@tmp:/w/workspace/undry_device-onvif-camera_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:57:24 $ docker top 4490727b15186d8ee930b32a79c0a6d3060fdb622d1083c3990e2f3aa10a2be5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:24 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-455 [Pipeline] fileExists [Pipeline] sh 03:57:24 + make test 03:57:24 go test ./... -coverprofile=coverage.out ./... 03:57:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:57:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:57:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:57:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.026s coverage: 31.4% of statements 03:57:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.276s coverage: 86.5% of statements 03:57:55 go vet ./... 03:58:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:58:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:58:00 ./bin/test-attribution-txt.sh 03:58:00 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 03:58:00 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 03:58:00 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 03:58:00 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 03:58:00 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 03:58:00 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 03:58:00 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 03:58:00 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 03:58:00 An attribution for golang.org/x/term is missing from Attribution.txt, please add 03:58:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 03:58:00 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 03:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:58:00 $ docker stop --time=1 4490727b15186d8ee930b32a79c0a6d3060fdb622d1083c3990e2f3aa10a2be5 03:58:05 $ docker rm -f --volumes 4490727b15186d8ee930b32a79c0a6d3060fdb622d1083c3990e2f3aa10a2be5 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:58:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:58:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:58:07 + ls -al . 03:58:07 total 312 03:58:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 4 03:57 . 03:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:55 .. 03:58:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 03:57 .git 03:58:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 03:55 .github 03:58:07 -rw-rw-r-- 1 jenkins jenkins 493 Sep 4 03:55 .gitignore 03:58:07 -rw-rw-r-- 1 jenkins jenkins 42 Sep 4 03:55 .golangci.yml 03:58:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 03:56 .semver 03:58:07 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 4 03:55 Attribution.txt 03:58:07 -rw-rw-r-- 1 jenkins jenkins 17665 Sep 4 03:55 CHANGELOG.md 03:58:07 -rw-rw-r-- 1 jenkins jenkins 1683 Sep 4 03:55 Dockerfile 03:58:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 03:55 GOVERNANCE.md 03:58:07 -rw-rw-r-- 1 jenkins jenkins 739 Sep 4 03:55 Jenkinsfile 03:58:07 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 4 03:55 LICENSE 03:58:07 -rw-rw-r-- 1 jenkins jenkins 2883 Sep 4 03:55 Makefile 03:58:07 -rw-rw-r-- 1 jenkins jenkins 625 Sep 4 03:55 OWNERS.md 03:58:07 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 4 03:55 README.md 03:58:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 4 03:56 VERSION 03:58:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 03:55 bin 03:58:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 03:55 cmd 03:58:07 -rw-r--r-- 1 jenkins jenkins 78805 Sep 4 03:57 coverage.out 03:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:55 doc 03:58:07 -rw-rw-r-- 1 jenkins jenkins 7331 Sep 4 03:55 go.mod 03:58:07 -rw-rw-r-- 1 jenkins jenkins 102413 Sep 4 03:55 go.sum 03:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:55 internal 03:58:07 -rw-rw-r-- 1 jenkins jenkins 236 Sep 4 03:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:23 + 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=09fb6caff8c4ad7d4cc24efc2709b8887182337f --label arch=amd64 --label version=0.0.0 . 03:58:23 Sending build context to Docker daemon 36.73MB 03:58:23 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 03:58:23 Step 2/27 : FROM ${BASE} AS builder 03:58:23 ---> 3cc8edada69c 03:58:23 Step 3/27 : ARG ADD_BUILD_TAGS="" 03:58:24 ---> Running in 0147cc700640 03:58:24 Removing intermediate container 0147cc700640 03:58:24 ---> 289bd185fd8b 03:58:24 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:24 ---> Running in 0fc8bde19a44 03:58:24 Removing intermediate container 0fc8bde19a44 03:58:24 ---> 2f4b17a103c8 03:58:24 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 03:58:24 ---> Running in a768c675a609 03:58:24 Removing intermediate container a768c675a609 03:58:24 ---> f349af52651d 03:58:24 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 03:58:24 ---> Running in ebd93a829b82 03:58:24 Removing intermediate container ebd93a829b82 03:58:24 ---> 69e4c1bd62f7 03:58:24 Step 7/27 : LABEL Name=edgex-device-onvif-camera 03:58:24 ---> Running in 917a7064d514 03:58:24 Removing intermediate container 917a7064d514 03:58:24 ---> d8ba6f8c22ff 03:58:24 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:24 ---> Running in 2ae4148f7475 03:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:58:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:58:24 OK: 264 MiB in 52 packages 03:58:25 Removing intermediate container 2ae4148f7475 03:58:25 ---> 25d4e9d84d0f 03:58:25 Step 9/27 : WORKDIR /device-onvif-camera 03:58:25 ---> Running in a8a99ed4d1d0 03:58:25 Removing intermediate container a8a99ed4d1d0 03:58:25 ---> 40b71fb4bac6 03:58:25 Step 10/27 : COPY go.mod vendor* ./ 03:58:25 ---> afd6fd717872 03:58:25 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:25 ---> Running in 2f9ca91207a0 03:58:26 Removing intermediate container 2f9ca91207a0 03:58:26 ---> 000036de719d 03:58:26 Step 12/27 : COPY . . 03:58:28 ---> 5e6dd82fa6c0 03:58:28 Step 13/27 : RUN ${MAKE} 03:58:28 ---> Running in c79ca40e3949 03:58:28 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.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:59:06 Removing intermediate container c79ca40e3949 03:59:06 ---> 422e6907d15a 03:59:06 Step 14/27 : FROM alpine:3.18 03:59:06 3.18: Pulling from library/alpine 03:59:06 930bdd4d222e: Pulling fs layer 03:59:06 930bdd4d222e: Verifying Checksum 03:59:06 930bdd4d222e: Download complete 03:59:06 930bdd4d222e: Pull complete 03:59:06 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:59:06 Status: Downloaded newer image for alpine:3.18 03:59:06 ---> 18f865063206 03:59:06 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 03:59:06 ---> Running in 3922219ead50 03:59:06 Removing intermediate container 3922219ead50 03:59:06 ---> ac4a2ea87d82 03:59:06 Step 16/27 : RUN apk add --update --no-cache dumb-init 03:59:06 ---> Running in 3439b48c48c6 03:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:59:07 (1/1) Installing dumb-init (1.2.5-r2) 03:59:07 Executing busybox-1.36.1-r7.trigger 03:59:07 OK: 7 MiB in 16 packages 03:59:07 Removing intermediate container 3439b48c48c6 03:59:07 ---> 5e79b6c4ba4e 03:59:07 Step 17/27 : RUN apk --no-cache upgrade 03:59:07 ---> Running in d13f0006f5e4 03:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:59:08 OK: 7 MiB in 16 packages 03:59:08 Removing intermediate container d13f0006f5e4 03:59:08 ---> f21ad997d89d 03:59:08 Step 18/27 : WORKDIR / 03:59:08 ---> Running in b23663edc752 03:59:09 Removing intermediate container b23663edc752 03:59:09 ---> 3cd79828f758 03:59:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 03:59:11 ---> 79e0249b5a3f 03:59:11 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 03:59:11 ---> 0e32e9a84709 03:59:11 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:59:11 ---> 98def3fe6381 03:59:11 Step 22/27 : EXPOSE 59984 03:59:11 ---> Running in f504d1d6ba68 03:59:11 Removing intermediate container f504d1d6ba68 03:59:11 ---> 605ac6af3d83 03:59:11 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 03:59:11 ---> Running in cc2bee68d63d 03:59:11 Removing intermediate container cc2bee68d63d 03:59:11 ---> 9625ce1c1b37 03:59:11 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:59:11 ---> Running in c3c0ea9413cd 03:59:11 Removing intermediate container c3c0ea9413cd 03:59:11 ---> 5a3d93a2c5ab 03:59:11 Step 25/27 : LABEL arch=amd64 03:59:11 ---> Running in 1143467e3a46 03:59:11 Removing intermediate container 1143467e3a46 03:59:11 ---> 0247db29e3a5 03:59:11 Step 26/27 : LABEL git_sha=09fb6caff8c4ad7d4cc24efc2709b8887182337f 03:59:11 ---> Running in 04e6907b0a20 03:59:11 Removing intermediate container 04e6907b0a20 03:59:11 ---> cbfc8bdb353b 03:59:11 Step 27/27 : LABEL version=0.0.0 03:59:11 ---> Running in ed9a1e390cb4 03:59:12 Removing intermediate container ed9a1e390cb4 03:59:12 ---> c6fadbb51cfe 03:59:12 [Warning] One or more build-args [ARCH] were not consumed 03:59:12 Successfully built c6fadbb51cfe 03:59:12 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:13 03:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:14 latest: Pulling from edgex-lftools-log-publisher 03:59:14 5eb5b503b376: Pulling fs layer 03:59:14 5c69ac0246d0: Pulling fs layer 03:59:14 ec43610c2a17: Pulling fs layer 03:59:14 3a2ae6a8a46f: Pulling fs layer 03:59:14 33b1e0a273af: Pulling fs layer 03:59:14 5d3b04190fa2: Pulling fs layer 03:59:14 2f39f015ded8: Pulling fs layer 03:59:14 3a2ae6a8a46f: Waiting 03:59:14 33b1e0a273af: Waiting 03:59:14 5d3b04190fa2: Waiting 03:59:14 2f39f015ded8: Waiting 03:59:14 5c69ac0246d0: Verifying Checksum 03:59:14 5c69ac0246d0: Download complete 03:59:14 3a2ae6a8a46f: Verifying Checksum 03:59:14 3a2ae6a8a46f: Download complete 03:59:14 33b1e0a273af: Verifying Checksum 03:59:14 33b1e0a273af: Download complete 03:59:14 5d3b04190fa2: Download complete 03:59:14 ec43610c2a17: Verifying Checksum 03:59:14 ec43610c2a17: Download complete 03:59:14 5eb5b503b376: Verifying Checksum 03:59:14 5eb5b503b376: Download complete 03:59:15 2f39f015ded8: Verifying Checksum 03:59:15 2f39f015ded8: Download complete 03:59:16 5eb5b503b376: Pull complete 03:59:16 5c69ac0246d0: Pull complete 03:59:16 ec43610c2a17: Pull complete 03:59:16 3a2ae6a8a46f: Pull complete 03:59:17 33b1e0a273af: Pull complete 03:59:17 5d3b04190fa2: Pull complete 03:59:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9362 in /w/workspace/undry_device-onvif-camera_PR-455 [Pipeline] { [Pipeline] ws 03:59:18 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:59:21 The recommended git tool is: git 03:59:22 2f39f015ded8: Pull complete 03:59:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:59:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:23 prd-ubuntu20.04-docker-8c-8g-9358 does not seem to be running inside a container 03:59:23 $ 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-455 -v /w/workspace/undry_device-onvif-camera_PR-455:/w/workspace/undry_device-onvif-camera_PR-455:rw,z -v /w/workspace/undry_device-onvif-camera_PR-455@tmp:/w/workspace/undry_device-onvif-camera_PR-455@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:59:29 using credential edgex-jenkins-ssh 03:59:29 Cloning the remote Git repository 03:59:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:59:29 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:59:30 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:59:30 > git --version # timeout=10 03:59:30 > git --version # 'git version 2.25.1' 03:59:30 using GIT_SSH to set credentials SSH Credentials for GitHub 03:59:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:59:31 $ docker top 5a204bc8140b9d495363d1be22bfcf34a35f42a23abca2c1a84b351c7d4505cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:32 ---> job-cost.sh 03:59:32 lf-activate-venv: SKIPPING 03:59:32 INFO: No Stack... 03:59:32 INFO: Retrieving Pricing Info for: v3-standard-8 03:59:33 INFO: Archiving Costs [Pipeline] sh 03:59:33 + cat /w/workspace/undry_device-onvif-camera_PR-455/archives/cost.csv 03:59:33 + cut -d, -f6 [Pipeline] lock 03:59:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] 03:59:33 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] did not exist. Created. 03:59:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:59:32 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:59:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:59:33 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:59:33 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:59:33 using GIT_SSH to set credentials SSH Credentials for GitHub 03:59:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/455/head:refs/remotes/origin/PR-455 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:59:34 + echo total: 0.2199999988079071 [Pipeline] stash 03:59:34 Stashed 1 file(s) 03:59:34 Merging remotes/origin/main commit 8926137e1ee1dca90be7e6fe7248a1fca1e6078a into PR head commit 09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] } 03:59:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:59:34 $ docker stop --time=1 5a204bc8140b9d495363d1be22bfcf34a35f42a23abca2c1a84b351c7d4505cd 03:59:34 Merge succeeded, producing 09fb6caff8c4ad7d4cc24efc2709b8887182337f 03:59:34 Checking out Revision 09fb6caff8c4ad7d4cc24efc2709b8887182337f (PR-455) 03:59:34 > git config core.sparsecheckout # timeout=10 03:59:34 > git checkout -f 09fb6caff8c4ad7d4cc24efc2709b8887182337f # timeout=10 03:59:34 > git remote # timeout=10 03:59:34 > git config --get remote.origin.url # timeout=10 03:59:34 using GIT_SSH to set credentials SSH Credentials for GitHub 03:59:34 > git merge 8926137e1ee1dca90be7e6fe7248a1fca1e6078a # timeout=10 03:59:34 > git rev-parse HEAD^{commit} # timeout=10 03:59:34 > git config core.sparsecheckout # timeout=10 03:59:34 > git checkout -f 09fb6caff8c4ad7d4cc24efc2709b8887182337f # timeout=10 03:59:35 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:59:35 > git --version # timeout=10 03:59:35 > git --version # 'git version 2.25.1' 03:59:35 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 03:59:36 $ docker rm -f --volumes 5a204bc8140b9d495363d1be22bfcf34a35f42a23abca2c1a84b351c7d4505cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:59:40 % Total % Received % Xferd Average Speed Time Time Time Current 03:59:40 Dload Upload Total Spent Left Speed 03:59:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 84953 0 --:--:-- --:--:-- --:--:-- 84953 [Pipeline] sh 03:59:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:59:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:59:41 + sudo tee /etc/docker/daemon.new 03:59:41 { 03:59:41 "registry-mirrors": [ 03:59:41 "https://nexus3.edgexfoundry.org:10001" 03:59:41 ], 03:59:41 "bip": "10.250.0.254/24", 03:59:41 "hosts": [ 03:59:41 "tcp://0.0.0.0:5555", 03:59:41 "unix:///var/run/docker.sock" 03:59:41 ], 03:59:41 "mtu": 1458, 03:59:41 "selinux-enabled": true, 03:59:41 "seccomp-profile": "/etc/docker/seccomp.json" 03:59:41 } [Pipeline] sh 03:59:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:59:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:00 provisioning config files... 04:00:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2374879871242232283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:01 ---> ****-login.sh 04:00:01 nexus3.edgexfoundry.org:10001 04:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:01 Configure a credential helper to remove this warning. See 04:00:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:01 04:00:01 Login Succeeded 04:00:01 nexus3.edgexfoundry.org:10002 04:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:02 Configure a credential helper to remove this warning. See 04:00:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:02 04:00:02 Login Succeeded 04:00:02 nexus3.edgexfoundry.org:10003 04:00:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:02 Configure a credential helper to remove this warning. See 04:00:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:02 04:00:02 Login Succeeded 04:00:02 nexus3.edgexfoundry.org:10004 04:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:03 Configure a credential helper to remove this warning. See 04:00:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:03 04:00:03 Login Succeeded 04:00:03 ****.io 04:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:00:06 Configure a credential helper to remove this warning. See 04:00:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:00:06 04:00:06 Login Succeeded 04:00:06 ---> ****-login.sh ends [Pipeline] } 04:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:00:07 ========================================================= 04:00:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:00:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:08 + 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:00:08 Sending build context to Docker daemon 21.73MB 04:00:08 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 04:00:08 Step 2/13 : FROM ${BASE} AS builder 04:00:09 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:00:09 c6b39de5b339: Pulling fs layer 04:00:09 a69c41024577: Pulling fs layer 04:00:09 d6de4b400683: Pulling fs layer 04:00:09 35cb2a7552d0: Pulling fs layer 04:00:09 4f4fb700ef54: Pulling fs layer 04:00:09 464afbd9ba4c: Pulling fs layer 04:00:09 35cb2a7552d0: Waiting 04:00:09 4f4fb700ef54: Waiting 04:00:09 464afbd9ba4c: Waiting 04:00:09 00f215d4a9da: Pulling fs layer 04:00:09 00f215d4a9da: Waiting 04:00:09 d496ad576159: Pulling fs layer 04:00:09 d496ad576159: Waiting 04:00:09 a69c41024577: Verifying Checksum 04:00:09 a69c41024577: Download complete 04:00:09 35cb2a7552d0: Verifying Checksum 04:00:09 35cb2a7552d0: Download complete 04:00:09 4f4fb700ef54: Verifying Checksum 04:00:09 4f4fb700ef54: Download complete 04:00:09 c6b39de5b339: Verifying Checksum 04:00:09 c6b39de5b339: Download complete 04:00:09 464afbd9ba4c: Verifying Checksum 04:00:09 464afbd9ba4c: Download complete 04:00:09 d496ad576159: Verifying Checksum 04:00:09 d496ad576159: Download complete 04:00:10 c6b39de5b339: Pull complete 04:00:10 a69c41024577: Pull complete 04:00:10 d6de4b400683: Verifying Checksum 04:00:10 d6de4b400683: Download complete 04:00:11 00f215d4a9da: Verifying Checksum 04:00:11 00f215d4a9da: Download complete 04:00:24 d6de4b400683: Pull complete 04:00:24 35cb2a7552d0: Pull complete 04:00:24 4f4fb700ef54: Pull complete 04:00:24 464afbd9ba4c: Pull complete 04:00:34 00f215d4a9da: Pull complete 04:00:35 d496ad576159: Pull complete 04:00:35 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:00:35 ---> f246e2811388 04:00:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:00:37 ---> Running in c83405481153 04:00:37 Removing intermediate container c83405481153 04:00:37 ---> 3471ce5d3432 04:00:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:37 ---> Running in 16b12b05b154 04:00:37 Removing intermediate container 16b12b05b154 04:00:37 ---> 56c3916c8e17 04:00:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:00:37 ---> Running in cc428299f24f 04:00:37 Removing intermediate container cc428299f24f 04:00:37 ---> 76dabb9dfe58 04:00:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:00:38 ---> Running in 7f9468162069 04:00:38 Removing intermediate container 7f9468162069 04:00:38 ---> cf80ed2d80e6 04:00:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:00:38 ---> Running in ed9d0f190a9b 04:00:38 Removing intermediate container ed9d0f190a9b 04:00:38 ---> 8b9ba7846591 04:00:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:38 ---> Running in c24ed6507aa6 04:00:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:00:41 OK: 266 MiB in 52 packages 04:00:41 Removing intermediate container c24ed6507aa6 04:00:41 ---> fbb915476050 04:00:41 Step 9/13 : WORKDIR /device-onvif-camera 04:00:41 ---> Running in 2f8c3b610a84 04:00:42 Removing intermediate container 2f8c3b610a84 04:00:42 ---> cfb8f4ba1815 04:00:42 Step 10/13 : COPY go.mod vendor* ./ 04:00:42 ---> a82c6b9c654d 04:00:42 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:42 ---> Running in 53253d152d28 04:02:38 Removing intermediate container 53253d152d28 04:02:38 ---> 9b85a2d92c75 04:02:38 Step 12/13 : COPY . . 04:02:38 ---> befc40c4cb46 04:02:38 Step 13/13 : RUN ${MAKE} 04:02:38 ---> Running in 6197f9059809 04:02:38 noop 04:02:38 Removing intermediate container 6197f9059809 04:02:38 ---> 2ce3a7881440 04:02:38 Successfully built 2ce3a7881440 04:02:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:39 + docker inspect -f . ci-base-image-arm64 04:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:39 prd-ubuntu20.04-docker-arm64-4c-16g-9362 does not seem to be running inside a container 04:02:39 $ 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:02:41 $ docker top 313dafd35579a5bb02b5956969b5179b7a6dbd63a537278f9febcf0f68995ab2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:42 + go version 04:02:42 go version go1.21.9 linux/arm64 [Pipeline] } 04:02:42 $ docker stop --time=1 313dafd35579a5bb02b5956969b5179b7a6dbd63a537278f9febcf0f68995ab2 04:02:43 $ docker rm -f --volumes 313dafd35579a5bb02b5956969b5179b7a6dbd63a537278f9febcf0f68995ab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:44 + docker inspect -f . ci-base-image-arm64 04:02:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:45 prd-ubuntu20.04-docker-arm64-4c-16g-9362 does not seem to be running inside a container 04:02:45 $ 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:02:46 $ docker top 8e0c478c7df0214cfc2e41a501f757f48278c43cdc50aee61a4a8fbcd558a863 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:47 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:02:48 + make test 04:02:48 go test ./... -coverprofile=coverage.out ./... 04:02:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:06:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:06:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:06:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.159s coverage: 31.4% of statements 04:06:48 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.167s coverage: 86.5% of statements 04:06:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:06:48 go vet ./... 04:07:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:07:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:07:36 ./bin/test-attribution-txt.sh 04:07:36 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 04:07:36 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 04:07:36 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 04:07:36 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 04:07:36 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 04:07:36 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 04:07:36 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 04:07:36 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 04:07:36 An attribution for golang.org/x/term is missing from Attribution.txt, please add 04:07:36 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 04:07:36 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 04:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:07:36 $ docker stop --time=1 8e0c478c7df0214cfc2e41a501f757f48278c43cdc50aee61a4a8fbcd558a863 04:07:38 $ docker rm -f --volumes 8e0c478c7df0214cfc2e41a501f757f48278c43cdc50aee61a4a8fbcd558a863 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:07:40 Warning: overwriting stash ‘coverage-report’ 04:07:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:07:42 + ls -al . 04:07:42 total 308 04:07:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 04:02 . 04:07:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:59 .. 04:07:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 4 03:59 .git 04:07:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 03:59 .github 04:07:42 -rw-rw-r-- 1 jenkins jenkins 493 Sep 4 03:59 .gitignore 04:07:42 -rw-rw-r-- 1 jenkins jenkins 42 Sep 4 03:59 .golangci.yml 04:07:42 -rw-rw-r-- 1 jenkins jenkins 11155 Sep 4 03:59 Attribution.txt 04:07:42 -rw-rw-r-- 1 jenkins jenkins 17665 Sep 4 03:59 CHANGELOG.md 04:07:42 -rw-rw-r-- 1 jenkins jenkins 1683 Sep 4 03:59 Dockerfile 04:07:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 4 03:59 GOVERNANCE.md 04:07:42 -rw-rw-r-- 1 jenkins jenkins 739 Sep 4 03:59 Jenkinsfile 04:07:42 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 4 03:59 LICENSE 04:07:42 -rw-rw-r-- 1 jenkins jenkins 2883 Sep 4 03:59 Makefile 04:07:42 -rw-rw-r-- 1 jenkins jenkins 625 Sep 4 03:59 OWNERS.md 04:07:42 -rw-rw-r-- 1 jenkins jenkins 2620 Sep 4 03:59 README.md 04:07:42 -rw-rw-r-- 1 jenkins jenkins 5 Sep 4 03:56 VERSION 04:07:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 4 03:59 bin 04:07:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 4 03:59 cmd 04:07:42 -rw-r--r-- 1 jenkins jenkins 78805 Sep 4 04:06 coverage.out 04:07:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:59 doc 04:07:42 -rw-rw-r-- 1 jenkins jenkins 7331 Sep 4 03:59 go.mod 04:07:42 -rw-rw-r-- 1 jenkins jenkins 102413 Sep 4 03:59 go.sum 04:07:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 4 03:59 internal 04:07:42 -rw-rw-r-- 1 jenkins jenkins 236 Sep 4 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:42 + 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=09fb6caff8c4ad7d4cc24efc2709b8887182337f --label arch=arm64 --label version=0.0.0 . 04:07:43 Sending build context to Docker daemon 21.81MB 04:07:43 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 04:07:43 Step 2/27 : FROM ${BASE} AS builder 04:07:43 ---> 2ce3a7881440 04:07:43 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:07:43 ---> Running in 23deb473d6cf 04:07:43 Removing intermediate container 23deb473d6cf 04:07:43 ---> e32acbf1b330 04:07:43 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:43 ---> Running in d3a3cdc46f23 04:07:43 Removing intermediate container d3a3cdc46f23 04:07:43 ---> 5e2e91a02d0b 04:07:43 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 04:07:44 ---> Running in a34e74f90514 04:07:44 Removing intermediate container a34e74f90514 04:07:44 ---> ec399a967b84 04:07:44 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:07:44 ---> Running in 125ea516e112 04:07:44 Removing intermediate container 125ea516e112 04:07:44 ---> e89c3997eef8 04:07:44 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:07:44 ---> Running in b9e97a0c7893 04:07:45 Removing intermediate container b9e97a0c7893 04:07:45 ---> 87a2221f0107 04:07:45 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:45 ---> Running in 710568fa2212 04:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:07:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:07:47 OK: 266 MiB in 52 packages 04:07:48 Removing intermediate container 710568fa2212 04:07:48 ---> 7659c133d1bd 04:07:48 Step 9/27 : WORKDIR /device-onvif-camera 04:07:48 ---> Running in 397cd4c4eb2f 04:07:49 Removing intermediate container 397cd4c4eb2f 04:07:49 ---> 06f3be1d022b 04:07:49 Step 10/27 : COPY go.mod vendor* ./ 04:07:49 ---> ec858a2ed64c 04:07:49 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:49 ---> Running in 067ce6fabcd3 04:07:52 Removing intermediate container 067ce6fabcd3 04:07:52 ---> f979e1c6974c 04:07:52 Step 12/27 : COPY . . 04:07:54 ---> 5e5bea782b01 04:07:54 Step 13/27 : RUN ${MAKE} 04:07:54 ---> Running in 888d67011524 04:07:55 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.35" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:11:46 Removing intermediate container 888d67011524 04:11:46 ---> f8a29bef6996 04:11:46 Step 14/27 : FROM alpine:3.18 04:11:46 3.18: Pulling from library/alpine 04:11:46 4983c3fe2029: Pulling fs layer 04:11:46 4983c3fe2029: Download complete 04:11:46 4983c3fe2029: Pull complete 04:11:46 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:11:46 Status: Downloaded newer image for alpine:3.18 04:11:46 ---> a0237000ae83 04:11:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 04:11:46 ---> Running in 680420b79e08 04:11:46 Removing intermediate container 680420b79e08 04:11:46 ---> f100b75bcb71 04:11:46 Step 16/27 : RUN apk add --update --no-cache dumb-init 04:11:46 ---> Running in de51fc47d155 04:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:11:46 (1/1) Installing dumb-init (1.2.5-r2) 04:11:46 Executing busybox-1.36.1-r7.trigger 04:11:46 OK: 8 MiB in 16 packages 04:11:46 Removing intermediate container de51fc47d155 04:11:46 ---> 05e90d954bbc 04:11:46 Step 17/27 : RUN apk --no-cache upgrade 04:11:46 ---> Running in 97b9959a27c6 04:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:11:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:11:46 OK: 8 MiB in 16 packages 04:11:46 Removing intermediate container 97b9959a27c6 04:11:46 ---> 27e15e6c4a3a 04:11:46 Step 18/27 : WORKDIR / 04:11:46 ---> Running in 0603121138a0 04:11:46 Removing intermediate container 0603121138a0 04:11:46 ---> 6ea9bbcd1666 04:11:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:11:46 ---> 80348be96d94 04:11:46 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:11:46 ---> d2cfe85ad65b 04:11:46 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:11:46 ---> 91f96e51ccf8 04:11:46 Step 22/27 : EXPOSE 59984 04:11:46 ---> Running in 96bbdbbc7df1 04:11:47 Removing intermediate container 96bbdbbc7df1 04:11:47 ---> cb9ac4be0678 04:11:47 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:11:47 ---> Running in a5ed9d597420 04:11:47 Removing intermediate container a5ed9d597420 04:11:47 ---> 6a04906b3466 04:11:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:11:47 ---> Running in 57b18c2f978b 04:11:48 Removing intermediate container 57b18c2f978b 04:11:48 ---> f9f9160ad320 04:11:48 Step 25/27 : LABEL arch=arm64 04:11:48 ---> Running in 3ce0c50335ae 04:11:48 Removing intermediate container 3ce0c50335ae 04:11:48 ---> 19ce5f8fd489 04:11:48 Step 26/27 : LABEL git_sha=09fb6caff8c4ad7d4cc24efc2709b8887182337f 04:11:48 ---> Running in 570b9cea1a4a 04:11:48 Removing intermediate container 570b9cea1a4a 04:11:48 ---> b388a2866fc7 04:11:48 Step 27/27 : LABEL version=0.0.0 04:11:48 ---> Running in 942a66e59e4e 04:11:49 Removing intermediate container 942a66e59e4e 04:11:49 ---> 73f836d1aa8a 04:11:49 [Warning] One or more build-args [ARCH] were not consumed 04:11:49 Successfully built 73f836d1aa8a 04:11:49 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:11:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:50 04:11:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:50 arm64: Pulling from edgex-lftools-log-publisher 04:11:50 8998bd30e6a1: Pulling fs layer 04:11:50 04944245beec: Pulling fs layer 04:11:50 699f458cf7ca: Pulling fs layer 04:11:50 765212b225bb: Pulling fs layer 04:11:50 f23df028b6ca: Pulling fs layer 04:11:50 d65c8cfc05b1: Pulling fs layer 04:11:50 2437ff75d9bd: Pulling fs layer 04:11:50 765212b225bb: Waiting 04:11:50 f23df028b6ca: Waiting 04:11:50 d65c8cfc05b1: Waiting 04:11:50 2437ff75d9bd: Waiting 04:11:50 04944245beec: Verifying Checksum 04:11:50 04944245beec: Download complete 04:11:50 765212b225bb: Verifying Checksum 04:11:50 765212b225bb: Download complete 04:11:50 f23df028b6ca: Verifying Checksum 04:11:50 f23df028b6ca: Download complete 04:11:50 d65c8cfc05b1: Download complete 04:11:51 699f458cf7ca: Verifying Checksum 04:11:51 699f458cf7ca: Download complete 04:11:51 8998bd30e6a1: Verifying Checksum 04:11:51 8998bd30e6a1: Download complete 04:11:53 2437ff75d9bd: Verifying Checksum 04:11:53 2437ff75d9bd: Download complete 04:11:55 8998bd30e6a1: Pull complete 04:11:56 04944245beec: Pull complete 04:11:57 699f458cf7ca: Pull complete 04:11:58 765212b225bb: Pull complete 04:11:59 f23df028b6ca: Pull complete 04:11:59 d65c8cfc05b1: Pull complete 04:12:17 2437ff75d9bd: Pull complete 04:12:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:18 prd-ubuntu20.04-docker-arm64-4c-16g-9362 does not seem to be running inside a container 04:12:18 $ 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:12:21 $ docker top d45a2f37a50005d5bfd883722845acb27a560ee5ff8220405dd2a0d6cd3de87c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:22 ---> job-cost.sh 04:12:22 lf-activate-venv: SKIPPING 04:12:22 INFO: No Stack... 04:12:23 INFO: Retrieving Pricing Info for: v3-standard-4 04:12:24 INFO: Archiving Costs [Pipeline] sh 04:12:24 + cut -d, -f6 04:12:24 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 04:12:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] 04:12:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] did not exist. Created. 04:12:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:25 /w/workspace/device-onvif-camera/1@tmp/durable-9419867b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:12:25 + echo total: 0.10999999940395355 [Pipeline] stash 04:12:25 Warning: overwriting stash ‘stack-cost’ 04:12:25 Stashed 1 file(s) [Pipeline] } 04:12:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-455-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:25 $ docker stop --time=1 d45a2f37a50005d5bfd883722845acb27a560ee5ff8220405dd2a0d6cd3de87c 04:12:27 $ docker rm -f --volumes d45a2f37a50005d5bfd883722845acb27a560ee5ff8220405dd2a0d6cd3de87c [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:12:29 provisioning config files... 04:12:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-455@tmp/config14208356659112390310tmp [Pipeline] { [Pipeline] sh 04:12:30 + set +x 04:12:30 + curl -s https://codecov.io/bash 04:12:30 + bash -s -- 04:12:31 04:12:31 _____ _ 04:12:31 / ____| | | 04:12:31 | | ___ __| | ___ ___ _____ __ 04:12:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:12:31 | |___| (_) | (_| | __/ (_| (_) \ V / 04:12:31 \_____\___/ \__,_|\___|\___\___/ \_/ 04:12:31 Bash-1.0.6 04:12:31 04:12:31 04:12:31 ==> git version 2.25.1 found 04:12:31 ==> 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:12:31 Release-Date: 2020-01-08 04:12:31 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:12:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:12:31 ==> Jenkins CI detected. 04:12:31 current dir:  /w/workspace/undry_device-onvif-camera_PR-455 04:12:31 project root: . 04:12:31 --> token set from env 04:12:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:12:31 ==> Running gcov in . (disable via -X gcov) 04:12:31 ==> Python coveragepy not found 04:12:31 ==> Searching for coverage reports in: 04:12:31 + . 04:12:31 -> Found 1 reports 04:12:31 ==> Detecting git/mercurial file structure 04:12:31 ==> Reading reports 04:12:31 + ./coverage.out bytes=78805 04:12:31 ==> Appending adjustments 04:12:31 https://docs.codecov.io/docs/fixing-reports 04:12:31 + Found adjustments 04:12:31 ==> Gzipping contents 04:12:31 12K /tmp/codecov.mYmFm3.gz 04:12:31 ==> Uploading reports 04:12:31 url: https://codecov.io 04:12:31 query: branch=PR-455&commit=09fb6caff8c4ad7d4cc24efc2709b8887182337f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-455%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=455&job=&cmd_args= 04:12:31 -> Pinging Codecov 04:12:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-455&commit=09fb6caff8c4ad7d4cc24efc2709b8887182337f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-455%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=455&job=&cmd_args= 04:12:31 -> Uploading to 04:12:31 https://storage.googleapis.com/codecov/v4/raw/2024-09-04/F29A59C45E3A92E06B3E522C9905F8EF/09fb6caff8c4ad7d4cc24efc2709b8887182337f/533d7053-eff3-4c81-a31c-77cb7bde832c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240904%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240904T041231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b09625ec9d27c229f4c88cc602a4a57958937bdc73d819f0f63b34f8eace4e82 04:12:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:31 Dload Upload Total Spent Left Speed 04:12:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10400 0 0 100 10400 0 50000 --:--:-- --:--:-- --:--:-- 49760 100 10400 0 0 100 10400 0 40784 --:--:-- --:--:-- --:--:-- 40625 04:12:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/09fb6caff8c4ad7d4cc24efc2709b8887182337f [Pipeline] } 04:12:31 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:12:34 + [ -d /w/workspace/undry_device-onvif-camera_PR-455/archives ] 04:12:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-455/archives 04:12:34 total 16 04:12:34 drwxr-xr-x 3 root root 4096 Sep 4 03:59 . 04:12:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 03:59 .. 04:12:34 drwxr-xr-x 2 root root 4096 Sep 4 03:59 cost 04:12:34 -rw-r--r-- 1 root root 91 Sep 4 03:59 cost.csv 04:12:34 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-455/archives 04:12:34 + ls -al /w/workspace/undry_device-onvif-camera_PR-455/archives 04:12:34 total 16 04:12:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 4 03:59 . 04:12:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 4 03:59 .. 04:12:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 4 03:59 cost 04:12:34 -rw-r--r-- 1 jenkins jenkins 91 Sep 4 03:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:12:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:12:35 ---> package-listing.sh 04:12:35 ++ tr '[:upper:]' '[:lower:]' 04:12:35 ++ facter osfamily 04:12:35 + OS_FAMILY=debian 04:12:35 + workspace=/w/workspace/undry_device-onvif-camera_PR-455 04:12:35 + START_PACKAGES=/tmp/packages_start.txt 04:12:35 + END_PACKAGES=/tmp/packages_end.txt 04:12:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:12:35 + PACKAGES=/tmp/packages_start.txt 04:12:35 + '[' /w/workspace/undry_device-onvif-camera_PR-455 ']' 04:12:35 + PACKAGES=/tmp/packages_end.txt 04:12:35 + case "${OS_FAMILY}" in 04:12:35 + dpkg -l 04:12:35 + grep '^ii' 04:12:35 + '[' -f /tmp/packages_start.txt ']' 04:12:35 + '[' -f /tmp/packages_end.txt ']' 04:12:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:12:35 + '[' /w/workspace/undry_device-onvif-camera_PR-455 ']' 04:12:35 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-455/archives/ 04:12:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-455/archives/ [Pipeline] echo 04:12:35 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-455/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:12:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:38 prd-ubuntu20.04-docker-8c-8g-9358 does not seem to be running inside a container 04:12:39 $ 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-455/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-455 -v /w/workspace/undry_device-onvif-camera_PR-455:/w/workspace/undry_device-onvif-camera_PR-455:rw,z -v /w/workspace/undry_device-onvif-camera_PR-455@tmp:/w/workspace/undry_device-onvif-camera_PR-455@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:12:39 $ docker top 4230d1f92468062bac4415f50ee686b9c30777686d0cc33e75610ccfc76be7ae -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:40 + touch /tmp/pre-build-complete [Pipeline] sh 04:12:40 + mkdir -p /var/log/sysstat [Pipeline] sh 04:12:40 + ls /var/log/sa-host 04:12:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:41 provisioning config files... 04:12:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-455@tmp/config15624202940109609795tmp [Pipeline] { [Pipeline] echo 04:12:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> create-netrc.sh [Pipeline] } 04:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:12:41 ---> python-tools-install.sh [Pipeline] echo 04:12:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:12:42 ---> sudo-logs.sh 04:12:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:12:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:12:42 ---> job-cost.sh 04:12:42 lf-activate-venv: SKIPPING 04:12:42 DEBUG: total: 0.2199999988079071 04:12:42 INFO: Retrieving Stack Cost... 04:12:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:43 INFO: Archiving Costs [Pipeline] echo 04:12:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:12:43 ---> logs-deploy.sh 04:12:43 lf-activate-venv: SKIPPING 04:12:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-455/1 04:12:43 INFO: archiving workspace using pattern(s): 04:12:44 Archives upload complete. 04:12:44 INFO: archiving logs to Nexus 04:12:45 ---> uname -a: 04:12:45 Linux prd-ubuntu20-04-docker-8c-8g-9358 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:12:45 04:12:45 04:12:45 ---> lscpu: 04:12:45 Architecture: x86_64 04:12:45 CPU op-mode(s): 32-bit, 64-bit 04:12:45 Byte Order: Little Endian 04:12:45 Address sizes: 40 bits physical, 48 bits virtual 04:12:45 CPU(s): 8 04:12:45 On-line CPU(s) list: 0-7 04:12:45 Thread(s) per core: 1 04:12:45 Core(s) per socket: 1 04:12:45 Socket(s): 8 04:12:45 NUMA node(s): 1 04:12:45 Vendor ID: AuthenticAMD 04:12:45 CPU family: 23 04:12:45 Model: 49 04:12:45 Model name: AMD EPYC-Rome Processor 04:12:45 Stepping: 0 04:12:45 CPU MHz: 2799.996 04:12:45 BogoMIPS: 5599.99 04:12:45 Virtualization: AMD-V 04:12:45 Hypervisor vendor: KVM 04:12:45 Virtualization type: full 04:12:45 L1d cache: 256 KiB 04:12:45 L1i cache: 256 KiB 04:12:45 L2 cache: 4 MiB 04:12:45 L3 cache: 128 MiB 04:12:45 NUMA node0 CPU(s): 0-7 04:12:45 Vulnerability Itlb multihit: Not affected 04:12:45 Vulnerability L1tf: Not affected 04:12:45 Vulnerability Mds: Not affected 04:12:45 Vulnerability Meltdown: Not affected 04:12:45 Vulnerability Mmio stale data: Not affected 04:12:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:12:45 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:12:45 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:12:45 Vulnerability Srbds: Not affected 04:12:45 Vulnerability Tsx async abort: Not affected 04:12:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:12:45 04:12:45 04:12:45 ---> nproc: 04:12:45 8 04:12:45 04:12:45