Pull request #238 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 4a9e67fa37862f83ef90b637e6c765491ff37d3a rather than 441aa57bacf6614b7b1e2353e163791d24ad1f8e Obtained Jenkinsfile from 4a9e67fa37862f83ef90b637e6c765491ff37d3a 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-ssh3952456118330548763.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15746597170975828775.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-238/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-238/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14541373010617356872.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16182857817537775014.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-238/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-238/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5517452763510042201.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.18 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7655 in /w/workspace/undry_device-onvif-camera_PR-238 [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-238 # 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/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 441aa57bacf6614b7b1e2353e163791d24ad1f8e Merge succeeded, producing 441aa57bacf6614b7b1e2353e163791d24ad1f8e Checking out Revision 441aa57bacf6614b7b1e2353e163791d24ad1f8e (PR-238) > git config core.sparsecheckout # timeout=10 > git checkout -f 441aa57bacf6614b7b1e2353e163791d24ad1f8e # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 441aa57bacf6614b7b1e2353e163791d24ad1f8e # timeout=10 Commit message: "refactor!: updated secret path to secret name on scripts" > git rev-list --no-walk d4a8ee8e5f273a9059b881064c39880a8564046d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:16:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:16:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:16:56 ========================================================= 21:16:56 EdgeX Global Pipelines Version Info 21:16:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:16:56 ------------------- 21:16:56 stable info: 21:16:56 ------------------- 21:16:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:16:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:16:56 Message: update stable to v1.0.244 21:16:57 ------------------- 21:16:57 experimental info: 21:16:57 ------------------- 21:16:57 Commited By: **** collab-it+edgex@linuxfoundation.org 21:16:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:16:57 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-238 [Pipeline] echo 21:16:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-238 [Pipeline] echo 21:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-238 [Pipeline] echo 21:16:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 441aa57bacf6614b7b1e2353e163791d24ad1f8e [Pipeline] echo 21:16:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 441aa57 [Pipeline] echo 21:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:58 provisioning config files... 21:16:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config2127176316553696680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:58 ---> docker-login.sh 21:16:58 nexus3.edgexfoundry.org:10001 21:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:58 Configure a credential helper to remove this warning. See 21:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:58 21:16:58 Login Succeeded 21:16:58 nexus3.edgexfoundry.org:10002 21:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:58 Configure a credential helper to remove this warning. See 21:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:58 21:16:58 Login Succeeded 21:16:58 nexus3.edgexfoundry.org:10003 21:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:58 Configure a credential helper to remove this warning. See 21:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:58 21:16:58 Login Succeeded 21:16:58 nexus3.edgexfoundry.org:10004 21:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:58 Configure a credential helper to remove this warning. See 21:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:58 21:16:58 Login Succeeded 21:16:58 docker.io 21:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:16:59 Configure a credential helper to remove this warning. See 21:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:16:59 21:16:59 Login Succeeded 21:16:59 ---> docker-login.sh ends [Pipeline] } 21:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:16:59 + git rev-list -1 --merges 441aa57bacf6614b7b1e2353e163791d24ad1f8e~1..441aa57bacf6614b7b1e2353e163791d24ad1f8e [Pipeline] echo 21:16:59 -----------> git rev-list -1 --merges 441aa57bacf6614b7b1e2353e163791d24ad1f8e~1..441aa57bacf6614b7b1e2353e163791d24ad1f8e 441aa57bacf6614b7b1e2353e163791d24ad1f8e [false] [Pipeline] sh 21:16:59 + git log --format=format:%s -1 441aa57bacf6614b7b1e2353e163791d24ad1f8e [Pipeline] echo 21:16:59 ========================================================= 21:16:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:16:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:00 + git log --format=format:%s -1 441aa57bacf6614b7b1e2353e163791d24ad1f8e [Pipeline] echo 21:17:00 [semverPrep] GIT_COMMIT: 441aa57bacf6614b7b1e2353e163791d24ad1f8e, Commit Message: refactor!: updated secret path to secret name on scripts [Pipeline] echo 21:17:00 [semverPrep] This is not a build commit. [Pipeline] sh 21:17:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:00 + grep -v github /etc/ssh/ssh_known_hosts 21:17:00 + [ -e /tmp/ssh_known_hosts ] 21:17:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:17:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:17:00 + sudo tee -a /etc/ssh/ssh_known_hosts 21:17:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:00 21:17:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:01 0.1.4: Pulling from edgex-devops/py-git-semver 21:17:01 b85a868b505f: Pulling fs layer 21:17:01 e2be974225ed: Pulling fs layer 21:17:01 339a4e72a1f5: Pulling fs layer 21:17:01 988bab9f4d93: Pulling fs layer 21:17:01 1469e6f7b9e6: Pulling fs layer 21:17:01 eaf3925da568: Pulling fs layer 21:17:01 bab4dde63d76: Pulling fs layer 21:17:01 bde34c3a00c8: Pulling fs layer 21:17:01 b352a97aabf1: Pulling fs layer 21:17:01 4872d77fe225: Pulling fs layer 21:17:01 5851b861e8e6: Pulling fs layer 21:17:01 988bab9f4d93: Waiting 21:17:01 1469e6f7b9e6: Waiting 21:17:01 eaf3925da568: Waiting 21:17:01 bab4dde63d76: Waiting 21:17:01 bde34c3a00c8: Waiting 21:17:01 e2be974225ed: Verifying Checksum 21:17:01 e2be974225ed: Download complete 21:17:01 988bab9f4d93: Verifying Checksum 21:17:01 988bab9f4d93: Download complete 21:17:01 1469e6f7b9e6: Verifying Checksum 21:17:01 1469e6f7b9e6: Download complete 21:17:01 eaf3925da568: Download complete 21:17:01 339a4e72a1f5: Verifying Checksum 21:17:01 339a4e72a1f5: Download complete 21:17:01 bde34c3a00c8: Verifying Checksum 21:17:01 bde34c3a00c8: Download complete 21:17:01 b352a97aabf1: Download complete 21:17:01 4872d77fe225: Download complete 21:17:01 5851b861e8e6: Download complete 21:17:01 b85a868b505f: Verifying Checksum 21:17:01 b85a868b505f: Download complete 21:17:01 bab4dde63d76: Verifying Checksum 21:17:01 bab4dde63d76: Download complete 21:17:02 b85a868b505f: Pull complete 21:17:03 e2be974225ed: Pull complete 21:17:03 339a4e72a1f5: Pull complete 21:17:03 988bab9f4d93: Pull complete 21:17:03 1469e6f7b9e6: Pull complete 21:17:03 eaf3925da568: Pull complete 21:17:05 bab4dde63d76: Pull complete 21:17:05 bde34c3a00c8: Pull complete 21:17:05 b352a97aabf1: Pull complete 21:17:05 4872d77fe225: Pull complete 21:17:05 5851b861e8e6: Pull complete 21:17:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:17:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:06 prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container 21:17:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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-devops/py-git-semver:0.1.4 cat 21:17:07 $ docker top 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c -eo pid,comm 21:17: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). 21:17:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:17:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:07 [ssh-agent] Looking for ssh-agent implementation... 21:17:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:07 $ docker exec 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c ssh-agent 21:17:07 SSH_AUTH_SOCK=/tmp/ssh-SCx1vSDDPlpw/agent.32 21:17:07 SSH_AGENT_PID=38 21:17:07 Running ssh-add (command line suppressed) 21:17:07 Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_5254036481770705731.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_5254036481770705731.key) 21:17:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:08 + git tag --points-at HEAD [Pipeline] } 21:17:08 $ docker exec --env ******** --env ******** 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c ssh-agent -k 21:17:08 unset SSH_AUTH_SOCK; 21:17:08 unset SSH_AGENT_PID; 21:17:08 echo Agent pid 38 killed; 21:17:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:17:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:17:08 [ssh-agent] Looking for ssh-agent implementation... 21:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:17:08 $ docker exec 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c ssh-agent 21:17:08 SSH_AUTH_SOCK=/tmp/ssh-BkYAg5dWJl54/agent.70 21:17:08 SSH_AGENT_PID=76 21:17:08 Running ssh-add (command line suppressed) 21:17:08 Identity added: /w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_18434788130175698479.key (/w/workspace/undry_device-onvif-camera_PR-238@tmp/private_key_18434788130175698479.key) 21:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:17:08 + git semver init 21:17:09 2023-02-27 21:17:09,157 [run_init] DEBUG init version:0.0.0 force:False 21:17:09 2023-02-27 21:17:09,159 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-238/.semver 21:17:09 2023-02-27 21:17:09,159 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-238/.semver 21:17:09 2023-02-27 21:17:09,160 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-238/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-238, universal_newlines=False, shell=None, istream=None) 21:17:10 2023-02-27 21:17:10,122 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-238/.git/info/exclude 21:17:10 2023-02-27 21:17:10,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 with force:False 21:17:10 2023-02-27 21:17:10,123 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 21:17:10 2023-02-27 21:17:10,127 [execute] INFO git cat-file --batch-check 21:17:10 2023-02-27 21:17:10,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) 21:17:10 2023-02-27 21:17:10,134 [execute] INFO git cat-file --batch 21:17:10 2023-02-27 21:17:10,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-238/.semver, universal_newlines=False, shell=None, istream=) 21:17:10 2023-02-27 21:17:10,139 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-238/.semver/PR-238 21:17:10 0.0.0 [Pipeline] } 21:17:10 $ docker exec --env ******** --env ******** 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c ssh-agent -k 21:17:10 unset SSH_AUTH_SOCK; 21:17:10 unset SSH_AGENT_PID; 21:17:10 echo Agent pid 76 killed; 21:17:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:10 + git semver [Pipeline] } 21:17:11 $ docker stop --time=1 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c 21:17:12 $ docker rm -f --volumes 4db68b36fcee68f6be9f7d08e9c52634a56c107158b6fe038c27021379994d6c [Pipeline] // withDockerContainer [Pipeline] sh 21:17:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:17:13 Stashed 1 file(s) [Pipeline] echo 21:17:13 [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 21:17:13 provisioning config files... 21:17:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config13244933345335159581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:13 ---> docker-login.sh 21:17:13 nexus3.edgexfoundry.org:10001 21:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:13 Configure a credential helper to remove this warning. See 21:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:13 21:17:13 Login Succeeded 21:17:13 nexus3.edgexfoundry.org:10002 21:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:13 Configure a credential helper to remove this warning. See 21:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:13 21:17:13 Login Succeeded 21:17:13 nexus3.edgexfoundry.org:10003 21:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:13 Configure a credential helper to remove this warning. See 21:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:13 21:17:13 Login Succeeded 21:17:13 nexus3.edgexfoundry.org:10004 21:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:13 Configure a credential helper to remove this warning. See 21:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:13 21:17:13 Login Succeeded 21:17:13 docker.io 21:17:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:13 Configure a credential helper to remove this warning. See 21:17:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:13 21:17:13 Login Succeeded 21:17:13 ---> docker-login.sh ends [Pipeline] } 21:17:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:14 ========================================================= 21:17:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:17:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:17:14 Sending build context to Docker daemon 27.91MB 21:17:14 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:17:14 Step 2/13 : FROM ${BASE} AS builder 21:17:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:17:14 213ec9aee27d: Pulling fs layer 21:17:14 4583459ba037: Pulling fs layer 21:17:14 93c1e223e6f2: Pulling fs layer 21:17:14 53926ce57604: Pulling fs layer 21:17:14 21b2b0c7a3f4: Pulling fs layer 21:17:14 22ff95d597cd: Pulling fs layer 21:17:14 12d6caf4c0d1: Pulling fs layer 21:17:14 96b7cbca73a9: Pulling fs layer 21:17:14 21b2b0c7a3f4: Waiting 21:17:14 12d6caf4c0d1: Waiting 21:17:14 22ff95d597cd: Waiting 21:17:14 53926ce57604: Waiting 21:17:14 96b7cbca73a9: Waiting 21:17:14 a7acece74701: Pulling fs layer 21:17:14 a7acece74701: Waiting 21:17:14 93c1e223e6f2: Download complete 21:17:14 4583459ba037: Verifying Checksum 21:17:14 4583459ba037: Download complete 21:17:14 21b2b0c7a3f4: Verifying Checksum 21:17:14 21b2b0c7a3f4: Download complete 21:17:14 22ff95d597cd: Verifying Checksum 21:17:14 22ff95d597cd: Download complete 21:17:14 213ec9aee27d: Verifying Checksum 21:17:14 213ec9aee27d: Download complete 21:17:14 12d6caf4c0d1: Verifying Checksum 21:17:14 12d6caf4c0d1: Download complete 21:17:14 213ec9aee27d: Pull complete 21:17:14 4583459ba037: Pull complete 21:17:14 93c1e223e6f2: Pull complete 21:17:15 53926ce57604: Download complete 21:17:15 a7acece74701: Verifying Checksum 21:17:15 a7acece74701: Download complete 21:17:15 96b7cbca73a9: Verifying Checksum 21:17:15 96b7cbca73a9: Download complete 21:17:18 53926ce57604: Pull complete 21:17:18 21b2b0c7a3f4: Pull complete 21:17:19 22ff95d597cd: Pull complete 21:17:19 12d6caf4c0d1: Pull complete 21:17:20 96b7cbca73a9: Pull complete 21:17:21 a7acece74701: Pull complete 21:17:21 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:17:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:17:21 ---> db6d94c90886 21:17:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:17:23 ---> Running in abbfdff14b21 21:17:23 Removing intermediate container abbfdff14b21 21:17:23 ---> a314f1fd7617 21:17:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:23 ---> Running in d12d07cd24dc 21:17:23 Removing intermediate container d12d07cd24dc 21:17:23 ---> de80ec9312b4 21:17:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:17:23 ---> Running in 9c0d00a8f59c 21:17:23 Removing intermediate container 9c0d00a8f59c 21:17:23 ---> 54d6d44fe34a 21:17:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:17:23 ---> Running in 5574b14ba81a 21:17:23 Removing intermediate container 5574b14ba81a 21:17:23 ---> a05a33778ad8 21:17:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:17:24 ---> Running in 73032deba0b5 21:17:24 Removing intermediate container 73032deba0b5 21:17:24 ---> ed2e7a68fb3f 21:17:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:24 ---> Running in 19fa5eedbf21 21:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:17:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:17:24 OK: 211 MiB in 51 packages 21:17:25 Removing intermediate container 19fa5eedbf21 21:17:25 ---> 483326368031 21:17:25 Step 9/13 : WORKDIR /device-onvif-camera 21:17:25 ---> Running in 46623ac8e537 21:17:25 Removing intermediate container 46623ac8e537 21:17:25 ---> 7353b4e19771 21:17:25 Step 10/13 : COPY go.mod vendor* ./ 21:17:25 ---> a86685803e48 21:17:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:25 ---> Running in 19e980e350d2 21:17:28 Still waiting to schedule task 21:17:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:18:04 Removing intermediate container 19e980e350d2 21:18:04 ---> 90b7548c4fcb 21:18:04 Step 12/13 : COPY . . 21:18:04 ---> 6c2e5c9e223a 21:18:04 Step 13/13 : RUN ${MAKE} 21:18:04 ---> Running in 0dd7da6b93f5 21:18:04 noop 21:18:04 Removing intermediate container 0dd7da6b93f5 21:18:04 ---> 5938b45ed594 21:18:04 Successfully built 5938b45ed594 21:18:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:04 + docker inspect -f . ci-base-image-x86_64 21:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:04 prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container 21:18:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:18:04 $ docker top 622cd8179f8ca81294a5bbc019c30bbda1c54db1998cef7cd77128cf3aa54506 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:05 + go version 21:18:05 go version go1.18.7 linux/amd64 [Pipeline] } 21:18:05 $ docker stop --time=1 622cd8179f8ca81294a5bbc019c30bbda1c54db1998cef7cd77128cf3aa54506 21:18:06 $ docker rm -f --volumes 622cd8179f8ca81294a5bbc019c30bbda1c54db1998cef7cd77128cf3aa54506 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:06 + docker inspect -f . ci-base-image-x86_64 21:18:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:18:06 prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container 21:18:06 $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:18:07 $ docker top cd640f3150aa1d8a8cf3271efc89db542e44c7d7a58b005eac38f4837f952f37 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:07 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] fileExists [Pipeline] sh 21:18:07 + make test 21:18:07 go test ./... -coverprofile=coverage.out ./... 21:18:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:18:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:18:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements 21:18:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:18:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.368s coverage: 86.5% of statements 21:18:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:18:28 go vet ./... 21:18:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:31 $ docker stop --time=1 cd640f3150aa1d8a8cf3271efc89db542e44c7d7a58b005eac38f4837f952f37 21:18:33 $ docker rm -f --volumes cd640f3150aa1d8a8cf3271efc89db542e44c7d7a58b005eac38f4837f952f37 [Pipeline] // withDockerContainer [Pipeline] sh 21:18:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:18:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:34 + ls -al . 21:18:34 total 236 21:18:34 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 21:18 . 21:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:16 .. 21:18:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 21:18 .git 21:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:16 .github 21:18:34 -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 21:16 .gitignore 21:18:34 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 21:16 .golangci.yml 21:18:34 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 21:17 .semver 21:18:34 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 21:16 Attribution.txt 21:18:34 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 21:16 CHANGELOG.md 21:18:34 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 21:16 Dockerfile 21:18:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 21:16 GOVERNANCE.md 21:18:34 -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 21:16 Jenkinsfile 21:18:34 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 21:16 LICENSE 21:18:34 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 21:16 Makefile 21:18:34 -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 21:16 OWNERS.md 21:18:34 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 21:16 README.md 21:18:34 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 21:17 VERSION 21:18:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:16 bin 21:18:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:16 cmd 21:18:34 -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 21:18 coverage.out 21:18:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 21:16 doc 21:18:34 -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 21:16 go.mod 21:18:34 -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 21:16 go.sum 21:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:16 internal 21:18:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:16 snap 21:18:34 -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 21:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:35 + 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=441aa57bacf6614b7b1e2353e163791d24ad1f8e --label arch=amd64 --label version=0.0.0 . 21:18:35 Sending build context to Docker daemon 27.99MB 21:18:35 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:18:35 Step 2/26 : FROM ${BASE} AS builder 21:18:35 ---> 5938b45ed594 21:18:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:18:35 ---> Running in 63249dbbd097 21:18:35 Removing intermediate container 63249dbbd097 21:18:35 ---> ac04d4198d24 21:18:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:35 ---> Running in 06043f6de5ba 21:18:35 Removing intermediate container 06043f6de5ba 21:18:35 ---> 4110003346dd 21:18:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:18:35 ---> Running in f35ad9679489 21:18:35 Removing intermediate container f35ad9679489 21:18:35 ---> 0f44b0004b0a 21:18:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:18:35 ---> Running in 9cb17853f428 21:18:35 Removing intermediate container 9cb17853f428 21:18:35 ---> 9b93f26a0634 21:18:35 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:18:35 ---> Running in 3d43941b8bbf 21:18:35 Removing intermediate container 3d43941b8bbf 21:18:35 ---> 956f0afd9f70 21:18:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:35 ---> Running in c5a092a94b39 21:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:18:36 OK: 211 MiB in 51 packages 21:18:36 Removing intermediate container c5a092a94b39 21:18:36 ---> 75c068072737 21:18:36 Step 9/26 : WORKDIR /device-onvif-camera 21:18:36 ---> Running in 45fe7e278ffe 21:18:37 Removing intermediate container 45fe7e278ffe 21:18:37 ---> 379c58d0d474 21:18:37 Step 10/26 : COPY go.mod vendor* ./ 21:18:37 ---> b51d762cde34 21:18:37 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:37 ---> Running in f1af8162c75f 21:18:38 Removing intermediate container f1af8162c75f 21:18:38 ---> 04d29e96f732 21:18:38 Step 12/26 : COPY . . 21:18:38 ---> e524702d61b1 21:18:38 Step 13/26 : RUN ${MAKE} 21:18:38 ---> Running in 24101c7fdd4e 21:18:38 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 21:19:00 Removing intermediate container 24101c7fdd4e 21:19:00 ---> 15765541ae3e 21:19:00 Step 14/26 : FROM alpine:3.16 21:19:00 3.16: Pulling from library/alpine 21:19:00 ef5531b6e74e: Pulling fs layer 21:19:00 ef5531b6e74e: Verifying Checksum 21:19:00 ef5531b6e74e: Download complete 21:19:00 ef5531b6e74e: Pull complete 21:19:00 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:19:00 Status: Downloaded newer image for alpine:3.16 21:19:00 ---> dfd21b5a31f5 21:19:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:19:00 ---> Running in c53f5a4e1838 21:19:00 Removing intermediate container c53f5a4e1838 21:19:00 ---> 0b560fef696d 21:19:00 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:19:00 ---> Running in ec8cf8501861 21:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:19:00 (1/1) Installing dumb-init (1.2.5-r1) 21:19:00 Executing busybox-1.35.0-r17.trigger 21:19:00 OK: 6 MiB in 15 packages 21:19:00 Removing intermediate container ec8cf8501861 21:19:00 ---> 128921f009fb 21:19:00 Step 17/26 : WORKDIR / 21:19:00 ---> Running in 0228d8f87d29 21:19:00 Removing intermediate container 0228d8f87d29 21:19:00 ---> 5ebaffc70678 21:19:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:19:00 ---> c0129b486fcb 21:19:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:19:00 ---> 62a8029f0626 21:19:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:19:00 ---> af341a0c90a4 21:19:00 Step 21/26 : EXPOSE 59984 21:19:00 ---> Running in a79b31fa15e8 21:19:00 Removing intermediate container a79b31fa15e8 21:19:00 ---> db03feca9535 21:19:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:19:00 ---> Running in 53a7839c58b5 21:19:00 Removing intermediate container 53a7839c58b5 21:19:00 ---> c1eacbf8945f 21:19:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:19:00 ---> Running in a22c2d980385 21:19:00 Removing intermediate container a22c2d980385 21:19:00 ---> f535428d03ad 21:19:00 Step 24/26 : LABEL arch=amd64 21:19:00 ---> Running in cd077a79700d 21:19:00 Removing intermediate container cd077a79700d 21:19:00 ---> b364f5d39321 21:19:00 Step 25/26 : LABEL git_sha=441aa57bacf6614b7b1e2353e163791d24ad1f8e 21:19:00 ---> Running in 3c2118d1cbab 21:19:00 Removing intermediate container 3c2118d1cbab 21:19:00 ---> 57fbcb5bb141 21:19:00 Step 26/26 : LABEL version=0.0.0 21:19:00 ---> Running in 04152b29573f 21:19:01 Removing intermediate container 04152b29573f 21:19:01 ---> 05503807b24b 21:19:01 [Warning] One or more build-args [ARCH] were not consumed 21:19:01 Successfully built 05503807b24b 21:19:01 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 21:19:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:01 21:19:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:19:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:01 latest: Pulling from edgex-lftools-log-publisher 21:19:01 5eb5b503b376: Pulling fs layer 21:19:01 5c69ac0246d0: Pulling fs layer 21:19:01 ec43610c2a17: Pulling fs layer 21:19:01 3a2ae6a8a46f: Pulling fs layer 21:19:01 33b1e0a273af: Pulling fs layer 21:19:01 5d3b04190fa2: Pulling fs layer 21:19:01 2f39f015ded8: Pulling fs layer 21:19:01 3a2ae6a8a46f: Waiting 21:19:01 33b1e0a273af: Waiting 21:19:01 5d3b04190fa2: Waiting 21:19:01 5c69ac0246d0: Download complete 21:19:01 3a2ae6a8a46f: Verifying Checksum 21:19:01 3a2ae6a8a46f: Download complete 21:19:02 33b1e0a273af: Verifying Checksum 21:19:02 33b1e0a273af: Download complete 21:19:02 5d3b04190fa2: Verifying Checksum 21:19:02 5d3b04190fa2: Download complete 21:19:02 ec43610c2a17: Verifying Checksum 21:19:02 ec43610c2a17: Download complete 21:19:02 5eb5b503b376: Verifying Checksum 21:19:02 5eb5b503b376: Download complete 21:19:02 2f39f015ded8: Download complete 21:19:03 5eb5b503b376: Pull complete 21:19:03 5c69ac0246d0: Pull complete 21:19:03 ec43610c2a17: Pull complete 21:19:03 3a2ae6a8a46f: Pull complete 21:19:03 33b1e0a273af: Pull complete 21:19:03 5d3b04190fa2: Pull complete 21:19:08 2f39f015ded8: Pull complete 21:19:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:19:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:19:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:19:08 prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container 21:19:08 $ 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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:19:10 $ docker top 3146297730e9162e050ef33cab371607b1d714ffdd371501dbcc3329dc986c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:10 ---> job-cost.sh 21:19:10 lf-activate-venv: SKIPPING 21:19:10 INFO: No Stack... 21:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:19:10 INFO: Archiving Costs [Pipeline] sh 21:19:11 + cat /w/workspace/undry_device-onvif-camera_PR-238/archives/cost.csv 21:19:11 + cut -d, -f6 [Pipeline] lock 21:19:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] 21:19:11 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] did not exist. Created. 21:19:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:19:11 + echo total: 0.2199999988079071 [Pipeline] stash 21:19:11 Stashed 1 file(s) [Pipeline] } 21:19:11 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:19:11 $ docker stop --time=1 3146297730e9162e050ef33cab371607b1d714ffdd371501dbcc3329dc986c1a 21:19:12 $ docker rm -f --volumes 3146297730e9162e050ef33cab371607b1d714ffdd371501dbcc3329dc986c1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7657 in /w/workspace/undry_device-onvif-camera_PR-238 [Pipeline] { [Pipeline] ws 21:20:43 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 21:20:43 The recommended git tool is: git 21:20:50 using credential edgex-jenkins-ssh 21:20:50 Cloning the remote Git repository 21:20:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:20:50 > git init /w/workspace/device-onvif-camera/4 # timeout=10 21:20:51 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:20:51 > git --version # timeout=10 21:20:51 > git --version # 'git version 2.25.1' 21:20:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:20:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:20:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:20:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:20:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/238/head:refs/remotes/origin/PR-238 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:20:54 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 441aa57bacf6614b7b1e2353e163791d24ad1f8e 21:20:55 Merge succeeded, producing 441aa57bacf6614b7b1e2353e163791d24ad1f8e 21:20:55 Checking out Revision 441aa57bacf6614b7b1e2353e163791d24ad1f8e (PR-238) 21:20:54 > git config core.sparsecheckout # timeout=10 21:20:54 > git checkout -f 441aa57bacf6614b7b1e2353e163791d24ad1f8e # timeout=10 21:20:55 > git remote # timeout=10 21:20:55 > git config --get remote.origin.url # timeout=10 21:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:20:55 > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 21:20:55 > git rev-parse HEAD^{commit} # timeout=10 21:20:55 > git config core.sparsecheckout # timeout=10 21:20:55 > git checkout -f 441aa57bacf6614b7b1e2353e163791d24ad1f8e # timeout=10 21:20:59 Commit message: "refactor!: updated secret path to secret name on scripts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:21:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:00 Dload Upload Total Spent Left Speed 21:21:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 21:21:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:21:01 + sudo tee /etc/docker/daemon.new 21:21:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:21:01 { 21:21:01 "registry-mirrors": [ 21:21:01 "https://nexus3.edgexfoundry.org:10001" 21:21:01 ], 21:21:01 "bip": "10.250.0.254/24", 21:21:01 "hosts": [ 21:21:01 "tcp://0.0.0.0:5555", 21:21:01 "unix:///var/run/docker.sock" 21:21:01 ], 21:21:01 "mtu": 1458, 21:21:01 "selinux-enabled": true, 21:21:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:21:01 } [Pipeline] sh 21:21:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:21:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:20 provisioning config files... 21:21:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config16819940669561527424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:20 ---> docker-login.sh 21:21:20 nexus3.edgexfoundry.org:10001 21:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:21 Configure a credential helper to remove this warning. See 21:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:21 21:21:21 Login Succeeded 21:21:21 nexus3.edgexfoundry.org:10002 21:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:21 Configure a credential helper to remove this warning. See 21:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:21 21:21:21 Login Succeeded 21:21:21 nexus3.edgexfoundry.org:10003 21:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:21 Configure a credential helper to remove this warning. See 21:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:21 21:21:21 Login Succeeded 21:21:21 nexus3.edgexfoundry.org:10004 21:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:22 Configure a credential helper to remove this warning. See 21:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:22 21:21:22 Login Succeeded 21:21:22 docker.io 21:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:22 Configure a credential helper to remove this warning. See 21:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:22 21:21:22 Login Succeeded 21:21:22 ---> docker-login.sh ends [Pipeline] } 21:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:23 ========================================================= 21:21:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:21:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:21:24 Sending build context to Docker daemon 20.72MB 21:21:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:21:24 Step 2/13 : FROM ${BASE} AS builder 21:21:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:21:24 9b18e9b68314: Pulling fs layer 21:21:24 35d82f9e3411: Pulling fs layer 21:21:24 e16973657156: Pulling fs layer 21:21:24 fc693d55d65f: Pulling fs layer 21:21:24 7e9fc2657dce: Pulling fs layer 21:21:24 dda99020689f: Pulling fs layer 21:21:24 db1c61fa0a46: Pulling fs layer 21:21:24 891c053d2c06: Pulling fs layer 21:21:24 dda99020689f: Waiting 21:21:24 db1c61fa0a46: Waiting 21:21:24 fc693d55d65f: Waiting 21:21:24 891c053d2c06: Waiting 21:21:24 7e9fc2657dce: Waiting 21:21:24 e16973657156: Verifying Checksum 21:21:24 e16973657156: Download complete 21:21:24 35d82f9e3411: Verifying Checksum 21:21:24 35d82f9e3411: Download complete 21:21:24 7e9fc2657dce: Verifying Checksum 21:21:24 7e9fc2657dce: Download complete 21:21:24 dda99020689f: Verifying Checksum 21:21:24 dda99020689f: Download complete 21:21:24 9b18e9b68314: Verifying Checksum 21:21:25 9b18e9b68314: Pull complete 21:21:25 891c053d2c06: Verifying Checksum 21:21:25 891c053d2c06: Download complete 21:21:26 35d82f9e3411: Pull complete 21:21:26 e16973657156: Pull complete 21:21:26 db1c61fa0a46: Verifying Checksum 21:21:26 db1c61fa0a46: Download complete 21:21:27 fc693d55d65f: Verifying Checksum 21:21:27 fc693d55d65f: Download complete 21:21:42 fc693d55d65f: Pull complete 21:21:42 7e9fc2657dce: Pull complete 21:21:42 dda99020689f: Pull complete 21:21:49 db1c61fa0a46: Pull complete 21:21:51 891c053d2c06: Pull complete 21:21:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:21:51 ---> f96f9c87975a 21:21:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:21:52 ---> Running in 66cc5d833843 21:21:53 Removing intermediate container 66cc5d833843 21:21:53 ---> f8948b869a1e 21:21:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:53 ---> Running in 9b3206612638 21:21:53 Removing intermediate container 9b3206612638 21:21:53 ---> 80b2e92bf90c 21:21:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 21:21:53 ---> Running in 268abaaf2d3e 21:21:54 Removing intermediate container 268abaaf2d3e 21:21:54 ---> 7982ccc97fe6 21:21:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:21:54 ---> Running in bfc1627fe1c7 21:21:54 Removing intermediate container bfc1627fe1c7 21:21:54 ---> 4724a7f303a9 21:21:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 21:21:54 ---> Running in af3254b7a323 21:21:54 Removing intermediate container af3254b7a323 21:21:54 ---> a3e8cb3b0f1c 21:21:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:54 ---> Running in 2b617da8f37b 21:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:21:57 OK: 221 MiB in 51 packages 21:21:58 Removing intermediate container 2b617da8f37b 21:21:58 ---> 1be90f3f4e92 21:21:58 Step 9/13 : WORKDIR /device-onvif-camera 21:21:58 ---> Running in 05174957f7ac 21:21:58 Removing intermediate container 05174957f7ac 21:21:58 ---> 1f64d062f003 21:21:58 Step 10/13 : COPY go.mod vendor* ./ 21:21:59 ---> 4b2ca7faa35d 21:21:59 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:59 ---> Running in 9756e5cfb9b2 21:23:07 Removing intermediate container 9756e5cfb9b2 21:23:07 ---> cbb7d230140e 21:23:07 Step 12/13 : COPY . . 21:23:07 ---> e6657a479a7c 21:23:07 Step 13/13 : RUN ${MAKE} 21:23:07 ---> Running in ec5106992d28 21:23:07 noop 21:23:07 Removing intermediate container ec5106992d28 21:23:07 ---> 6a02ba5670bb 21:23:07 Successfully built 6a02ba5670bb 21:23:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:07 + docker inspect -f . ci-base-image-arm64 21:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:07 prd-ubuntu20.04-docker-arm64-4c-16g-7657 does not seem to be running inside a container 21:23:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:23:08 $ docker top cb5675cc9f277916d13b0f12126c830c55a5f7a1da17f56cfc56705fd4bd569a -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:09 + go version 21:23:09 go version go1.18.7 linux/arm64 [Pipeline] } 21:23:09 $ docker stop --time=1 cb5675cc9f277916d13b0f12126c830c55a5f7a1da17f56cfc56705fd4bd569a 21:23:11 $ docker rm -f --volumes cb5675cc9f277916d13b0f12126c830c55a5f7a1da17f56cfc56705fd4bd569a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:11 + docker inspect -f . ci-base-image-arm64 21:23:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:12 prd-ubuntu20.04-docker-arm64-4c-16g-7657 does not seem to be running inside a container 21:23: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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:23:13 $ docker top 3e0954211234a5d190c158e5ca298847e90e3afab1cdeaabd5889c9d3286782c -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 21:23:15 + make test 21:23:15 go test ./... -coverprofile=coverage.out ./... 21:23:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:24:53 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:24:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.200s coverage: 29.3% of statements 21:24:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:25:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.614s coverage: 86.5% of statements 21:25:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:25:11 go vet ./... 21:25:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:25:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:25:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:25:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:25:44 $ docker stop --time=1 3e0954211234a5d190c158e5ca298847e90e3afab1cdeaabd5889c9d3286782c 21:25:45 $ docker rm -f --volumes 3e0954211234a5d190c158e5ca298847e90e3afab1cdeaabd5889c9d3286782c [Pipeline] // withDockerContainer [Pipeline] sh 21:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:25:46 Warning: overwriting stash ‘coverage-report’ 21:25:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:25:48 + ls -al . 21:25:48 total 232 21:25:48 drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 21:23 . 21:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:20 .. 21:25:48 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 21:20 .git 21:25:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:20 .github 21:25:48 -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 21:20 .gitignore 21:25:48 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 21:20 .golangci.yml 21:25:48 -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 21:20 Attribution.txt 21:25:48 -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 21:20 CHANGELOG.md 21:25:48 -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 21:20 Dockerfile 21:25:48 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 21:20 GOVERNANCE.md 21:25:48 -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 21:20 Jenkinsfile 21:25:48 -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 21:20 LICENSE 21:25:48 -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 21:20 Makefile 21:25:48 -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 21:20 OWNERS.md 21:25:48 -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 21:20 README.md 21:25:48 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 21:17 VERSION 21:25:48 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:20 bin 21:25:48 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:20 cmd 21:25:48 -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 21:25 coverage.out 21:25:48 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 21:20 doc 21:25:48 -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 21:20 go.mod 21:25:48 -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 21:20 go.sum 21:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:20 internal 21:25:48 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:20 snap 21:25:48 -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 21:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:48 + 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=441aa57bacf6614b7b1e2353e163791d24ad1f8e --label arch=arm64 --label version=0.0.0 . 21:25:50 Sending build context to Docker daemon 20.79MB 21:25:50 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:25:50 Step 2/26 : FROM ${BASE} AS builder 21:25:50 ---> 6a02ba5670bb 21:25:50 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:25:50 ---> Running in da15132995b9 21:25:50 Removing intermediate container da15132995b9 21:25:50 ---> e6c07b7ff4da 21:25:50 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:25:50 ---> Running in 31044d293e4a 21:25:52 Removing intermediate container 31044d293e4a 21:25:52 ---> c7843200e2b6 21:25:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 21:25:52 ---> Running in c187d4a4e5d3 21:25:52 Removing intermediate container c187d4a4e5d3 21:25:52 ---> 86b8c7e064fd 21:25:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:25:52 ---> Running in af46ed468280 21:25:53 Removing intermediate container af46ed468280 21:25:53 ---> 18e41b7c03c8 21:25:53 Step 7/26 : LABEL Name=edgex-device-onvif-camera 21:25:53 ---> Running in 861c15e71bc9 21:25:53 Removing intermediate container 861c15e71bc9 21:25:53 ---> e412ac0d3283 21:25:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:25:53 ---> Running in e17e16481ad2 21:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:25:56 OK: 221 MiB in 51 packages 21:25:57 Removing intermediate container e17e16481ad2 21:25:57 ---> f9facff4abc1 21:25:57 Step 9/26 : WORKDIR /device-onvif-camera 21:25:58 ---> Running in d93852f66984 21:25:58 Removing intermediate container d93852f66984 21:25:58 ---> 2a7ab7071047 21:25:58 Step 10/26 : COPY go.mod vendor* ./ 21:26:00 ---> 63578180dd79 21:26:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:00 ---> Running in 90a5f5ddce7d 21:26:03 Removing intermediate container 90a5f5ddce7d 21:26:03 ---> 01c5189dea93 21:26:03 Step 12/26 : COPY . . 21:26:05 ---> 487742278a25 21:26:05 Step 13/26 : RUN ${MAKE} 21:26:05 ---> Running in 76f6219c81e0 21:26:06 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 21:28:12 Removing intermediate container 76f6219c81e0 21:28:12 ---> d7b82103f62e 21:28:12 Step 14/26 : FROM alpine:3.16 21:28:12 3.16: Pulling from library/alpine 21:28:12 3760b48202b3: Pulling fs layer 21:28:12 3760b48202b3: Download complete 21:28:12 3760b48202b3: Pull complete 21:28:12 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:28:12 Status: Downloaded newer image for alpine:3.16 21:28:12 ---> 4c81e5bf8899 21:28:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:28:12 ---> Running in ff7c63449b35 21:28:12 Removing intermediate container ff7c63449b35 21:28:12 ---> 1fa6f0849211 21:28:12 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:28:12 ---> Running in dd1588e06ab9 21:28:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:28:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:28:12 (1/1) Installing dumb-init (1.2.5-r1) 21:28:12 Executing busybox-1.35.0-r17.trigger 21:28:12 OK: 5 MiB in 15 packages 21:28:12 Removing intermediate container dd1588e06ab9 21:28:12 ---> e2ac6a18649b 21:28:12 Step 17/26 : WORKDIR / 21:28:12 ---> Running in e8048fc44313 21:28:12 Removing intermediate container e8048fc44313 21:28:12 ---> 5ed743762844 21:28:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 21:28:12 ---> d413ea4e5a1c 21:28:12 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 21:28:12 ---> 7198df98a001 21:28:12 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:28:12 ---> d45dfb44bb78 21:28:12 Step 21/26 : EXPOSE 59984 21:28:12 ---> Running in d873e665eadb 21:28:12 Removing intermediate container d873e665eadb 21:28:12 ---> ec9365a3803f 21:28:12 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 21:28:12 ---> Running in 07d8c3b31bac 21:28:12 Removing intermediate container 07d8c3b31bac 21:28:12 ---> 43243df082ab 21:28:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:28:12 ---> Running in 198cdf2eb169 21:28:12 Removing intermediate container 198cdf2eb169 21:28:12 ---> cdcd4ef521a8 21:28:12 Step 24/26 : LABEL arch=arm64 21:28:12 ---> Running in d06ee9f3388e 21:28:12 Removing intermediate container d06ee9f3388e 21:28:12 ---> ee1e4ece38bd 21:28:12 Step 25/26 : LABEL git_sha=441aa57bacf6614b7b1e2353e163791d24ad1f8e 21:28:12 ---> Running in 145252cc554f 21:28:12 Removing intermediate container 145252cc554f 21:28:12 ---> 32bbf2593460 21:28:12 Step 26/26 : LABEL version=0.0.0 21:28:12 ---> Running in aaa9f8043116 21:28:12 Removing intermediate container aaa9f8043116 21:28:12 ---> d20922deb821 21:28:12 [Warning] One or more build-args [ARCH] were not consumed 21:28:12 Successfully built d20922deb821 21:28:12 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 21:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:13 21:28:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:13 arm64: Pulling from edgex-lftools-log-publisher 21:28:13 8998bd30e6a1: Pulling fs layer 21:28:13 04944245beec: Pulling fs layer 21:28:13 699f458cf7ca: Pulling fs layer 21:28:13 765212b225bb: Pulling fs layer 21:28:13 f23df028b6ca: Pulling fs layer 21:28:13 d65c8cfc05b1: Pulling fs layer 21:28:13 2437ff75d9bd: Pulling fs layer 21:28:13 765212b225bb: Waiting 21:28:13 f23df028b6ca: Waiting 21:28:13 d65c8cfc05b1: Waiting 21:28:13 2437ff75d9bd: Waiting 21:28:13 04944245beec: Verifying Checksum 21:28:13 04944245beec: Download complete 21:28:13 765212b225bb: Verifying Checksum 21:28:13 765212b225bb: Download complete 21:28:13 f23df028b6ca: Verifying Checksum 21:28:13 f23df028b6ca: Download complete 21:28:13 d65c8cfc05b1: Verifying Checksum 21:28:13 d65c8cfc05b1: Download complete 21:28:13 699f458cf7ca: Verifying Checksum 21:28:13 699f458cf7ca: Download complete 21:28:14 8998bd30e6a1: Verifying Checksum 21:28:14 8998bd30e6a1: Download complete 21:28:16 2437ff75d9bd: Verifying Checksum 21:28:16 2437ff75d9bd: Download complete 21:28:17 8998bd30e6a1: Pull complete 21:28:18 04944245beec: Pull complete 21:28:19 699f458cf7ca: Pull complete 21:28:19 765212b225bb: Pull complete 21:28:20 f23df028b6ca: Pull complete 21:28:20 d65c8cfc05b1: Pull complete 21:28:32 2437ff75d9bd: Pull complete 21:28:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-7657 does not seem to be running inside a container 21:28:33 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:28:36 $ docker top 19cbda2397595fffa2d772dd5d6fb28581a1e70190aa1641c667e6a5117c4081 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:36 ---> job-cost.sh 21:28:36 lf-activate-venv: SKIPPING 21:28:36 INFO: No Stack... 21:28:37 INFO: Retrieving Pricing Info for: v3-standard-4 21:28:37 INFO: Archiving Costs [Pipeline] sh 21:28:38 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv 21:28:38 + cut -d, -f6 [Pipeline] lock 21:28:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] 21:28:38 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] did not exist. Created. 21:28:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:38 /w/workspace/device-onvif-camera/4@tmp/durable-13c7d634/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:28:39 + echo total: 0.10999999940395355 [Pipeline] stash 21:28:39 Warning: overwriting stash ‘stack-cost’ 21:28:39 Stashed 1 file(s) [Pipeline] } 21:28:39 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-238-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:39 $ docker stop --time=1 19cbda2397595fffa2d772dd5d6fb28581a1e70190aa1641c667e6a5117c4081 21:28:41 $ docker rm -f --volumes 19cbda2397595fffa2d772dd5d6fb28581a1e70190aa1641c667e6a5117c4081 [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 21:28:41 provisioning config files... 21:28:41 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config1996935288745785744tmp [Pipeline] { [Pipeline] sh 21:28:41 + set +x 21:28:41 + curl -s https://codecov.io/bash 21:28:41 + bash -s -- 21:28:41 21:28:41 _____ _ 21:28:41 / ____| | | 21:28:41 | | ___ __| | ___ ___ _____ __ 21:28:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:28:41 | |___| (_) | (_| | __/ (_| (_) \ V / 21:28:41 \_____\___/ \__,_|\___|\___\___/ \_/ 21:28:41 Bash-1.0.6 21:28:41 21:28:41 21:28:41 ==> git version 2.25.1 found 21:28:41 ==> 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 21:28:41 Release-Date: 2020-01-08 21:28:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:28:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:28:41 ==> Jenkins CI detected. 21:28:41 current dir:  /w/workspace/undry_device-onvif-camera_PR-238 21:28:41 project root: . 21:28:41 --> token set from env 21:28:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:28:42 ==> Running gcov in . (disable via -X gcov) 21:28:42 ==> Python coveragepy not found 21:28:42 ==> Searching for coverage reports in: 21:28:42 + . 21:28:42 -> Found 1 reports 21:28:42 ==> Detecting git/mercurial file structure 21:28:42 ==> Reading reports 21:28:42 + ./coverage.out bytes=79184 21:28:42 ==> Appending adjustments 21:28:42 https://docs.codecov.io/docs/fixing-reports 21:28:42 + Found adjustments 21:28:42 ==> Gzipping contents 21:28:42 12K /tmp/codecov.AbihAu.gz 21:28:42 ==> Uploading reports 21:28:42 url: https://codecov.io 21:28:42 query: branch=PR-238&commit=441aa57bacf6614b7b1e2353e163791d24ad1f8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= 21:28:42 -> Pinging Codecov 21:28:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-238&commit=441aa57bacf6614b7b1e2353e163791d24ad1f8e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-238%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=238&job=&cmd_args= 21:28:42 -> Uploading to 21:28:42 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/F29A59C45E3A92E06B3E522C9905F8EF/441aa57bacf6614b7b1e2353e163791d24ad1f8e/37530b73-c9f0-45f1-85df-c0b727dc49bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T212842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5251bdd218bba8f7659b3806f1eed0e054ae69e5cb6a7e05565645a7d39f52f5 21:28:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:28:42 Dload Upload Total Spent Left Speed 21:28:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10827 0 0 100 10827 0 48770 --:--:-- --:--:-- --:--:-- 48551 100 10827 0 0 100 10827 0 37593 --:--:-- --:--:-- --:--:-- 37593 21:28:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/441aa57bacf6614b7b1e2353e163791d24ad1f8e [Pipeline] } 21:28:42 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 21:28:43 + [ -d /w/workspace/undry_device-onvif-camera_PR-238/archives ] 21:28:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives 21:28:43 total 16 21:28:43 drwxr-xr-x 3 root root 4096 Feb 27 21:19 . 21:28:43 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 21:19 .. 21:28:43 drwxr-xr-x 2 root root 4096 Feb 27 21:19 cost 21:28:43 -rw-r--r-- 1 root root 91 Feb 27 21:19 cost.csv 21:28:43 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-238/archives 21:28:43 + ls -al /w/workspace/undry_device-onvif-camera_PR-238/archives 21:28:43 total 16 21:28:43 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 21:19 . 21:28:43 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 21:19 .. 21:28:43 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 21:19 cost 21:28:43 -rw-r--r-- 1 jenkins jenkins 91 Feb 27 21:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:44 ---> package-listing.sh 21:28:44 ++ facter osfamily 21:28:44 ++ tr '[:upper:]' '[:lower:]' 21:28:44 + OS_FAMILY=debian 21:28:44 + workspace=/w/workspace/undry_device-onvif-camera_PR-238 21:28:44 + START_PACKAGES=/tmp/packages_start.txt 21:28:44 + END_PACKAGES=/tmp/packages_end.txt 21:28:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:44 + PACKAGES=/tmp/packages_start.txt 21:28:44 + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' 21:28:44 + PACKAGES=/tmp/packages_end.txt 21:28:44 + case "${OS_FAMILY}" in 21:28:44 + dpkg -l 21:28:44 + grep '^ii' 21:28:44 + '[' -f /tmp/packages_start.txt ']' 21:28:44 + '[' -f /tmp/packages_end.txt ']' 21:28:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:44 + '[' /w/workspace/undry_device-onvif-camera_PR-238 ']' 21:28:44 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-238/archives/ 21:28:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-238/archives/ [Pipeline] echo 21:28:44 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-238/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:45 prd-ubuntu20.04-docker-8c-8g-7655 does not seem to be running inside a container 21:28:45 $ 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-238/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-238 -v /w/workspace/undry_device-onvif-camera_PR-238:/w/workspace/undry_device-onvif-camera_PR-238:rw,z -v /w/workspace/undry_device-onvif-camera_PR-238@tmp:/w/workspace/undry_device-onvif-camera_PR-238@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:45 $ docker top 216bfbd7c68a5abf4115085beb6f6b5c5516eafe0155491a47790cc2bae0d5e9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:46 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:46 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:46 + ls /var/log/sa-host 21:28:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:46 provisioning config files... 21:28:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-238@tmp/config14722715313215757849tmp [Pipeline] { [Pipeline] echo 21:28:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:47 ---> create-netrc.sh [Pipeline] } 21:28:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:47 ---> python-tools-install.sh [Pipeline] echo 21:28:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:47 ---> sudo-logs.sh 21:28:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:48 ---> job-cost.sh 21:28:48 lf-activate-venv: SKIPPING 21:28:48 DEBUG: total: 0.2199999988079071 21:28:48 INFO: Retrieving Stack Cost... 21:28:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:48 INFO: Archiving Costs [Pipeline] echo 21:28:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:49 ---> logs-deploy.sh 21:28:49 lf-activate-venv: SKIPPING 21:28:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-238/4 21:28:49 INFO: archiving workspace using pattern(s): 21:28:50 Archives upload complete. 21:28:50 INFO: archiving logs to Nexus