Pull request #319 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c689ec2735047fa853b30b2758522f8f24e125e7+6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (4144dc06a41860dab7182a691a8df7ef754f4f2b) 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-ssh11142137857938569617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13572693454856738526.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9290593102095477619.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3656362139971009341.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9243560397106926418.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.20 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9497’ Running on prd-ubuntu20.04-docker-8c-8g-9499 in /w/workspace/undry_device-onvif-camera_PR-319 [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-319 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 Merge succeeded, producing c689ec2735047fa853b30b2758522f8f24e125e7 Checking out Revision c689ec2735047fa853b30b2758522f8f24e125e7 (PR-319) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:30:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:30:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:30:53 ========================================================= 06:30:53 EdgeX Global Pipelines Version Info 06:30:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # 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 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 > git rev-list --no-walk 102b453b1d4a3c94a56f7f7b0961d95f1da747de # timeout=10 06:30:53 ------------------- 06:30:53 stable info: 06:30:53 ------------------- 06:30:53 Commited By: Bill Mahoney bill.mahoney@intel.com 06:30:53 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:30:53 Message: update stable to v1.0.248 06:30:54 ------------------- 06:30:54 experimental info: 06:30:54 ------------------- 06:30:54 Commited By: **** collab-it+edgex@linuxfoundation.org 06:30:54 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:30:54 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c689ec2735047fa853b30b2758522f8f24e125e7 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c689ec2 [Pipeline] echo 06:30:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:55 provisioning config files... 06:30:55 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config909432157271416826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:55 ---> docker-login.sh 06:30:55 nexus3.edgexfoundry.org:10001 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:55 Configure a credential helper to remove this warning. See 06:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:55 06:30:55 Login Succeeded 06:30:55 nexus3.edgexfoundry.org:10002 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:55 Configure a credential helper to remove this warning. See 06:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:55 06:30:55 Login Succeeded 06:30:55 nexus3.edgexfoundry.org:10003 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:55 Configure a credential helper to remove this warning. See 06:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:55 06:30:55 Login Succeeded 06:30:55 nexus3.edgexfoundry.org:10004 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:56 Configure a credential helper to remove this warning. See 06:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:56 06:30:56 Login Succeeded 06:30:56 docker.io 06:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:56 Configure a credential helper to remove this warning. See 06:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:56 06:30:56 Login Succeeded 06:30:56 ---> docker-login.sh ends [Pipeline] } 06:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:30:56 + git rev-list -1 --merges c689ec2735047fa853b30b2758522f8f24e125e7~1..c689ec2735047fa853b30b2758522f8f24e125e7 [Pipeline] echo 06:30:56 -----------> git rev-list -1 --merges c689ec2735047fa853b30b2758522f8f24e125e7~1..c689ec2735047fa853b30b2758522f8f24e125e7 c689ec2735047fa853b30b2758522f8f24e125e7 [false] [Pipeline] sh 06:30:57 + git log --format=format:%s -1 c689ec2735047fa853b30b2758522f8f24e125e7 [Pipeline] echo 06:30:57 ========================================================= 06:30:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:30:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:57 + git log --format=format:%s -1 c689ec2735047fa853b30b2758522f8f24e125e7 [Pipeline] echo 06:30:57 [semverPrep] GIT_COMMIT: c689ec2735047fa853b30b2758522f8f24e125e7, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 06:30:57 [semverPrep] This is not a build commit. [Pipeline] sh 06:30:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:30:57 + grep -v github /etc/ssh/ssh_known_hosts 06:30:57 + [ -e /tmp/ssh_known_hosts ] 06:30:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:30:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:30:57 + sudo tee -a /etc/ssh/ssh_known_hosts 06:30:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:30:58 06:30:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:30:59 0.1.4: Pulling from edgex-devops/py-git-semver 06:30:59 b85a868b505f: Pulling fs layer 06:30:59 e2be974225ed: Pulling fs layer 06:30:59 339a4e72a1f5: Pulling fs layer 06:30:59 988bab9f4d93: Pulling fs layer 06:30:59 1469e6f7b9e6: Pulling fs layer 06:30:59 eaf3925da568: Pulling fs layer 06:30:59 bab4dde63d76: Pulling fs layer 06:30:59 bde34c3a00c8: Pulling fs layer 06:30:59 b352a97aabf1: Pulling fs layer 06:30:59 4872d77fe225: Pulling fs layer 06:30:59 5851b861e8e6: Pulling fs layer 06:30:59 988bab9f4d93: Waiting 06:30:59 eaf3925da568: Waiting 06:30:59 1469e6f7b9e6: Waiting 06:30:59 bde34c3a00c8: Waiting 06:30:59 b352a97aabf1: Waiting 06:30:59 4872d77fe225: Waiting 06:30:59 5851b861e8e6: Waiting 06:30:59 bab4dde63d76: Waiting 06:30:59 e2be974225ed: Verifying Checksum 06:30:59 e2be974225ed: Download complete 06:30:59 988bab9f4d93: Verifying Checksum 06:30:59 988bab9f4d93: Download complete 06:30:59 1469e6f7b9e6: Verifying Checksum 06:30:59 1469e6f7b9e6: Download complete 06:30:59 eaf3925da568: Verifying Checksum 06:30:59 eaf3925da568: Download complete 06:31:00 339a4e72a1f5: Verifying Checksum 06:31:00 339a4e72a1f5: Download complete 06:31:00 bde34c3a00c8: Verifying Checksum 06:31:00 bde34c3a00c8: Download complete 06:31:00 b352a97aabf1: Verifying Checksum 06:31:00 b352a97aabf1: Download complete 06:31:00 4872d77fe225: Verifying Checksum 06:31:00 4872d77fe225: Download complete 06:31:00 5851b861e8e6: Download complete 06:31:00 b85a868b505f: Verifying Checksum 06:31:00 b85a868b505f: Download complete 06:31:00 bab4dde63d76: Verifying Checksum 06:31:00 bab4dde63d76: Download complete 06:31:01 b85a868b505f: Pull complete 06:31:02 e2be974225ed: Pull complete 06:31:02 339a4e72a1f5: Pull complete 06:31:02 988bab9f4d93: Pull complete 06:31:02 1469e6f7b9e6: Pull complete 06:31:02 eaf3925da568: Pull complete 06:31:04 bab4dde63d76: Pull complete 06:31:04 bde34c3a00c8: Pull complete 06:31:04 b352a97aabf1: Pull complete 06:31:04 4872d77fe225: Pull complete 06:31:04 5851b861e8e6: Pull complete 06:31:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:31:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:31:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:05 prd-ubuntu20.04-docker-8c-8g-9499 does not seem to be running inside a container 06:31:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@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-devops/py-git-semver:0.1.4 cat 06:31:07 $ docker top e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d -eo pid,comm 06:31:07 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). 06:31:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:07 [ssh-agent] Looking for ssh-agent implementation... 06:31:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:07 $ docker exec e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d ssh-agent 06:31:07 SSH_AUTH_SOCK=/tmp/ssh-FWCv64gBhh6Y/agent.32 06:31:07 SSH_AGENT_PID=38 06:31:07 Running ssh-add (command line suppressed) 06:31:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_9323874608178247090.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_9323874608178247090.key) 06:31:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:08 + git tag --points-at HEAD [Pipeline] } 06:31:08 $ docker exec --env ******** --env ******** e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d ssh-agent -k 06:31:08 unset SSH_AUTH_SOCK; 06:31:08 unset SSH_AGENT_PID; 06:31:08 echo Agent pid 38 killed; 06:31:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:31:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:08 [ssh-agent] Looking for ssh-agent implementation... 06:31:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:08 $ docker exec e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d ssh-agent 06:31:08 SSH_AUTH_SOCK=/tmp/ssh-C0nRyouGbMPY/agent.70 06:31:08 SSH_AGENT_PID=76 06:31:08 Running ssh-add (command line suppressed) 06:31:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_15259194803704394519.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_15259194803704394519.key) 06:31:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:09 + git semver init 06:31:09 2023-04-24 06:31:09,281 [run_init] DEBUG init version:0.0.0 force:False 06:31:09 2023-04-24 06:31:09,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-319/.semver 06:31:09 2023-04-24 06:31:09,283 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-319/.semver 06:31:09 2023-04-24 06:31:09,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-319/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-319, universal_newlines=False, shell=None, istream=None) 06:31:10 2023-04-24 06:31:10,191 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-319/.git/info/exclude 06:31:10 2023-04-24 06:31:10,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 with force:False 06:31:10 2023-04-24 06:31:10,192 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 06:31:10 2023-04-24 06:31:10,197 [execute] INFO git cat-file --batch-check 06:31:10 2023-04-24 06:31:10,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) 06:31:10 2023-04-24 06:31:10,203 [execute] INFO git cat-file --batch 06:31:10 2023-04-24 06:31:10,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) 06:31:10 2023-04-24 06:31:10,208 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 06:31:10 0.0.0 [Pipeline] } 06:31:10 $ docker exec --env ******** --env ******** e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d ssh-agent -k 06:31:10 unset SSH_AUTH_SOCK; 06:31:10 unset SSH_AGENT_PID; 06:31:10 echo Agent pid 76 killed; 06:31:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:10 + git semver [Pipeline] } 06:31:10 $ docker stop --time=1 e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d 06:31:12 $ docker rm -f --volumes e820ab3cc21896bc0af5d31a96f053a8604bcf92a2e2c9f51bddc979fa6b664d [Pipeline] // withDockerContainer [Pipeline] sh 06:31:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:31:12 Stashed 1 file(s) [Pipeline] echo 06:31:12 [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 06:31:12 provisioning config files... 06:31:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config8231767589178296723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:13 ---> docker-login.sh 06:31:13 nexus3.edgexfoundry.org:10001 06:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:13 Configure a credential helper to remove this warning. See 06:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:13 06:31:13 Login Succeeded 06:31:13 nexus3.edgexfoundry.org:10002 06:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:13 Configure a credential helper to remove this warning. See 06:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:13 06:31:13 Login Succeeded 06:31:13 nexus3.edgexfoundry.org:10003 06:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:13 Configure a credential helper to remove this warning. See 06:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:13 06:31:13 Login Succeeded 06:31:13 nexus3.edgexfoundry.org:10004 06:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:13 Configure a credential helper to remove this warning. See 06:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:13 06:31:13 Login Succeeded 06:31:13 docker.io 06:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:13 Configure a credential helper to remove this warning. See 06:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:13 06:31:13 Login Succeeded 06:31:13 ---> docker-login.sh ends [Pipeline] } 06:31:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:31:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:13 ========================================================= 06:31:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:31:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:31:14 Sending build context to Docker daemon 26.93MB 06:31:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:31:14 Step 2/13 : FROM ${BASE} AS builder 06:31:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:14 63b65145d645: Pulling fs layer 06:31:14 a2d21d5440eb: Pulling fs layer 06:31:14 935e6c44a52c: Pulling fs layer 06:31:14 94cc34f8dd06: Pulling fs layer 06:31:14 30dea6a524f1: Pulling fs layer 06:31:14 a2aff8979fd8: Pulling fs layer 06:31:14 6808be2612f2: Pulling fs layer 06:31:14 f25807f1079a: Pulling fs layer 06:31:14 94cc34f8dd06: Waiting 06:31:14 30dea6a524f1: Waiting 06:31:14 a2aff8979fd8: Waiting 06:31:14 6808be2612f2: Waiting 06:31:14 f25807f1079a: Waiting 06:31:14 a2d21d5440eb: Verifying Checksum 06:31:14 a2d21d5440eb: Download complete 06:31:14 94cc34f8dd06: Verifying Checksum 06:31:14 94cc34f8dd06: Download complete 06:31:14 30dea6a524f1: Verifying Checksum 06:31:14 30dea6a524f1: Download complete 06:31:14 63b65145d645: Download complete 06:31:14 a2aff8979fd8: Verifying Checksum 06:31:14 a2aff8979fd8: Download complete 06:31:14 63b65145d645: Pull complete 06:31:14 a2d21d5440eb: Pull complete 06:31:15 935e6c44a52c: Verifying Checksum 06:31:15 935e6c44a52c: Download complete 06:31:15 f25807f1079a: Verifying Checksum 06:31:15 f25807f1079a: Download complete 06:31:15 6808be2612f2: Verifying Checksum 06:31:15 6808be2612f2: Download complete 06:31:17 935e6c44a52c: Pull complete 06:31:18 94cc34f8dd06: Pull complete 06:31:18 30dea6a524f1: Pull complete 06:31:18 a2aff8979fd8: Pull complete 06:31:20 6808be2612f2: Pull complete 06:31:21 f25807f1079a: Pull complete 06:31:21 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:31:21 ---> 3b553350e43f 06:31:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:31:23 ---> Running in 4abf2b7490b6 06:31:23 Removing intermediate container 4abf2b7490b6 06:31:23 ---> 777d89f5a0fb 06:31:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:31:23 ---> Running in a7ca5e56e005 06:31:23 Removing intermediate container a7ca5e56e005 06:31:23 ---> ca26e0cbfc18 06:31:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:31:23 ---> Running in 1c8eed9c0785 06:31:23 Removing intermediate container 1c8eed9c0785 06:31:23 ---> 48d097946555 06:31:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:31:23 ---> Running in ce76bd7916e8 06:31:23 Removing intermediate container ce76bd7916e8 06:31:23 ---> 324d6ef8f88b 06:31:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:31:23 ---> Running in c596b7f0423c 06:31:24 Removing intermediate container c596b7f0423c 06:31:24 ---> 77bc12c6b7f3 06:31:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:31:24 ---> Running in a1720f245879 06:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:31:24 OK: 265 MiB in 53 packages 06:31:26 Removing intermediate container a1720f245879 06:31:26 ---> 90656a7bf950 06:31:26 Step 9/13 : WORKDIR /device-onvif-camera 06:31:26 ---> Running in 4da0d80126e5 06:31:26 Removing intermediate container 4da0d80126e5 06:31:26 ---> 1021f50b1649 06:31:26 Step 10/13 : COPY go.mod vendor* ./ 06:31:26 ---> 4f5da0d10873 06:31:26 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:26 ---> Running in 05a2571c4410 06:31:27 Still waiting to schedule task 06:31:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9500’ is offline 06:31:48 Removing intermediate container 05a2571c4410 06:31:48 ---> 7c56d37ce128 06:31:48 Step 12/13 : COPY . . 06:31:48 ---> 9664a5ecec9f 06:31:48 Step 13/13 : RUN ${MAKE} 06:31:48 ---> Running in 84133eed5b9b 06:31:48 noop 06:31:48 Removing intermediate container 84133eed5b9b 06:31:48 ---> 401528a9a9e8 06:31:48 Successfully built 401528a9a9e8 06:31:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:49 + docker inspect -f . ci-base-image-x86_64 06:31:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:49 prd-ubuntu20.04-docker-8c-8g-9499 does not seem to be running inside a container 06:31:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:49 $ docker top 418b8b8ce6f3e881106bfb1580b5796829e3d3eee27d6d9a3c194778d7f57925 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:49 + go version 06:31:49 go version go1.20.2 linux/amd64 [Pipeline] } 06:31:49 $ docker stop --time=1 418b8b8ce6f3e881106bfb1580b5796829e3d3eee27d6d9a3c194778d7f57925 06:31:51 $ docker rm -f --volumes 418b8b8ce6f3e881106bfb1580b5796829e3d3eee27d6d9a3c194778d7f57925 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:51 + docker inspect -f . ci-base-image-x86_64 06:31:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:51 prd-ubuntu20.04-docker-8c-8g-9499 does not seem to be running inside a container 06:31:51 $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:31:52 $ docker top 61af540065918c5bd16cf5a3553429479a1a0160769143dcb802c4c65233cd39 -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:52 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] fileExists [Pipeline] sh 06:31:52 + make test 06:31:52 go test ./... -coverprofile=coverage.out ./... 06:31:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:32:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:32:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:32:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements 06:32:09 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.175s coverage: 86.5% of statements 06:32:17 go vet ./... 06:32:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:32:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:32:20 ./bin/test-attribution-txt.sh [Pipeline] echo 06:32:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:32:20 $ docker stop --time=1 61af540065918c5bd16cf5a3553429479a1a0160769143dcb802c4c65233cd39 06:32:22 $ docker rm -f --volumes 61af540065918c5bd16cf5a3553429479a1a0160769143dcb802c4c65233cd39 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:32:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:32:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:32:24 + ls -al . 06:32:24 total 236 06:32:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:31 . 06:32:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:30 .. 06:32:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:31 .git 06:32:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:30 .github 06:32:24 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:30 .gitignore 06:32:24 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:30 .golangci.yml 06:32:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:31 .semver 06:32:24 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:30 Attribution.txt 06:32:24 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:30 CHANGELOG.md 06:32:24 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:30 Dockerfile 06:32:24 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:30 GOVERNANCE.md 06:32:24 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:30 Jenkinsfile 06:32:24 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:30 LICENSE 06:32:24 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:30 Makefile 06:32:24 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:30 OWNERS.md 06:32:24 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:30 README.md 06:32:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:31 VERSION 06:32:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:30 bin 06:32:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:30 cmd 06:32:24 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:32 coverage.out 06:32:24 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:30 doc 06:32:24 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:30 go.mod 06:32:24 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:30 go.sum 06:32:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:30 internal 06:32:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:30 snap 06:32:24 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:24 + 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=c689ec2735047fa853b30b2758522f8f24e125e7 --label arch=amd64 --label version=0.0.0 . 06:32:24 Sending build context to Docker daemon 27.01MB 06:32:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:32:24 Step 2/26 : FROM ${BASE} AS builder 06:32:24 ---> 401528a9a9e8 06:32:24 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:32:24 ---> Running in 7d67fdee3fe9 06:32:24 Removing intermediate container 7d67fdee3fe9 06:32:24 ---> 62e0f0846c7f 06:32:24 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:32:24 ---> Running in 10956b05171e 06:32:24 Removing intermediate container 10956b05171e 06:32:24 ---> bae31ab20f86 06:32:24 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:32:24 ---> Running in 4cf93718f5d6 06:32:24 Removing intermediate container 4cf93718f5d6 06:32:24 ---> cc17c86e67f5 06:32:24 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:32:24 ---> Running in 43940dcca726 06:32:24 Removing intermediate container 43940dcca726 06:32:24 ---> 4ac90e8dc184 06:32:24 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:32:24 ---> Running in cff081f767ee 06:32:25 Removing intermediate container cff081f767ee 06:32:25 ---> d4a4f33d809c 06:32:25 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:25 ---> Running in bd336a1b2806 06:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:32:25 OK: 265 MiB in 53 packages 06:32:26 Removing intermediate container bd336a1b2806 06:32:26 ---> 4ae2ab50bbc7 06:32:26 Step 9/26 : WORKDIR /device-onvif-camera 06:32:26 ---> Running in d68292d366de 06:32:27 Removing intermediate container d68292d366de 06:32:27 ---> f0d365ec4813 06:32:27 Step 10/26 : COPY go.mod vendor* ./ 06:32:27 ---> d8838a249303 06:32:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:27 ---> Running in 4e0cb26f7335 06:32:29 Removing intermediate container 4e0cb26f7335 06:32:29 ---> f8cb5bd01565 06:32:29 Step 12/26 : COPY . . 06:32:29 ---> 189bfb1d1fe6 06:32:29 Step 13/26 : RUN ${MAKE} 06:32:29 ---> Running in e1f496a1aaa4 06:32:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:32:48 Removing intermediate container e1f496a1aaa4 06:32:48 ---> 85c57e895727 06:32:48 Step 14/26 : FROM alpine:3.17 06:32:48 3.17: Pulling from library/alpine 06:32:48 f56be85fc22e: Pulling fs layer 06:32:48 f56be85fc22e: Download complete 06:32:48 f56be85fc22e: Pull complete 06:32:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:32:48 Status: Downloaded newer image for alpine:3.17 06:32:48 ---> 9ed4aefc74f6 06:32:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:32:48 ---> Running in e6b801cd7d10 06:32:48 Removing intermediate container e6b801cd7d10 06:32:48 ---> f4a3dde68dcf 06:32:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:32:48 ---> Running in a1fd213d5254 06:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:32:49 (1/1) Installing dumb-init (1.2.5-r2) 06:32:49 Executing busybox-1.35.0-r29.trigger 06:32:49 OK: 7 MiB in 16 packages 06:32:49 Removing intermediate container a1fd213d5254 06:32:49 ---> ae2ee21e1e26 06:32:49 Step 17/26 : WORKDIR / 06:32:49 ---> Running in 23cac25d155a 06:32:49 Removing intermediate container 23cac25d155a 06:32:49 ---> a19c81c15bb9 06:32:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:32:50 ---> 428e817f564c 06:32:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:32:50 ---> 29c678033508 06:32:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:32:50 ---> d4fc76519b5a 06:32:50 Step 21/26 : EXPOSE 59984 06:32:50 ---> Running in 502345163ac4 06:32:50 Removing intermediate container 502345163ac4 06:32:50 ---> 50a064bf3e73 06:32:50 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:32:50 ---> Running in 4d0f7165c81f 06:32:50 Removing intermediate container 4d0f7165c81f 06:32:50 ---> 433dab18451f 06:32:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:32:50 ---> Running in 092576b226cd 06:32:50 Removing intermediate container 092576b226cd 06:32:50 ---> 94bb2fad7a22 06:32:50 Step 24/26 : LABEL arch=amd64 06:32:50 ---> Running in 94d2a8223265 06:32:50 Removing intermediate container 94d2a8223265 06:32:50 ---> 6277a2fea03e 06:32:50 Step 25/26 : LABEL git_sha=c689ec2735047fa853b30b2758522f8f24e125e7 06:32:50 ---> Running in 0fc8de563050 06:32:51 Removing intermediate container 0fc8de563050 06:32:51 ---> 42f3345f85c0 06:32:51 Step 26/26 : LABEL version=0.0.0 06:32:51 ---> Running in c0ea3a34057a 06:32:51 Removing intermediate container c0ea3a34057a 06:32:51 ---> 0d9bcb27bb46 06:32:51 [Warning] One or more build-args [ARCH] were not consumed 06:32:51 Successfully built 0d9bcb27bb46 06:32:51 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:32:51 06:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:32:51 latest: Pulling from edgex-lftools-log-publisher 06:32:51 5eb5b503b376: Pulling fs layer 06:32:51 5c69ac0246d0: Pulling fs layer 06:32:51 ec43610c2a17: Pulling fs layer 06:32:51 3a2ae6a8a46f: Pulling fs layer 06:32:51 33b1e0a273af: Pulling fs layer 06:32:51 5d3b04190fa2: Pulling fs layer 06:32:51 2f39f015ded8: Pulling fs layer 06:32:51 33b1e0a273af: Waiting 06:32:51 5d3b04190fa2: Waiting 06:32:51 2f39f015ded8: Waiting 06:32:51 3a2ae6a8a46f: Waiting 06:32:51 5c69ac0246d0: Verifying Checksum 06:32:51 5c69ac0246d0: Download complete 06:32:51 3a2ae6a8a46f: Verifying Checksum 06:32:51 3a2ae6a8a46f: Download complete 06:32:51 33b1e0a273af: Verifying Checksum 06:32:51 33b1e0a273af: Download complete 06:32:51 5d3b04190fa2: Verifying Checksum 06:32:51 5d3b04190fa2: Download complete 06:32:51 ec43610c2a17: Download complete 06:32:52 5eb5b503b376: Verifying Checksum 06:32:52 5eb5b503b376: Download complete 06:32:52 2f39f015ded8: Download complete 06:32:53 5eb5b503b376: Pull complete 06:32:53 5c69ac0246d0: Pull complete 06:32:53 ec43610c2a17: Pull complete 06:32:53 3a2ae6a8a46f: Pull complete 06:32:54 33b1e0a273af: Pull complete 06:32:54 5d3b04190fa2: Pull complete 06:32:58 2f39f015ded8: Pull complete 06:32:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:32:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:58 prd-ubuntu20.04-docker-8c-8g-9499 does not seem to be running inside a container 06:32:58 $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:33:00 $ docker top 78e4c4af39323f0a78f980b4bb6ca62be2aba45bd39d5329e4b3eca0820ae4ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:01 ---> job-cost.sh 06:33:01 lf-activate-venv: SKIPPING 06:33:01 INFO: No Stack... 06:33:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:33:01 INFO: Archiving Costs [Pipeline] sh 06:33:02 + + cut -d, -f6 06:33:02 cat /w/workspace/undry_device-onvif-camera_PR-319/archives/cost.csv [Pipeline] lock 06:33:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] 06:33:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] did not exist. Created. 06:33:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:33:02 + echo total: 0.2199999988079071 [Pipeline] stash 06:33:02 Stashed 1 file(s) [Pipeline] } 06:33:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:33:02 $ docker stop --time=1 78e4c4af39323f0a78f980b4bb6ca62be2aba45bd39d5329e4b3eca0820ae4ea 06:33:03 $ docker rm -f --volumes 78e4c4af39323f0a78f980b4bb6ca62be2aba45bd39d5329e4b3eca0820ae4ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:33:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9508 in /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] { [Pipeline] ws 06:33:36 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 06:33:36 The recommended git tool is: git 06:33:43 using credential edgex-jenkins-ssh 06:33:43 Cloning the remote Git repository 06:33:43 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:33:43 > git init /w/workspace/device-onvif-camera/2 # timeout=10 06:33:43 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:33:43 > git --version # timeout=10 06:33:43 > git --version # 'git version 2.25.1' 06:33:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:45 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:33:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:33:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:33:46 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:33:47 Merging remotes/origin/main commit 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 06:33:47 Merge succeeded, producing c689ec2735047fa853b30b2758522f8f24e125e7 06:33:47 Checking out Revision c689ec2735047fa853b30b2758522f8f24e125e7 (PR-319) 06:33:47 > git config core.sparsecheckout # timeout=10 06:33:47 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 06:33:47 > git remote # timeout=10 06:33:47 > git config --get remote.origin.url # timeout=10 06:33:47 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:47 > git merge 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 06:33:47 > git rev-parse HEAD^{commit} # timeout=10 06:33:47 > git config core.sparsecheckout # timeout=10 06:33:48 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 06:33:48 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:33:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:33:49 Dload Upload Total Spent Left Speed 06:33:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 06:33:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:33:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:33:51 + sudo tee /etc/docker/daemon.new 06:33:51 { 06:33:51 "registry-mirrors": [ 06:33:51 "https://nexus3.edgexfoundry.org:10001" 06:33:51 ], 06:33:51 "bip": "10.250.0.254/24", 06:33:51 "hosts": [ 06:33:51 "tcp://0.0.0.0:5555", 06:33:51 "unix:///var/run/docker.sock" 06:33:51 ], 06:33:51 "mtu": 1458, 06:33:51 "selinux-enabled": true, 06:33:51 "seccomp-profile": "/etc/docker/seccomp.json" 06:33:51 } [Pipeline] sh 06:33:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:33:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:34:10 provisioning config files... 06:34:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config11504040532329718830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:10 ---> docker-login.sh 06:34:10 nexus3.edgexfoundry.org:10001 06:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:11 Configure a credential helper to remove this warning. See 06:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:11 06:34:11 Login Succeeded 06:34:11 nexus3.edgexfoundry.org:10002 06:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:11 Configure a credential helper to remove this warning. See 06:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:11 06:34:11 Login Succeeded 06:34:11 nexus3.edgexfoundry.org:10003 06:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:12 Configure a credential helper to remove this warning. See 06:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:12 06:34:12 Login Succeeded 06:34:12 nexus3.edgexfoundry.org:10004 06:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:12 Configure a credential helper to remove this warning. See 06:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:12 06:34:12 Login Succeeded 06:34:12 docker.io 06:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:13 Configure a credential helper to remove this warning. See 06:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:13 06:34:13 Login Succeeded 06:34:13 ---> docker-login.sh ends [Pipeline] } 06:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:13 ========================================================= 06:34:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:34:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:34:14 Sending build context to Docker daemon 19.66MB 06:34:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:34:14 Step 2/13 : FROM ${BASE} AS builder 06:34:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:34:17 af6eaf76a39c: Pulling fs layer 06:34:17 55522c791124: Pulling fs layer 06:34:17 ce5c4a1c91eb: Pulling fs layer 06:34:17 169dfbe0d373: Pulling fs layer 06:34:17 e1ff8fa3b103: Pulling fs layer 06:34:17 52ebb69f0ebf: Pulling fs layer 06:34:17 5abe8eddf0d5: Pulling fs layer 06:34:17 169dfbe0d373: Waiting 06:34:17 e1ff8fa3b103: Waiting 06:34:17 52ebb69f0ebf: Waiting 06:34:17 5abe8eddf0d5: Waiting 06:34:17 55522c791124: Verifying Checksum 06:34:17 169dfbe0d373: Verifying Checksum 06:34:17 169dfbe0d373: Download complete 06:34:17 e1ff8fa3b103: Download complete 06:34:17 af6eaf76a39c: Verifying Checksum 06:34:17 af6eaf76a39c: Download complete 06:34:18 af6eaf76a39c: Pull complete 06:34:18 5abe8eddf0d5: Verifying Checksum 06:34:18 5abe8eddf0d5: Download complete 06:34:18 55522c791124: Pull complete 06:34:19 ce5c4a1c91eb: Verifying Checksum 06:34:19 ce5c4a1c91eb: Download complete 06:34:19 52ebb69f0ebf: Download complete 06:34:32 ce5c4a1c91eb: Pull complete 06:34:32 169dfbe0d373: Pull complete 06:34:32 e1ff8fa3b103: Pull complete 06:34:39 52ebb69f0ebf: Pull complete 06:34:41 5abe8eddf0d5: Pull complete 06:34:41 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:34:41 ---> 6cb57ee374ae 06:34:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:34:43 ---> Running in 13e1ca8673cc 06:34:43 Removing intermediate container 13e1ca8673cc 06:34:43 ---> 9a0a08b7336b 06:34:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:34:43 ---> Running in 9b73c9f32275 06:34:44 Removing intermediate container 9b73c9f32275 06:34:44 ---> 14bf8b0247b4 06:34:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:34:44 ---> Running in e7c1ec4a522b 06:34:44 Removing intermediate container e7c1ec4a522b 06:34:44 ---> 918b9b2a948e 06:34:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:34:44 ---> Running in b2d8f003c0c6 06:34:45 Removing intermediate container b2d8f003c0c6 06:34:45 ---> bea1fe10f5d5 06:34:45 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:34:45 ---> Running in 1652b654ad8c 06:34:45 Removing intermediate container 1652b654ad8c 06:34:45 ---> 08dc865baa3f 06:34:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:45 ---> Running in fbb9f681d775 06:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:34:49 OK: 263 MiB in 53 packages 06:34:50 Removing intermediate container fbb9f681d775 06:34:50 ---> d786c7ca72c5 06:34:50 Step 9/13 : WORKDIR /device-onvif-camera 06:34:50 ---> Running in 59ee3f1ba7fa 06:34:50 Removing intermediate container 59ee3f1ba7fa 06:34:50 ---> a3bd262d3880 06:34:50 Step 10/13 : COPY go.mod vendor* ./ 06:34:51 ---> 9a175a3eddf8 06:34:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:51 ---> Running in 679fd6956031 06:36:00 Removing intermediate container 679fd6956031 06:36:00 ---> e0cf56d66f94 06:36:00 Step 12/13 : COPY . . 06:36:00 ---> 77e54175b7d1 06:36:00 Step 13/13 : RUN ${MAKE} 06:36:01 ---> Running in 2d8bb0f0b5fb 06:36:02 noop 06:36:03 Removing intermediate container 2d8bb0f0b5fb 06:36:03 ---> bcefbe09ba58 06:36:03 Successfully built bcefbe09ba58 06:36:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:03 + docker inspect -f . ci-base-image-arm64 06:36:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:03 prd-ubuntu20.04-docker-arm64-4c-16g-9508 does not seem to be running inside a container 06:36:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:36:08 $ docker top 8e6e469e648c56465f80d29f4d49c478456e188b05d84e5b280355f7ee2e4c8a -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:09 + go version 06:36:09 go version go1.20.2 linux/arm64 [Pipeline] } 06:36:09 $ docker stop --time=1 8e6e469e648c56465f80d29f4d49c478456e188b05d84e5b280355f7ee2e4c8a 06:36:11 $ docker rm -f --volumes 8e6e469e648c56465f80d29f4d49c478456e188b05d84e5b280355f7ee2e4c8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:11 + docker inspect -f . ci-base-image-arm64 06:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:11 prd-ubuntu20.04-docker-arm64-4c-16g-9508 does not seem to be running inside a container 06:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:36:13 $ docker top 7e7590f38159e4cca7f89a76a8dd6602221b2bf8b37572c8b15e47913c7b67b6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 06:36:15 + make test 06:36:15 go test ./... -coverprofile=coverage.out ./... 06:37:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:39:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:39:38 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:39:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.188s coverage: 31.6% of statements 06:39:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.353s coverage: 86.5% of statements 06:39:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:39:59 go vet ./... 06:40:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:40:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:40:38 ./bin/test-attribution-txt.sh [Pipeline] echo 06:40:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:40:38 $ docker stop --time=1 7e7590f38159e4cca7f89a76a8dd6602221b2bf8b37572c8b15e47913c7b67b6 06:40:40 $ docker rm -f --volumes 7e7590f38159e4cca7f89a76a8dd6602221b2bf8b37572c8b15e47913c7b67b6 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:40:41 Warning: overwriting stash ‘coverage-report’ 06:40:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:40:43 + ls -al . 06:40:43 total 232 06:40:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 06:36 . 06:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:33 .. 06:40:43 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:33 .git 06:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:33 .github 06:40:43 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:33 .gitignore 06:40:43 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:33 .golangci.yml 06:40:43 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:33 Attribution.txt 06:40:43 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:33 CHANGELOG.md 06:40:43 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:33 Dockerfile 06:40:43 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:33 GOVERNANCE.md 06:40:43 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:33 Jenkinsfile 06:40:43 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:33 LICENSE 06:40:43 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:33 Makefile 06:40:43 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:33 OWNERS.md 06:40:43 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:33 README.md 06:40:43 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 06:31 VERSION 06:40:43 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:33 bin 06:40:43 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:33 cmd 06:40:43 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:39 coverage.out 06:40:43 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:33 doc 06:40:43 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:33 go.mod 06:40:43 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:33 go.sum 06:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:33 internal 06:40:43 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:33 snap 06:40:43 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:43 + 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=c689ec2735047fa853b30b2758522f8f24e125e7 --label arch=arm64 --label version=0.0.0 . 06:40:44 Sending build context to Docker daemon 19.74MB 06:40:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:40:44 Step 2/26 : FROM ${BASE} AS builder 06:40:44 ---> bcefbe09ba58 06:40:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:40:44 ---> Running in 5260c35c5971 06:40:45 Removing intermediate container 5260c35c5971 06:40:45 ---> bf4746ee84f6 06:40:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:40:45 ---> Running in 21897e818397 06:40:45 Removing intermediate container 21897e818397 06:40:45 ---> d5b64946d7f9 06:40:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:40:45 ---> Running in f2493e36a909 06:40:46 Removing intermediate container f2493e36a909 06:40:46 ---> f5ea883f3feb 06:40:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:40:46 ---> Running in 5f804b7a40ec 06:40:46 Removing intermediate container 5f804b7a40ec 06:40:46 ---> 44db47e0adc8 06:40:46 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:40:46 ---> Running in 3bd8f3f76ed2 06:40:46 Removing intermediate container 3bd8f3f76ed2 06:40:46 ---> a0bda7d60712 06:40:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:40:46 ---> Running in 69c9369a8758 06:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:40:50 OK: 263 MiB in 53 packages 06:40:52 Removing intermediate container 69c9369a8758 06:40:52 ---> 6efd48d41f4f 06:40:52 Step 9/26 : WORKDIR /device-onvif-camera 06:40:52 ---> Running in fb1542794225 06:40:52 Removing intermediate container fb1542794225 06:40:52 ---> 8a8541846487 06:40:52 Step 10/26 : COPY go.mod vendor* ./ 06:40:53 ---> c0a2bfe438d9 06:40:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:40:53 ---> Running in e1079fe067cb 06:40:56 Removing intermediate container e1079fe067cb 06:40:56 ---> 55360c0d515e 06:40:56 Step 12/26 : COPY . . 06:40:58 ---> 60999286c4bd 06:40:58 Step 13/26 : RUN ${MAKE} 06:40:58 ---> Running in ce25cee9adc2 06:40:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:43:50 Removing intermediate container ce25cee9adc2 06:43:50 ---> 17efb3182d5c 06:43:50 Step 14/26 : FROM alpine:3.17 06:43:50 3.17: Pulling from library/alpine 06:43:50 c41833b44d91: Pulling fs layer 06:43:50 c41833b44d91: Verifying Checksum 06:43:50 c41833b44d91: Download complete 06:43:50 c41833b44d91: Pull complete 06:43:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:43:50 Status: Downloaded newer image for alpine:3.17 06:43:50 ---> 51e60588ff2c 06:43:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:43:50 ---> Running in d039cb4e0be4 06:43:50 Removing intermediate container d039cb4e0be4 06:43:50 ---> c4d58ec39415 06:43:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:43:50 ---> Running in e0d1fc5cda5d 06:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:43:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:43:50 (1/1) Installing dumb-init (1.2.5-r2) 06:43:50 Executing busybox-1.35.0-r29.trigger 06:43:50 OK: 8 MiB in 16 packages 06:43:50 Removing intermediate container e0d1fc5cda5d 06:43:50 ---> 2651f406c266 06:43:50 Step 17/26 : WORKDIR / 06:43:51 ---> Running in dad71553a2b1 06:43:51 Removing intermediate container dad71553a2b1 06:43:51 ---> 0811341b5c5b 06:43:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:43:52 ---> c94f72f99f2f 06:43:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:43:53 ---> a3ca019de9cf 06:43:53 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:43:54 ---> c0971ea8fcb2 06:43:54 Step 21/26 : EXPOSE 59984 06:43:54 ---> Running in e1ff0a2836f7 06:43:54 Removing intermediate container e1ff0a2836f7 06:43:54 ---> 5e468b8a82f5 06:43:54 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:43:54 ---> Running in f05a85e20152 06:43:54 Removing intermediate container f05a85e20152 06:43:54 ---> c5ce16af0464 06:43:54 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:43:54 ---> Running in ad6a8fd2dd29 06:43:55 Removing intermediate container ad6a8fd2dd29 06:43:55 ---> 00d5d0dbeb11 06:43:55 Step 24/26 : LABEL arch=arm64 06:43:55 ---> Running in c71888a64d7e 06:43:55 Removing intermediate container c71888a64d7e 06:43:55 ---> 5bc4665db9a0 06:43:55 Step 25/26 : LABEL git_sha=c689ec2735047fa853b30b2758522f8f24e125e7 06:43:55 ---> Running in 3077c6a950aa 06:43:56 Removing intermediate container 3077c6a950aa 06:43:56 ---> 17ba7c8cfe06 06:43:56 Step 26/26 : LABEL version=0.0.0 06:43:56 ---> Running in fb291ba667ba 06:43:56 Removing intermediate container fb291ba667ba 06:43:56 ---> bc2f9ba276f1 06:43:56 [Warning] One or more build-args [ARCH] were not consumed 06:43:56 Successfully built bc2f9ba276f1 06:43:56 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:43:56 06:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:43:57 arm64: Pulling from edgex-lftools-log-publisher 06:43:57 8998bd30e6a1: Pulling fs layer 06:43:57 04944245beec: Pulling fs layer 06:43:57 699f458cf7ca: Pulling fs layer 06:43:57 765212b225bb: Pulling fs layer 06:43:57 f23df028b6ca: Pulling fs layer 06:43:57 d65c8cfc05b1: Pulling fs layer 06:43:57 2437ff75d9bd: Pulling fs layer 06:43:57 765212b225bb: Waiting 06:43:57 f23df028b6ca: Waiting 06:43:57 d65c8cfc05b1: Waiting 06:43:57 2437ff75d9bd: Waiting 06:43:57 04944245beec: Verifying Checksum 06:43:57 04944245beec: Download complete 06:43:57 765212b225bb: Verifying Checksum 06:43:57 765212b225bb: Download complete 06:43:57 f23df028b6ca: Verifying Checksum 06:43:57 f23df028b6ca: Download complete 06:43:57 d65c8cfc05b1: Verifying Checksum 06:43:57 d65c8cfc05b1: Download complete 06:43:57 699f458cf7ca: Verifying Checksum 06:43:57 699f458cf7ca: Download complete 06:43:58 8998bd30e6a1: Verifying Checksum 06:43:58 8998bd30e6a1: Download complete 06:44:00 2437ff75d9bd: Verifying Checksum 06:44:00 2437ff75d9bd: Download complete 06:44:02 8998bd30e6a1: Pull complete 06:44:02 04944245beec: Pull complete 06:44:04 699f458cf7ca: Pull complete 06:44:04 765212b225bb: Pull complete 06:44:05 f23df028b6ca: Pull complete 06:44:05 d65c8cfc05b1: Pull complete 06:44:20 2437ff75d9bd: Pull complete 06:44:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:44:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:20 prd-ubuntu20.04-docker-arm64-4c-16g-9508 does not seem to be running inside a container 06:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:44:23 $ docker top f6a101dec83456ead3d08a4e90b2e7fb3aafc579117884a6d5a0a2e25b900c68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:44:24 ---> job-cost.sh 06:44:24 lf-activate-venv: SKIPPING 06:44:24 INFO: No Stack... 06:44:25 INFO: Retrieving Pricing Info for: v3-standard-4 06:44:26 INFO: Archiving Costs [Pipeline] sh 06:44:26 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 06:44:26 + cut -d, -f6 [Pipeline] lock 06:44:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] 06:44:26 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] did not exist. Created. 06:44:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:44:27 /w/workspace/device-onvif-camera/2@tmp/durable-6acd4862/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:44:28 + echo total: 0.10999999940395355 [Pipeline] stash 06:44:28 Warning: overwriting stash ‘stack-cost’ 06:44:28 Stashed 1 file(s) [Pipeline] } 06:44:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:44:28 $ docker stop --time=1 f6a101dec83456ead3d08a4e90b2e7fb3aafc579117884a6d5a0a2e25b900c68 06:44:29 $ docker rm -f --volumes f6a101dec83456ead3d08a4e90b2e7fb3aafc579117884a6d5a0a2e25b900c68 [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 06:44:30 provisioning config files... 06:44:30 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config8550916099485599584tmp [Pipeline] { [Pipeline] sh 06:44:30 + set +x 06:44:30 + curl -s https://codecov.io/bash 06:44:30 + bash -s -- 06:44:30 06:44:30 _____ _ 06:44:30 / ____| | | 06:44:30 | | ___ __| | ___ ___ _____ __ 06:44:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:44:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:44:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:44:30 Bash-1.0.6 06:44:30 06:44:30 06:44:30 ==> git version 2.25.1 found 06:44:30 ==> 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 06:44:30 Release-Date: 2020-01-08 06:44:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:44:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:44:30 ==> Jenkins CI detected. 06:44:30 current dir:  /w/workspace/undry_device-onvif-camera_PR-319 06:44:30 project root: . 06:44:30 --> token set from env 06:44:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:44:30 ==> Running gcov in . (disable via -X gcov) 06:44:30 ==> Python coveragepy not found 06:44:30 ==> Searching for coverage reports in: 06:44:30 + . 06:44:30 -> Found 1 reports 06:44:30 ==> Detecting git/mercurial file structure 06:44:30 ==> Reading reports 06:44:30 + ./coverage.out bytes=78922 06:44:30 ==> Appending adjustments 06:44:30 https://docs.codecov.io/docs/fixing-reports 06:44:30 + Found adjustments 06:44:30 ==> Gzipping contents 06:44:30 12K /tmp/codecov.5JaFVh.gz 06:44:30 ==> Uploading reports 06:44:30 url: https://codecov.io 06:44:30 query: branch=PR-319&commit=c689ec2735047fa853b30b2758522f8f24e125e7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-319%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=319&job=&cmd_args= 06:44:30 -> Pinging Codecov 06:44:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-319&commit=c689ec2735047fa853b30b2758522f8f24e125e7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-319%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=319&job=&cmd_args= 06:44:31 -> Uploading to 06:44:31 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/F29A59C45E3A92E06B3E522C9905F8EF/c689ec2735047fa853b30b2758522f8f24e125e7/dae5f44b-65b2-4142-a1d3-8e94ff4ac689.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T064431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e59dc12e1114289c08aa509d5e5d9ac8f822389ec95bd902e53cd5dae077219 06:44:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:44:31 Dload Upload Total Spent Left Speed 06:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 44685 --:--:-- --:--:-- --:--:-- 44685 06:44:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c689ec2735047fa853b30b2758522f8f24e125e7 [Pipeline] } 06:44: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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:44:32 + [ -d /w/workspace/undry_device-onvif-camera_PR-319/archives ] 06:44:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives 06:44:32 total 16 06:44:32 drwxr-xr-x 3 root root 4096 Apr 24 06:33 . 06:44:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. 06:44:32 drwxr-xr-x 2 root root 4096 Apr 24 06:33 cost 06:44:32 -rw-r--r-- 1 root root 91 Apr 24 06:33 cost.csv 06:44:32 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-319/archives 06:44:32 + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives 06:44:32 total 16 06:44:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:33 . 06:44:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:33 .. 06:44:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:33 cost 06:44:32 -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:44:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:44:33 ---> package-listing.sh 06:44:33 ++ facter osfamily 06:44:33 ++ tr '[:upper:]' '[:lower:]' 06:44:33 + OS_FAMILY=debian 06:44:33 + workspace=/w/workspace/undry_device-onvif-camera_PR-319 06:44:33 + START_PACKAGES=/tmp/packages_start.txt 06:44:33 + END_PACKAGES=/tmp/packages_end.txt 06:44:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:44:33 + PACKAGES=/tmp/packages_start.txt 06:44:33 + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' 06:44:33 + PACKAGES=/tmp/packages_end.txt 06:44:33 + case "${OS_FAMILY}" in 06:44:33 + dpkg -l 06:44:33 + grep '^ii' 06:44:33 + '[' -f /tmp/packages_start.txt ']' 06:44:33 + '[' -f /tmp/packages_end.txt ']' 06:44:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:44:33 + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' 06:44:33 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-319/archives/ 06:44:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-319/archives/ [Pipeline] echo 06:44:33 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:44:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:44:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:44:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:44:34 prd-ubuntu20.04-docker-8c-8g-9499 does not seem to be running inside a container 06:44:34 $ 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-319/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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:44:34 $ docker top 492488a5bb5a825d78ec2222b1d339a6c95ed9967b0281bfcca7c1a209452600 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:35 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:35 + mkdir -p /var/log/sysstat [Pipeline] sh 06:44:35 + ls /var/log/sa-host 06:44:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:35 provisioning config files... 06:44:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config16682315501686642737tmp [Pipeline] { [Pipeline] echo 06:44:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:36 ---> create-netrc.sh [Pipeline] } 06:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:44:36 ---> python-tools-install.sh [Pipeline] echo 06:44:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:36 ---> sudo-logs.sh 06:44:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:44:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:36 ---> job-cost.sh 06:44:36 lf-activate-venv: SKIPPING 06:44:36 DEBUG: total: 0.2199999988079071 06:44:36 INFO: Retrieving Stack Cost... 06:44:37 INFO: Retrieving Pricing Info for: v3-standard-8 06:44:37 INFO: Archiving Costs [Pipeline] echo 06:44:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:38 ---> logs-deploy.sh 06:44:38 lf-activate-venv: SKIPPING 06:44:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-319/2 06:44:38 INFO: archiving workspace using pattern(s): 06:44:39 Archives upload complete. 06:44:39 INFO: archiving logs to Nexus