Pull request #203 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 marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 8746c938a55b5945dba82726ee73b77bfa0394d9 rather than f5fc447da691746f3c429d04d059bb17cbb654c4 Obtained Jenkinsfile from 8746c938a55b5945dba82726ee73b77bfa0394d9 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-ssh2056800322923897078.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10168423208226129012.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-203/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-usb-camera/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11388488378712931113.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10093477176316982911.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-usb-camera/branches/PR-203/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-usb-camera/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2444207442431541494.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-6087 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit f5fc447da691746f3c429d04d059bb17cbb654c4 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5fc447da691746f3c429d04d059bb17cbb654c4 # 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 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 Merge succeeded, producing f5fc447da691746f3c429d04d059bb17cbb654c4 Checking out Revision f5fc447da691746f3c429d04d059bb17cbb654c4 (PR-203) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5fc447da691746f3c429d04d059bb17cbb654c4 # timeout=10 Commit message: "fix: resolve provisionwatcher validation error" > git rev-list --no-walk 1ea154195d35d5029b5ba914edf225c56c78338d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:52:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:52:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:52:27 ========================================================= 18:52:27 EdgeX Global Pipelines Version Info 18:52:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:52:28 ------------------- 18:52:28 stable info: 18:52:28 ------------------- 18:52:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:52:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:52:28 Message: update stable to v1.0.245 18:52:28 ------------------- 18:52:28 experimental info: 18:52:28 ------------------- 18:52:28 Commited By: **** collab-it+edgex@linuxfoundation.org 18:52:28 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:52:28 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:52:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:52:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:52:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5fc447da691746f3c429d04d059bb17cbb654c4 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5fc447 [Pipeline] echo 18:52:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:29 provisioning config files... 18:52:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config18342223447923967959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:29 ---> docker-login.sh 18:52:29 nexus3.edgexfoundry.org:10001 18:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:30 Configure a credential helper to remove this warning. See 18:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:30 18:52:30 Login Succeeded 18:52:30 nexus3.edgexfoundry.org:10002 18:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:30 Configure a credential helper to remove this warning. See 18:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:30 18:52:30 Login Succeeded 18:52:30 nexus3.edgexfoundry.org:10003 18:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:30 Configure a credential helper to remove this warning. See 18:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:30 18:52:30 Login Succeeded 18:52:30 nexus3.edgexfoundry.org:10004 18:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:30 Configure a credential helper to remove this warning. See 18:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:30 18:52:30 Login Succeeded 18:52:30 docker.io 18:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:30 Configure a credential helper to remove this warning. See 18:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:30 18:52:30 Login Succeeded 18:52:30 ---> docker-login.sh ends [Pipeline] } 18:52:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:52:30 + git rev-list -1 --merges f5fc447da691746f3c429d04d059bb17cbb654c4~1..f5fc447da691746f3c429d04d059bb17cbb654c4 [Pipeline] echo 18:52:30 -----------> git rev-list -1 --merges f5fc447da691746f3c429d04d059bb17cbb654c4~1..f5fc447da691746f3c429d04d059bb17cbb654c4 f5fc447da691746f3c429d04d059bb17cbb654c4 [false] [Pipeline] sh 18:52:31 + git log --format=format:%s -1 f5fc447da691746f3c429d04d059bb17cbb654c4 [Pipeline] echo 18:52:31 ========================================================= 18:52:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:52:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:31 + git log --format=format:%s -1 f5fc447da691746f3c429d04d059bb17cbb654c4 [Pipeline] echo 18:52:31 [semverPrep] GIT_COMMIT: f5fc447da691746f3c429d04d059bb17cbb654c4, Commit Message: fix: resolve provisionwatcher validation error [Pipeline] echo 18:52:31 [semverPrep] This is not a build commit. [Pipeline] sh 18:52:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:32 + grep -v github /etc/ssh/ssh_known_hosts 18:52:32 + [ -e /tmp/ssh_known_hosts ] 18:52:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:52:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:52:32 + sudo tee -a /etc/ssh/ssh_known_hosts 18:52:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:32 18:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:32 0.1.4: Pulling from edgex-devops/py-git-semver 18:52:32 b85a868b505f: Pulling fs layer 18:52:32 e2be974225ed: Pulling fs layer 18:52:32 339a4e72a1f5: Pulling fs layer 18:52:32 988bab9f4d93: Pulling fs layer 18:52:32 1469e6f7b9e6: Pulling fs layer 18:52:32 eaf3925da568: Pulling fs layer 18:52:32 bab4dde63d76: Pulling fs layer 18:52:32 bde34c3a00c8: Pulling fs layer 18:52:32 b352a97aabf1: Pulling fs layer 18:52:32 4872d77fe225: Pulling fs layer 18:52:32 5851b861e8e6: Pulling fs layer 18:52:32 eaf3925da568: Waiting 18:52:32 bab4dde63d76: Waiting 18:52:32 bde34c3a00c8: Waiting 18:52:32 b352a97aabf1: Waiting 18:52:32 1469e6f7b9e6: Waiting 18:52:32 4872d77fe225: Waiting 18:52:32 988bab9f4d93: Waiting 18:52:32 5851b861e8e6: Waiting 18:52:32 e2be974225ed: Download complete 18:52:32 988bab9f4d93: Verifying Checksum 18:52:32 988bab9f4d93: Download complete 18:52:33 1469e6f7b9e6: Verifying Checksum 18:52:33 1469e6f7b9e6: Download complete 18:52:33 eaf3925da568: Verifying Checksum 18:52:33 eaf3925da568: Download complete 18:52:33 339a4e72a1f5: Verifying Checksum 18:52:33 339a4e72a1f5: Download complete 18:52:33 bde34c3a00c8: Verifying Checksum 18:52:33 bde34c3a00c8: Download complete 18:52:33 b352a97aabf1: Verifying Checksum 18:52:33 b352a97aabf1: Download complete 18:52:33 4872d77fe225: Verifying Checksum 18:52:33 4872d77fe225: Download complete 18:52:33 5851b861e8e6: Verifying Checksum 18:52:33 5851b861e8e6: Download complete 18:52:33 b85a868b505f: Download complete 18:52:33 bab4dde63d76: Download complete 18:52:34 b85a868b505f: Pull complete 18:52:34 e2be974225ed: Pull complete 18:52:34 339a4e72a1f5: Pull complete 18:52:35 988bab9f4d93: Pull complete 18:52:35 1469e6f7b9e6: Pull complete 18:52:35 eaf3925da568: Pull complete 18:52:37 bab4dde63d76: Pull complete 18:52:37 bde34c3a00c8: Pull complete 18:52:37 b352a97aabf1: Pull complete 18:52:37 4872d77fe225: Pull complete 18:52:37 5851b861e8e6: Pull complete 18:52:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:38 prd-ubuntu20.04-docker-8c-8g-6087 does not seem to be running inside a container 18:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:52:41 $ docker top 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 -eo pid,comm 18:52:41 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). 18:52:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:41 [ssh-agent] Looking for ssh-agent implementation... 18:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:41 $ docker exec 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 ssh-agent 18:52:41 SSH_AUTH_SOCK=/tmp/ssh-zeYdrfdSNBWD/agent.32 18:52:41 SSH_AGENT_PID=38 18:52:41 Running ssh-add (command line suppressed) 18:52:42 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_17723093904270259.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_17723093904270259.key) 18:52:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:42 + git tag --points-at HEAD [Pipeline] } 18:52:42 $ docker exec --env ******** --env ******** 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 ssh-agent -k 18:52:42 unset SSH_AUTH_SOCK; 18:52:42 unset SSH_AGENT_PID; 18:52:42 echo Agent pid 38 killed; 18:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:52:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:42 [ssh-agent] Looking for ssh-agent implementation... 18:52:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:42 $ docker exec 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 ssh-agent 18:52:42 SSH_AUTH_SOCK=/tmp/ssh-QrUP4f2lDZRf/agent.70 18:52:42 SSH_AGENT_PID=76 18:52:42 Running ssh-add (command line suppressed) 18:52:42 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_17993097475364254448.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_17993097475364254448.key) 18:52:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:43 + git semver init 18:52:43 2023-03-28 18:52:43,340 [run_init] DEBUG init version:0.0.0 force:False 18:52:43 2023-03-28 18:52:43,341 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-203/.semver 18:52:43 2023-03-28 18:52:43,341 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-203/.semver 18:52:43 2023-03-28 18:52:43,341 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-203/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-203, universal_newlines=False, shell=None, istream=None) 18:52:44 2023-03-28 18:52:44,114 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-203/.git/info/exclude 18:52:44 2023-03-28 18:52:44,115 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 with force:False 18:52:44 2023-03-28 18:52:44,115 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 18:52:44 2023-03-28 18:52:44,119 [execute] INFO git cat-file --batch-check 18:52:44 2023-03-28 18:52:44,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 18:52:44 2023-03-28 18:52:44,124 [execute] INFO git cat-file --batch 18:52:44 2023-03-28 18:52:44,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 18:52:44 2023-03-28 18:52:44,130 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 18:52:44 0.0.0 [Pipeline] } 18:52:44 $ docker exec --env ******** --env ******** 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 ssh-agent -k 18:52:44 unset SSH_AUTH_SOCK; 18:52:44 unset SSH_AGENT_PID; 18:52:44 echo Agent pid 76 killed; 18:52:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:44 + git semver [Pipeline] } 18:52:45 $ docker stop --time=1 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 18:52:46 $ docker rm -f --volumes 53877288cf0322957b2acfcb0d4407683c26a8481259a44582ca0affd54df454 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:46 Stashed 1 file(s) [Pipeline] echo 18:52:46 [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 18:52:47 provisioning config files... 18:52:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config232270923616964176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:47 ---> docker-login.sh 18:52:47 nexus3.edgexfoundry.org:10001 18:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:47 Configure a credential helper to remove this warning. See 18:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:47 18:52:47 Login Succeeded 18:52:47 nexus3.edgexfoundry.org:10002 18:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:47 Configure a credential helper to remove this warning. See 18:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:47 18:52:47 Login Succeeded 18:52:47 nexus3.edgexfoundry.org:10003 18:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:47 Configure a credential helper to remove this warning. See 18:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:47 18:52:47 Login Succeeded 18:52:47 nexus3.edgexfoundry.org:10004 18:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:47 Configure a credential helper to remove this warning. See 18:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:47 18:52:47 Login Succeeded 18:52:47 docker.io 18:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:47 Configure a credential helper to remove this warning. See 18:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:47 18:52:47 Login Succeeded 18:52:47 ---> docker-login.sh ends [Pipeline] } 18:52:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:48 ========================================================= 18:52:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:52:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:52:48 Sending build context to Docker daemon 1.987MB 18:52:48 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:52:48 Step 2/13 : FROM ${BASE} AS builder 18:52:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:52:48 63b65145d645: Pulling fs layer 18:52:48 a2d21d5440eb: Pulling fs layer 18:52:48 935e6c44a52c: Pulling fs layer 18:52:48 94cc34f8dd06: Pulling fs layer 18:52:48 30dea6a524f1: Pulling fs layer 18:52:48 a2aff8979fd8: Pulling fs layer 18:52:48 6808be2612f2: Pulling fs layer 18:52:48 f25807f1079a: Pulling fs layer 18:52:48 94cc34f8dd06: Waiting 18:52:48 30dea6a524f1: Waiting 18:52:48 a2aff8979fd8: Waiting 18:52:48 6808be2612f2: Waiting 18:52:48 f25807f1079a: Waiting 18:52:48 a2d21d5440eb: Download complete 18:52:48 94cc34f8dd06: Download complete 18:52:48 30dea6a524f1: Verifying Checksum 18:52:48 30dea6a524f1: Download complete 18:52:48 63b65145d645: Verifying Checksum 18:52:48 63b65145d645: Download complete 18:52:48 a2aff8979fd8: Verifying Checksum 18:52:48 a2aff8979fd8: Download complete 18:52:48 63b65145d645: Pull complete 18:52:48 a2d21d5440eb: Pull complete 18:52:48 f25807f1079a: Verifying Checksum 18:52:48 f25807f1079a: Download complete 18:52:49 935e6c44a52c: Verifying Checksum 18:52:49 935e6c44a52c: Download complete 18:52:49 6808be2612f2: Verifying Checksum 18:52:49 6808be2612f2: Download complete 18:52:52 935e6c44a52c: Pull complete 18:52:52 94cc34f8dd06: Pull complete 18:52:52 30dea6a524f1: Pull complete 18:52:52 a2aff8979fd8: Pull complete 18:52:55 6808be2612f2: Pull complete 18:52:56 f25807f1079a: Pull complete 18:52:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:52:56 ---> 3b553350e43f 18:52:56 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:53:02 Still waiting to schedule task 18:53:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:53:02 ---> Running in ec95415906d2 18:53:02 Removing intermediate container ec95415906d2 18:53:02 ---> 8cd742d733cc 18:53:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:02 ---> Running in c1c95152b88b 18:53:02 Removing intermediate container c1c95152b88b 18:53:02 ---> d11178e85437 18:53:02 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:53:02 ---> Running in be3ae5286659 18:53:02 Removing intermediate container be3ae5286659 18:53:02 ---> 70656fba9ceb 18:53:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:53:02 ---> Running in 005da26e0bbe 18:53:02 Removing intermediate container 005da26e0bbe 18:53:02 ---> cbd51b91c3f3 18:53:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:02 ---> Running in a89d6323a1cd 18:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:03 (1/14) Installing libintl (0.21.1-r1) 18:53:03 (2/14) Installing eudev-libs (3.2.11-r4) 18:53:03 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:53:03 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:53:03 (5/14) Installing v4l-utils (1.22.1-r2) 18:53:03 (6/14) Installing udev-init-scripts (35-r1) 18:53:03 (7/14) Installing libblkid (2.38.1-r1) 18:53:03 (8/14) Installing xz-libs (5.2.9-r0) 18:53:03 (9/14) Installing zstd-libs (1.5.2-r9) 18:53:03 (10/14) Installing kmod-libs (30-r1) 18:53:03 (11/14) Installing eudev (3.2.11-r4) 18:53:03 (12/14) Installing eudev-dev (3.2.11-r4) 18:53:03 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:53:03 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:53:03 Executing busybox-1.35.0-r29.trigger 18:53:03 Executing eudev-3.2.11-r4.trigger 18:53:03 OK: 272 MiB in 67 packages 18:53:03 Removing intermediate container a89d6323a1cd 18:53:03 ---> f549f42d09e3 18:53:03 Step 8/13 : WORKDIR /device-usb-camera 18:53:04 ---> Running in ff17c3815377 18:53:04 Removing intermediate container ff17c3815377 18:53:04 ---> accfd1d88581 18:53:04 Step 9/13 : COPY go.mod vendor* ./ 18:53:04 ---> acbb6279c192 18:53:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:04 ---> Running in e47a5943373c 18:53:36 Removing intermediate container e47a5943373c 18:53:36 ---> d1268a968f0a 18:53:36 Step 11/13 : COPY . . 18:53:36 ---> d1a0814fe389 18:53:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:53:36 ---> Running in 869132e448dd 18:53:36  % Total % Received % Xferd Average Speed Time Time Time Current 18:53:36  Dload Upload Total Spent Left Speed 18:53:36 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8211 0 --:--:-- --:--:-- --:--:-- 8232 18:53:36 Removing intermediate container 869132e448dd 18:53:36 ---> 858e7c67f4ca 18:53:36 Step 13/13 : RUN ${MAKE} 18:53:36 ---> Running in bdfe2c375a4a 18:53:36 noop 18:53:36 Removing intermediate container bdfe2c375a4a 18:53:36 ---> 1c6f7dfbcb62 18:53:36 Successfully built 1c6f7dfbcb62 18:53:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:36 + docker inspect -f . ci-base-image-x86_64 18:53:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:36 prd-ubuntu20.04-docker-8c-8g-6087 does not seem to be running inside a container 18:53:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** ci-base-image-x86_64 cat 18:53:37 $ docker top 1cce7875203174157be673c1d45cbc3b3c16ef785e207c82686670945c2a6241 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:37 + go version 18:53:37 go version go1.20.2 linux/amd64 [Pipeline] } 18:53:37 $ docker stop --time=1 1cce7875203174157be673c1d45cbc3b3c16ef785e207c82686670945c2a6241 18:53:38 $ docker rm -f --volumes 1cce7875203174157be673c1d45cbc3b3c16ef785e207c82686670945c2a6241 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:39 + docker inspect -f . ci-base-image-x86_64 18:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:39 prd-ubuntu20.04-docker-8c-8g-6087 does not seem to be running inside a container 18:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** ci-base-image-x86_64 cat 18:53:39 $ docker top 46816ce1f7513bf56667461ae5adef44067b122dde80471eeaf9077f797ed4e9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:39 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] fileExists [Pipeline] sh 18:53:40 + make test 18:53:40 go test ./... -coverprofile=coverage.out ./... 18:53:45 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:53:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:53:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 2.0% of statements 18:54:00 go vet ./... 18:54:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:04 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:04 $ docker stop --time=1 46816ce1f7513bf56667461ae5adef44067b122dde80471eeaf9077f797ed4e9 18:54:08 $ docker rm -f --volumes 46816ce1f7513bf56667461ae5adef44067b122dde80471eeaf9077f797ed4e9 [Pipeline] // withDockerContainer [Pipeline] sh 18:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:09 + ls -al . 18:54:09 total 188 18:54:09 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:53 . 18:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 .. 18:54:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:52 .git 18:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 .github 18:54:09 -rw-rw-r-- 1 jenkins jenkins 414 Mar 28 18:52 .gitignore 18:54:09 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 18:52 .golangci.yml 18:54:09 -rw-rw-r-- 1 jenkins jenkins 77 Mar 28 18:52 .hadolint.yml 18:54:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:52 .semver 18:54:09 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 28 18:52 Attribution.txt 18:54:09 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 28 18:52 CHANGELOG.md 18:54:09 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 28 18:52 Dockerfile 18:54:09 -rw-rw-r-- 1 jenkins jenkins 678 Mar 28 18:52 GOVERNANCE.md 18:54:09 -rw-rw-r-- 1 jenkins jenkins 659 Mar 28 18:52 Jenkinsfile 18:54:09 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 18:52 LICENSE 18:54:09 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 28 18:52 Makefile 18:54:09 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 18:52 OWNERS.md 18:54:09 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 28 18:52 README.md 18:54:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:52 VERSION 18:54:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:52 bin 18:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 cmd 18:54:09 -rw-r--r-- 1 jenkins jenkins 28352 Mar 28 18:53 coverage.out 18:54:09 -rwxrwxr-x 1 jenkins jenkins 140 Mar 28 18:52 docker-entrypoint.sh 18:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 docs 18:54:09 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 28 18:52 go.mod 18:54:09 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 28 18:52 go.sum 18:54:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 internal 18:54:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 snap 18:54:09 -rw-rw-r-- 1 jenkins jenkins 231 Mar 28 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:10 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f5fc447da691746f3c429d04d059bb17cbb654c4 --label arch=amd64 --label version=0.0.0 . 18:54:10 Sending build context to Docker daemon 2.016MB 18:54:10 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 18:54:10 Step 2/35 : FROM ${BASE} AS builder 18:54:10 ---> 1c6f7dfbcb62 18:54:10 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:54:10 ---> Running in f0d0b025bbb8 18:54:10 Removing intermediate container f0d0b025bbb8 18:54:10 ---> b7f6adf09b85 18:54:10 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:54:10 ---> Running in 693e26b78970 18:54:10 Removing intermediate container 693e26b78970 18:54:10 ---> 7b280cf719fb 18:54:10 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:54:10 ---> Running in e47fbfb4f115 18:54:10 Removing intermediate container e47fbfb4f115 18:54:10 ---> 9c6c91634a22 18:54:10 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:54:10 ---> Running in 51cfbdb12df8 18:54:10 Removing intermediate container 51cfbdb12df8 18:54:10 ---> 1d9a530c1469 18:54:10 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:10 ---> Running in d4117c317b8c 18:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:11 OK: 272 MiB in 67 packages 18:54:11 Removing intermediate container d4117c317b8c 18:54:11 ---> ed808a1a1d31 18:54:11 Step 8/35 : WORKDIR /device-usb-camera 18:54:11 ---> Running in 6cb365f1d55d 18:54:11 Removing intermediate container 6cb365f1d55d 18:54:11 ---> a343629c977b 18:54:11 Step 9/35 : COPY go.mod vendor* ./ 18:54:11 ---> c42132bd656d 18:54:11 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:12 ---> Running in 48684042d5a8 18:54:13 Removing intermediate container 48684042d5a8 18:54:13 ---> 25ac311215c6 18:54:13 Step 11/35 : COPY . . 18:54:13 ---> 2efc86486511 18:54:13 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:54:13 ---> Running in 690fe4c00417 18:54:13  % Total % Received % Xferd Average Speed Time Time Time Current 18:54:13 Dload Upload Total Spent Left Speed 18:54:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20548 0 --:--:-- --:--:-- --:--:-- 20823 18:54:13 Removing intermediate container 690fe4c00417 18:54:13 ---> 8a445f0b81d0 18:54:13 Step 13/35 : RUN ${MAKE} 18:54:13 ---> Running in dc2ddb680506 18:54:14 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:54:36 Removing intermediate container dc2ddb680506 18:54:36 ---> 7fa288f9a1d7 18:54:36 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:54:36 v0.21.6: Pulling from aler9/rtsp-simple-server 18:54:36 4acc49c71d14: Pulling fs layer 18:54:36 4acc49c71d14: Verifying Checksum 18:54:36 4acc49c71d14: Download complete 18:54:36 4acc49c71d14: Pull complete 18:54:36 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:54:36 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:54:36 ---> 01a2bd3e5fff 18:54:36 Step 15/35 : FROM alpine:3.17 18:54:37 3.17: Pulling from library/alpine 18:54:37 63b65145d645: Already exists 18:54:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:54:37 Status: Downloaded newer image for alpine:3.17 18:54:37 ---> b2aa39c304c2 18:54:37 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:54:37 ---> Running in 36627450aaa2 18:54:37 Removing intermediate container 36627450aaa2 18:54:37 ---> fe1ffc320853 18:54:37 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:54:37 ---> Running in 50c5d6d6bdf7 18:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:37 (1/86) Installing dumb-init (1.2.5-r2) 18:54:37 (2/86) Installing sdl2 (2.26.3-r0) 18:54:37 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:54:38 (4/86) Installing libxau (1.0.10-r0) 18:54:38 (5/86) Installing libmd (1.0.4-r0) 18:54:38 (6/86) Installing libbsd (0.11.7-r0) 18:54:38 (7/86) Installing libxdmcp (1.1.4-r0) 18:54:38 (8/86) Installing libxcb (1.15-r0) 18:54:38 (9/86) Installing libx11 (1.8.4-r0) 18:54:38 (10/86) Installing aom-libs (3.5.0-r0) 18:54:38 (11/86) Installing alsa-lib (1.2.8-r0) 18:54:38 (12/86) Installing libexpat (2.5.0-r0) 18:54:38 (13/86) Installing brotli-libs (1.0.9-r9) 18:54:38 (14/86) Installing libbz2 (1.0.8-r4) 18:54:38 (15/86) Installing libpng (1.6.38-r0) 18:54:38 (16/86) Installing freetype (2.12.1-r0) 18:54:38 (17/86) Installing fontconfig (2.14.1-r0) 18:54:38 (18/86) Installing fribidi (1.0.12-r0) 18:54:38 (19/86) Installing libffi (3.4.4-r0) 18:54:38 (20/86) Installing libintl (0.21.1-r1) 18:54:38 (21/86) Installing libblkid (2.38.1-r1) 18:54:38 (22/86) Installing libmount (2.38.1-r1) 18:54:38 (23/86) Installing pcre2 (10.42-r0) 18:54:38 (24/86) Installing glib (2.74.6-r0) 18:54:38 (25/86) Installing graphite2 (1.3.14-r2) 18:54:38 (26/86) Installing harfbuzz (5.3.1-r1) 18:54:38 (27/86) Installing libass (0.16.0-r1) 18:54:38 (28/86) Installing libdav1d (1.0.0-r2) 18:54:38 (29/86) Installing hwdata-pci (0.364-r0) 18:54:38 (30/86) Installing libpciaccess (0.17-r0) 18:54:38 (31/86) Installing libdrm (2.4.114-r0) 18:54:38 (32/86) Installing gmp (6.2.1-r2) 18:54:38 (33/86) Installing nettle (3.8.1-r0) 18:54:38 (34/86) Installing p11-kit (0.24.1-r1) 18:54:38 (35/86) Installing libtasn1 (4.19.0-r0) 18:54:38 (36/86) Installing libunistring (1.1-r0) 18:54:38 (37/86) Installing gnutls (3.7.8-r3) 18:54:38 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:54:38 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 18:54:38 (40/86) Installing lame (3.100-r2) 18:54:38 (41/86) Installing opus (1.3.1-r1) 18:54:38 (42/86) Installing libasyncns (0.8-r1) 18:54:38 (43/86) Installing dbus-libs (1.14.4-r0) 18:54:38 (44/86) Installing libltdl (2.4.7-r1) 18:54:38 (45/86) Installing orc (0.4.33-r0) 18:54:38 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:54:38 (47/86) Installing libogg (1.3.5-r2) 18:54:38 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:54:38 (49/86) Installing flac-libs (1.4.2-r0) 18:54:38 (50/86) Installing libvorbis (1.3.7-r0) 18:54:38 (51/86) Installing libsndfile (1.1.0-r2) 18:54:38 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:54:38 (53/86) Installing soxr (0.1.3-r3) 18:54:38 (54/86) Installing speexdsp (1.2.1-r0) 18:54:38 (55/86) Installing tdb-libs (1.4.7-r0) 18:54:38 (56/86) Installing libpulse (16.1-r6) 18:54:38 (57/86) Installing cjson (1.7.15-r3) 18:54:38 (58/86) Installing mbedtls (2.28.2-r0) 18:54:38 (59/86) Installing librist (0.2.7-r0) 18:54:38 (60/86) Installing libsrt (1.5.1-r0) 18:54:38 (61/86) Installing libssh (0.10.4-r0) 18:54:38 (62/86) Installing libtheora (1.1.1-r16) 18:54:38 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:54:38 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:54:38 (65/86) Installing libxext (1.3.5-r0) 18:54:38 (66/86) Installing libxfixes (6.0.0-r0) 18:54:38 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:54:38 (68/86) Installing libva (2.16.0-r0) 18:54:38 (69/86) Installing libvdpau (1.5-r0) 18:54:38 (70/86) Installing vidstab (1.1.0-r2) 18:54:38 (71/86) Installing libvpx (1.12.0-r1) 18:54:38 (72/86) Installing libwebp (1.2.4-r1) 18:54:38 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:54:38 (74/86) Installing numactl (2.0.16-r1) 18:54:38 (75/86) Installing x265-libs (3.5-r3) 18:54:38 (76/86) Installing xvidcore (1.3.7-r1) 18:54:38 (77/86) Installing libsodium (1.0.18-r2) 18:54:38 (78/86) Installing libzmq (4.3.4-r1) 18:54:38 (79/86) Installing ffmpeg-libs (5.1.3-r0) 18:54:38 (80/86) Installing ffmpeg (5.1.3-r0) 18:54:38 (81/86) Installing udev-init-scripts (35-r1) 18:54:38 (82/86) Installing eudev-libs (3.2.11-r4) 18:54:38 (83/86) Installing xz-libs (5.2.9-r0) 18:54:38 (84/86) Installing zstd-libs (1.5.2-r9) 18:54:38 (85/86) Installing kmod-libs (30-r1) 18:54:38 (86/86) Installing eudev (3.2.11-r4) 18:54:38 Executing busybox-1.35.0-r29.trigger 18:54:38 Executing eudev-3.2.11-r4.trigger 18:54:38 OK: 111 MiB in 101 packages 18:54:42 Removing intermediate container 50c5d6d6bdf7 18:54:42 ---> fa6331fa0d72 18:54:42 Step 18/35 : WORKDIR / 18:54:42 ---> Running in a90327e7abdb 18:54:42 Removing intermediate container a90327e7abdb 18:54:42 ---> 6169660760a9 18:54:42 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:54:42 ---> 6d2948bad4eb 18:54:42 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:54:42 ---> c72370ee8bc6 18:54:42 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:54:42 ---> e7caa36212c3 18:54:42 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:54:42 ---> 2c54e3125601 18:54:42 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:54:42 ---> 0bc5f5c6ca75 18:54:42 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:54:43 ---> 347daa83f00c 18:54:43 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:54:43 ---> 1466cb298c48 18:54:43 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:54:43 ---> Running in f6585ac314c5 18:54:44 Removing intermediate container f6585ac314c5 18:54:44 ---> 8ea8e0fef903 18:54:44 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:54:44 ---> Running in 9e4683a9bd3a 18:54:45 Removing intermediate container 9e4683a9bd3a 18:54:45 ---> 3642c22f3e81 18:54:45 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:54:45 ---> Running in 580eed1c3fa4 18:54:45 Removing intermediate container 580eed1c3fa4 18:54:45 ---> 277ad58c6783 18:54:45 Step 29/35 : EXPOSE 59983 18:54:45 ---> Running in 02a93ecbed94 18:54:45 Removing intermediate container 02a93ecbed94 18:54:45 ---> a301f761baa2 18:54:45 Step 30/35 : EXPOSE 8554 18:54:45 ---> Running in 953516e8a505 18:54:45 Removing intermediate container 953516e8a505 18:54:45 ---> 8861a671733c 18:54:45 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:54:45 ---> Running in 816a08c60fbf 18:54:45 Removing intermediate container 816a08c60fbf 18:54:45 ---> dd7b41248ea2 18:54:45 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:54:45 ---> Running in 930e796c5c19 18:54:45 Removing intermediate container 930e796c5c19 18:54:45 ---> 976654b297de 18:54:45 Step 33/35 : LABEL arch=amd64 18:54:45 ---> Running in cf94fb8cf0c6 18:54:45 Removing intermediate container cf94fb8cf0c6 18:54:45 ---> f06cd428bbfd 18:54:45 Step 34/35 : LABEL git_sha=f5fc447da691746f3c429d04d059bb17cbb654c4 18:54:46 ---> Running in b42747b74820 18:54:46 Removing intermediate container b42747b74820 18:54:46 ---> cea01188bb9a 18:54:46 Step 35/35 : LABEL version=0.0.0 18:54:46 ---> Running in 901fe143eba5 18:54:46 Removing intermediate container 901fe143eba5 18:54:46 ---> d17b8a194bb7 18:54:46 [Warning] One or more build-args [ARCH] were not consumed 18:54:46 Successfully built d17b8a194bb7 18:54:46 Successfully tagged device-usb-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 18:54:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:46 18:54:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:46 latest: Pulling from edgex-lftools-log-publisher 18:54:46 5eb5b503b376: Pulling fs layer 18:54:46 5c69ac0246d0: Pulling fs layer 18:54:46 ec43610c2a17: Pulling fs layer 18:54:46 3a2ae6a8a46f: Pulling fs layer 18:54:46 33b1e0a273af: Pulling fs layer 18:54:46 5d3b04190fa2: Pulling fs layer 18:54:46 2f39f015ded8: Pulling fs layer 18:54:46 3a2ae6a8a46f: Waiting 18:54:46 33b1e0a273af: Waiting 18:54:46 5d3b04190fa2: Waiting 18:54:46 5c69ac0246d0: Verifying Checksum 18:54:46 5c69ac0246d0: Download complete 18:54:46 3a2ae6a8a46f: Verifying Checksum 18:54:46 3a2ae6a8a46f: Download complete 18:54:46 33b1e0a273af: Verifying Checksum 18:54:46 33b1e0a273af: Download complete 18:54:46 5d3b04190fa2: Download complete 18:54:46 ec43610c2a17: Verifying Checksum 18:54:46 ec43610c2a17: Download complete 18:54:47 5eb5b503b376: Verifying Checksum 18:54:47 5eb5b503b376: Download complete 18:54:47 2f39f015ded8: Download complete 18:54:48 5eb5b503b376: Pull complete 18:54:48 5c69ac0246d0: Pull complete 18:54:48 ec43610c2a17: Pull complete 18:54:48 3a2ae6a8a46f: Pull complete 18:54:49 33b1e0a273af: Pull complete 18:54:49 5d3b04190fa2: Pull complete 18:54:53 2f39f015ded8: Pull complete 18:54:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:53 prd-ubuntu20.04-docker-8c-8g-6087 does not seem to be running inside a container 18:54:53 $ 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/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 18:54:58 $ docker top f0385b5fd9c899b8594c47594440c809160d775c0adbf58218b036da3952f21f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:59 ---> job-cost.sh 18:54:59 lf-activate-venv: SKIPPING 18:54:59 INFO: No Stack... 18:54:59 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:00 INFO: Archiving Costs [Pipeline] sh 18:55:00 + cat /w/workspace/foundry_device-usb-camera_PR-203/archives/cost.csv 18:55:00 + cut -d, -f6 [Pipeline] lock 18:55:00 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] 18:55:00 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] did not exist. Created. 18:55:00 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:00 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:00 Stashed 1 file(s) [Pipeline] } 18:55:00 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:00 $ docker stop --time=1 f0385b5fd9c899b8594c47594440c809160d775c0adbf58218b036da3952f21f 18:55:01 $ docker rm -f --volumes f0385b5fd9c899b8594c47594440c809160d775c0adbf58218b036da3952f21f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:55:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6090 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] ws 18:55:48 Running in /w/workspace/device-usb-camera/8 [Pipeline] { [Pipeline] checkout 18:55:48 Selected Git installation does not exist. Using Default 18:55:48 The recommended git tool is: NONE 18:55:55 using credential edgex-jenkins-ssh 18:55:55 Cloning the remote Git repository 18:55:55 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:55:55 > git init /w/workspace/device-usb-camera/8 # timeout=10 18:55:55 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:55:55 > git --version # timeout=10 18:55:55 > git --version # 'git version 2.25.1' 18:55:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:55:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:58 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit f5fc447da691746f3c429d04d059bb17cbb654c4 18:55:59 Merge succeeded, producing f5fc447da691746f3c429d04d059bb17cbb654c4 18:55:59 Checking out Revision f5fc447da691746f3c429d04d059bb17cbb654c4 (PR-203) 18:55:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:55:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:55:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:55:58 > git config core.sparsecheckout # timeout=10 18:55:58 > git checkout -f f5fc447da691746f3c429d04d059bb17cbb654c4 # timeout=10 18:55:59 > git remote # timeout=10 18:55:59 > git config --get remote.origin.url # timeout=10 18:55:59 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:59 > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 18:55:59 > git rev-parse HEAD^{commit} # timeout=10 18:55:59 > git config core.sparsecheckout # timeout=10 18:55:59 > git checkout -f f5fc447da691746f3c429d04d059bb17cbb654c4 # timeout=10 18:56:02 Commit message: "fix: resolve provisionwatcher validation error" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:56:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:56:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:03 Dload Upload Total Spent Left Speed 18:56:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 18:56:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:56:04 + + sudo tee /etc/docker/daemon.new 18:56:04 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:56:04 { 18:56:04 "registry-mirrors": [ 18:56:04 "https://nexus3.edgexfoundry.org:10001" 18:56:04 ], 18:56:04 "bip": "10.250.0.254/24", 18:56:04 "hosts": [ 18:56:04 "tcp://0.0.0.0:5555", 18:56:04 "unix:///var/run/docker.sock" 18:56:04 ], 18:56:04 "mtu": 1458, 18:56:04 "selinux-enabled": true, 18:56:04 "seccomp-profile": "/etc/docker/seccomp.json" 18:56:04 } [Pipeline] sh 18:56:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:56:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:23 provisioning config files... 18:56:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/8@tmp/config18148449160636149018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:24 ---> docker-login.sh 18:56:24 nexus3.edgexfoundry.org:10001 18:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:24 Configure a credential helper to remove this warning. See 18:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:24 18:56:24 Login Succeeded 18:56:24 nexus3.edgexfoundry.org:10002 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 nexus3.edgexfoundry.org:10003 18:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:25 Configure a credential helper to remove this warning. See 18:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:25 18:56:25 Login Succeeded 18:56:25 nexus3.edgexfoundry.org:10004 18:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:26 Configure a credential helper to remove this warning. See 18:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:26 18:56:26 Login Succeeded 18:56:26 docker.io 18:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:26 Configure a credential helper to remove this warning. See 18:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:26 18:56:26 Login Succeeded 18:56:26 ---> docker-login.sh ends [Pipeline] } 18:56:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:27 ========================================================= 18:56:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:56:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:56:27 Sending build context to Docker daemon 1.313MB 18:56:27 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:56:27 Step 2/13 : FROM ${BASE} AS builder 18:56:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:56:28 af6eaf76a39c: Pulling fs layer 18:56:28 55522c791124: Pulling fs layer 18:56:28 ce5c4a1c91eb: Pulling fs layer 18:56:28 169dfbe0d373: Pulling fs layer 18:56:28 e1ff8fa3b103: Pulling fs layer 18:56:28 52ebb69f0ebf: Pulling fs layer 18:56:28 5abe8eddf0d5: Pulling fs layer 18:56:28 e1ff8fa3b103: Waiting 18:56:28 52ebb69f0ebf: Waiting 18:56:28 5abe8eddf0d5: Waiting 18:56:28 169dfbe0d373: Waiting 18:56:28 55522c791124: Verifying Checksum 18:56:28 55522c791124: Download complete 18:56:28 169dfbe0d373: Verifying Checksum 18:56:28 169dfbe0d373: Download complete 18:56:28 e1ff8fa3b103: Verifying Checksum 18:56:28 e1ff8fa3b103: Download complete 18:56:28 af6eaf76a39c: Download complete 18:56:29 af6eaf76a39c: Pull complete 18:56:29 5abe8eddf0d5: Verifying Checksum 18:56:29 5abe8eddf0d5: Download complete 18:56:29 55522c791124: Pull complete 18:56:30 ce5c4a1c91eb: Verifying Checksum 18:56:30 ce5c4a1c91eb: Download complete 18:56:31 52ebb69f0ebf: Download complete 18:56:43 ce5c4a1c91eb: Pull complete 18:56:43 169dfbe0d373: Pull complete 18:56:43 e1ff8fa3b103: Pull complete 18:56:50 52ebb69f0ebf: Pull complete 18:56:52 5abe8eddf0d5: Pull complete 18:56:52 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:56:52 ---> 6cb57ee374ae 18:56:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:56:54 ---> Running in 6d9108eb25ea 18:56:55 Removing intermediate container 6d9108eb25ea 18:56:55 ---> 385f00528803 18:56:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:55 ---> Running in 2e87c65a1cb2 18:56:55 Removing intermediate container 2e87c65a1cb2 18:56:55 ---> 6bc8d9b156ef 18:56:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:56:55 ---> Running in 2620d377ae43 18:56:55 Removing intermediate container 2620d377ae43 18:56:55 ---> 6ebf3b0c6e08 18:56:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:56:55 ---> Running in 921116d424f1 18:56:56 Removing intermediate container 921116d424f1 18:56:56 ---> 6068276723cc 18:56:56 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:56 ---> Running in 90b60657bee5 18:56:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:56:59 (1/14) Installing libintl (0.21.1-r1) 18:56:59 (2/14) Installing eudev-libs (3.2.11-r4) 18:56:59 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:56:59 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:56:59 (5/14) Installing v4l-utils (1.22.1-r2) 18:56:59 (6/14) Installing udev-init-scripts (35-r1) 18:56:59 (7/14) Installing libblkid (2.38.1-r1) 18:56:59 (8/14) Installing xz-libs (5.2.9-r0) 18:56:59 (9/14) Installing zstd-libs (1.5.2-r9) 18:56:59 (10/14) Installing kmod-libs (30-r1) 18:56:59 (11/14) Installing eudev (3.2.11-r4) 18:56:59 (12/14) Installing eudev-dev (3.2.11-r4) 18:56:59 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:56:59 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:56:59 Executing busybox-1.35.0-r29.trigger 18:56:59 Executing eudev-3.2.11-r4.trigger 18:56:59 OK: 271 MiB in 67 packages 18:57:01 Removing intermediate container 90b60657bee5 18:57:01 ---> 850a7d3cb1e7 18:57:01 Step 8/13 : WORKDIR /device-usb-camera 18:57:01 ---> Running in 92d17b3d3a15 18:57:01 Removing intermediate container 92d17b3d3a15 18:57:01 ---> b324a1790aff 18:57:01 Step 9/13 : COPY go.mod vendor* ./ 18:57:02 ---> 7255404a9dc4 18:57:02 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:02 ---> Running in 30208c54e04a 18:58:10 Removing intermediate container 30208c54e04a 18:58:10 ---> 61c5b39b133c 18:58:10 Step 11/13 : COPY . . 18:58:10 ---> 485b5ae2aaa7 18:58:10 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:58:10 ---> Running in 44475a687bb9 18:58:10  % Total % Received % Xferd Average Speed Time  Time Time  Current 18:58:10 Dload Upload Total Spent Left Speed 18:58:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 3418 0 --:--:-- --:--:-- --:--:-- 3436 18:58:10 Removing intermediate container 44475a687bb9 18:58:10 ---> 740fbc36bb55 18:58:10 Step 13/13 : RUN ${MAKE} 18:58:10 ---> Running in 6ee7841d9687 18:58:10 noop 18:58:10 Removing intermediate container 6ee7841d9687 18:58:10 ---> eb9261996b1e 18:58:10 Successfully built eb9261996b1e 18:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:10 + docker inspect -f . ci-base-image-arm64 18:58:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:10 prd-ubuntu20.04-docker-arm64-4c-16g-6090 does not seem to be running inside a container 18:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 18:58:12 $ docker top 524f16ca307bbed816a1e49053a71998793393c2ad90fc74e7e4f58876f19598 -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:13 + go version 18:58:13 go version go1.20.2 linux/arm64 [Pipeline] } 18:58:13 $ docker stop --time=1 524f16ca307bbed816a1e49053a71998793393c2ad90fc74e7e4f58876f19598 18:58:14 $ docker rm -f --volumes 524f16ca307bbed816a1e49053a71998793393c2ad90fc74e7e4f58876f19598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:15 + docker inspect -f . ci-base-image-arm64 18:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:15 prd-ubuntu20.04-docker-arm64-4c-16g-6090 does not seem to be running inside a container 18:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 18:58:16 $ docker top 0a9332f3c784451bfedf71bbd1508af18f39e945f8cae33350a13bf35620797d -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:17 + git config --global --add safe.directory /w/workspace/device-usb-camera/8 [Pipeline] fileExists [Pipeline] sh 18:58:18 + make test 18:58:18 go test ./... -coverprofile=coverage.out ./... 18:58:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:01:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:01:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.065s coverage: 2.0% of statements 19:01:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:01:12 go vet ./... 19:01:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:38 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:38 $ docker stop --time=1 0a9332f3c784451bfedf71bbd1508af18f39e945f8cae33350a13bf35620797d 19:01:40 $ docker rm -f --volumes 0a9332f3c784451bfedf71bbd1508af18f39e945f8cae33350a13bf35620797d [Pipeline] // withDockerContainer [Pipeline] sh 19:01:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:41 Warning: overwriting stash ‘coverage-report’ 19:01:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:43 + ls -al . 19:01:43 total 184 19:01:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:58 . 19:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:55 .. 19:01:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:55 .git 19:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:55 .github 19:01:43 -rw-rw-r-- 1 jenkins jenkins 414 Mar 28 18:55 .gitignore 19:01:43 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 18:55 .golangci.yml 19:01:43 -rw-rw-r-- 1 jenkins jenkins 77 Mar 28 18:55 .hadolint.yml 19:01:43 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 28 18:55 Attribution.txt 19:01:43 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 28 18:55 CHANGELOG.md 19:01:43 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 28 18:55 Dockerfile 19:01:43 -rw-rw-r-- 1 jenkins jenkins 678 Mar 28 18:55 GOVERNANCE.md 19:01:43 -rw-rw-r-- 1 jenkins jenkins 659 Mar 28 18:55 Jenkinsfile 19:01:43 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 18:55 LICENSE 19:01:43 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 28 18:55 Makefile 19:01:43 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 18:55 OWNERS.md 19:01:43 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 28 18:55 README.md 19:01:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:52 VERSION 19:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:55 bin 19:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:55 cmd 19:01:43 -rw-r--r-- 1 jenkins jenkins 28352 Mar 28 19:01 coverage.out 19:01:43 -rwxrwxr-x 1 jenkins jenkins 140 Mar 28 18:55 docker-entrypoint.sh 19:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:55 docs 19:01:43 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 28 18:55 go.mod 19:01:43 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 28 18:55 go.sum 19:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:55 internal 19:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:55 snap 19:01:43 -rw-rw-r-- 1 jenkins jenkins 231 Mar 28 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:43 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f5fc447da691746f3c429d04d059bb17cbb654c4 --label arch=arm64 --label version=0.0.0 . 19:01:43 Sending build context to Docker daemon 1.342MB 19:01:43 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 19:01:43 Step 2/35 : FROM ${BASE} AS builder 19:01:43 ---> eb9261996b1e 19:01:43 Step 3/35 : ARG ADD_BUILD_TAGS="" 19:01:46 ---> Running in 8be36ca7c598 19:01:46 Removing intermediate container 8be36ca7c598 19:01:46 ---> d27ffea78258 19:01:46 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:46 ---> Running in 7a21f106d2ad 19:01:46 Removing intermediate container 7a21f106d2ad 19:01:46 ---> 81a345f6f8d4 19:01:46 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:01:46 ---> Running in 8bafa0ef4872 19:01:47 Removing intermediate container 8bafa0ef4872 19:01:47 ---> 7ca4e681ef8c 19:01:47 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:01:47 ---> Running in bf4345ca743a 19:01:47 Removing intermediate container bf4345ca743a 19:01:47 ---> 0db51e070502 19:01:47 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:47 ---> Running in b5cf40c6b141 19:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:01:50 OK: 271 MiB in 67 packages 19:01:50 Removing intermediate container b5cf40c6b141 19:01:50 ---> 736164ef4cea 19:01:50 Step 8/35 : WORKDIR /device-usb-camera 19:01:51 ---> Running in c249a5541d8c 19:01:51 Removing intermediate container c249a5541d8c 19:01:51 ---> 254b1806c99a 19:01:51 Step 9/35 : COPY go.mod vendor* ./ 19:01:51 ---> 86c67c934999 19:01:51 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:51 ---> Running in 013022f9758a 19:01:54 Removing intermediate container 013022f9758a 19:01:54 ---> ae0fbbd37ed0 19:01:54 Step 11/35 : COPY . . 19:01:55 ---> 6ea80823239b 19:01:55 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:01:55 ---> Running in 1d2ed4737b05 19:01:56   % Total % Received % Xferd Average Speed Time Time Time Current 19:01:56 Dload Upload Total Spent Left Speed 19:01:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2451 0 --:--:-- --:--:-- --:--:-- 2458 19:01:57 Removing intermediate container 1d2ed4737b05 19:01:57 ---> 51f4e41d8946 19:01:57 Step 13/35 : RUN ${MAKE} 19:01:59 ---> Running in 48d19c6e0d36 19:02:00 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 19:04:37 Removing intermediate container 48d19c6e0d36 19:04:37 ---> cd5e2c78af27 19:04:37 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 19:04:37 v0.21.6: Pulling from aler9/rtsp-simple-server 19:04:37 8766b47fe142: Pulling fs layer 19:04:37 8766b47fe142: Verifying Checksum 19:04:37 8766b47fe142: Download complete 19:04:37 8766b47fe142: Pull complete 19:04:37 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 19:04:37 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 19:04:37 ---> 69d40e2cb93c 19:04:37 Step 15/35 : FROM alpine:3.17 19:04:37 3.17: Pulling from library/alpine 19:04:37 af6eaf76a39c: Already exists 19:04:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 19:04:37 Status: Downloaded newer image for alpine:3.17 19:04:37 ---> d74e625d9115 19:04:37 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:04:37 ---> Running in 4c9935006790 19:04:37 Removing intermediate container 4c9935006790 19:04:37 ---> 52a5f625c231 19:04:37 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 19:04:37 ---> Running in ffcf2638fea0 19:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:04:37 (1/83) Installing dumb-init (1.2.5-r2) 19:04:37 (2/83) Installing sdl2 (2.26.3-r0) 19:04:37 (3/83) Installing libxau (1.0.10-r0) 19:04:37 (4/83) Installing libmd (1.0.4-r0) 19:04:37 (5/83) Installing libbsd (0.11.7-r0) 19:04:37 (6/83) Installing libxdmcp (1.1.4-r0) 19:04:37 (7/83) Installing libxcb (1.15-r0) 19:04:37 (8/83) Installing libx11 (1.8.4-r0) 19:04:37 (9/83) Installing aom-libs (3.5.0-r0) 19:04:37 (10/83) Installing alsa-lib (1.2.8-r0) 19:04:37 (11/83) Installing libexpat (2.5.0-r0) 19:04:37 (12/83) Installing brotli-libs (1.0.9-r9) 19:04:37 (13/83) Installing libbz2 (1.0.8-r4) 19:04:37 (14/83) Installing libpng (1.6.38-r0) 19:04:37 (15/83) Installing freetype (2.12.1-r0) 19:04:37 (16/83) Installing fontconfig (2.14.1-r0) 19:04:37 (17/83) Installing fribidi (1.0.12-r0) 19:04:37 (18/83) Installing libffi (3.4.4-r0) 19:04:37 (19/83) Installing libintl (0.21.1-r1) 19:04:37 (20/83) Installing libblkid (2.38.1-r1) 19:04:37 (21/83) Installing libmount (2.38.1-r1) 19:04:37 (22/83) Installing pcre2 (10.42-r0) 19:04:37 (23/83) Installing glib (2.74.6-r0) 19:04:37 (24/83) Installing graphite2 (1.3.14-r2) 19:04:37 (25/83) Installing harfbuzz (5.3.1-r1) 19:04:37 (26/83) Installing libass (0.16.0-r1) 19:04:37 (27/83) Installing libdav1d (1.0.0-r2) 19:04:37 (28/83) Installing libdrm (2.4.114-r0) 19:04:37 (29/83) Installing gmp (6.2.1-r2) 19:04:37 (30/83) Installing nettle (3.8.1-r0) 19:04:37 (31/83) Installing p11-kit (0.24.1-r1) 19:04:37 (32/83) Installing libtasn1 (4.19.0-r0) 19:04:37 (33/83) Installing libunistring (1.1-r0) 19:04:37 (34/83) Installing gnutls (3.7.8-r3) 19:04:37 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 19:04:37 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 19:04:37 (37/83) Installing lame (3.100-r2) 19:04:37 (38/83) Installing opus (1.3.1-r1) 19:04:37 (39/83) Installing libasyncns (0.8-r1) 19:04:37 (40/83) Installing dbus-libs (1.14.4-r0) 19:04:37 (41/83) Installing libltdl (2.4.7-r1) 19:04:37 (42/83) Installing orc (0.4.33-r0) 19:04:37 (43/83) Installing libgcc (12.2.1_git20220924-r4) 19:04:37 (44/83) Installing libogg (1.3.5-r2) 19:04:37 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 19:04:37 (46/83) Installing flac-libs (1.4.2-r0) 19:04:37 (47/83) Installing libvorbis (1.3.7-r0) 19:04:37 (48/83) Installing libsndfile (1.1.0-r2) 19:04:37 (49/83) Installing libgomp (12.2.1_git20220924-r4) 19:04:37 (50/83) Installing soxr (0.1.3-r3) 19:04:37 (51/83) Installing speexdsp (1.2.1-r0) 19:04:37 (52/83) Installing tdb-libs (1.4.7-r0) 19:04:37 (53/83) Installing libpulse (16.1-r6) 19:04:37 (54/83) Installing cjson (1.7.15-r3) 19:04:37 (55/83) Installing mbedtls (2.28.2-r0) 19:04:37 (56/83) Installing librist (0.2.7-r0) 19:04:37 (57/83) Installing libsrt (1.5.1-r0) 19:04:37 (58/83) Installing libssh (0.10.4-r0) 19:04:37 (59/83) Installing libtheora (1.1.1-r16) 19:04:37 (60/83) Installing libjpeg-turbo (2.1.4-r0) 19:04:37 (61/83) Installing v4l-utils-libs (1.22.1-r2) 19:04:37 (62/83) Installing libxext (1.3.5-r0) 19:04:37 (63/83) Installing libxfixes (6.0.0-r0) 19:04:37 (64/83) Installing wayland-libs-client (1.21.0-r1) 19:04:37 (65/83) Installing libva (2.16.0-r0) 19:04:37 (66/83) Installing libvdpau (1.5-r0) 19:04:37 (67/83) Installing vidstab (1.1.0-r2) 19:04:37 (68/83) Installing libvpx (1.12.0-r1) 19:04:37 (69/83) Installing libwebp (1.2.4-r1) 19:04:37 (70/83) Installing x264-libs (0.164_git20220602-r0) 19:04:37 (71/83) Installing numactl (2.0.16-r1) 19:04:37 (72/83) Installing x265-libs (3.5-r3) 19:04:37 (73/83) Installing xvidcore (1.3.7-r1) 19:04:37 (74/83) Installing libsodium (1.0.18-r2) 19:04:37 (75/83) Installing libzmq (4.3.4-r1) 19:04:37 (76/83) Installing ffmpeg-libs (5.1.3-r0) 19:04:37 (77/83) Installing ffmpeg (5.1.3-r0) 19:04:37 (78/83) Installing udev-init-scripts (35-r1) 19:04:37 (79/83) Installing eudev-libs (3.2.11-r4) 19:04:37 (80/83) Installing xz-libs (5.2.9-r0) 19:04:37 (81/83) Installing zstd-libs (1.5.2-r9) 19:04:37 (82/83) Installing kmod-libs (30-r1) 19:04:37 (83/83) Installing eudev (3.2.11-r4) 19:04:37 Executing busybox-1.35.0-r29.trigger 19:04:37 Executing eudev-3.2.11-r4.trigger 19:04:37 OK: 86 MiB in 98 packages 19:04:37 Removing intermediate container ffcf2638fea0 19:04:37 ---> 1a24f56e5177 19:04:37 Step 18/35 : WORKDIR / 19:04:38 ---> Running in 81002e756f80 19:04:38 Removing intermediate container 81002e756f80 19:04:38 ---> 06dc43053a63 19:04:38 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 19:04:39 ---> 41684de327d3 19:04:39 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 19:04:40 ---> eaf2b6ce3a91 19:04:40 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:04:40 ---> facdeec9cc04 19:04:40 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:04:41 ---> 60da544fa8b2 19:04:41 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:04:41 ---> 84ecd4052851 19:04:41 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 19:04:42 ---> fd76e0ef0047 19:04:42 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 19:04:43 ---> d4dbeb55bc50 19:04:43 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:04:43 ---> Running in 2575044ca9a1 19:04:45 Removing intermediate container 2575044ca9a1 19:04:45 ---> c1c4b37ca333 19:04:45 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:04:45 ---> Running in 1227c6a17752 19:04:47 Removing intermediate container 1227c6a17752 19:04:47 ---> ff8bb2a82e9e 19:04:47 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:04:47 ---> Running in 03ecbc96b61f 19:04:49 Removing intermediate container 03ecbc96b61f 19:04:49 ---> ea4292d049fe 19:04:49 Step 29/35 : EXPOSE 59983 19:04:49 ---> Running in b44b82cb11fc 19:04:49 Removing intermediate container b44b82cb11fc 19:04:49 ---> 903c65f969ce 19:04:49 Step 30/35 : EXPOSE 8554 19:04:49 ---> Running in 1e7317f4ae7c 19:04:49 Removing intermediate container 1e7317f4ae7c 19:04:49 ---> 1653a62dfa56 19:04:49 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:04:49 ---> Running in 7c88ae50ac7a 19:04:49 Removing intermediate container 7c88ae50ac7a 19:04:49 ---> 7afcba5da3c6 19:04:49 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 19:04:49 ---> Running in a5709599697d 19:04:50 Removing intermediate container a5709599697d 19:04:50 ---> ae1e3398334f 19:04:50 Step 33/35 : LABEL arch=arm64 19:04:50 ---> Running in 3df53afba1f4 19:04:50 Removing intermediate container 3df53afba1f4 19:04:50 ---> a4f282d0432a 19:04:50 Step 34/35 : LABEL git_sha=f5fc447da691746f3c429d04d059bb17cbb654c4 19:04:50 ---> Running in db73e92932f2 19:04:50 Removing intermediate container db73e92932f2 19:04:50 ---> ba47f8cc9136 19:04:50 Step 35/35 : LABEL version=0.0.0 19:04:51 ---> Running in 2163478da8cb 19:04:51 Removing intermediate container 2163478da8cb 19:04:51 ---> 7438fd4d38f8 19:04:51 [Warning] One or more build-args [ARCH] were not consumed 19:04:51 Successfully built 7438fd4d38f8 19:04:51 Successfully tagged device-usb-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 19:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:51 19:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:52 arm64: Pulling from edgex-lftools-log-publisher 19:04:52 8998bd30e6a1: Pulling fs layer 19:04:52 04944245beec: Pulling fs layer 19:04:52 699f458cf7ca: Pulling fs layer 19:04:52 765212b225bb: Pulling fs layer 19:04:52 f23df028b6ca: Pulling fs layer 19:04:52 d65c8cfc05b1: Pulling fs layer 19:04:52 2437ff75d9bd: Pulling fs layer 19:04:52 f23df028b6ca: Waiting 19:04:52 d65c8cfc05b1: Waiting 19:04:52 765212b225bb: Waiting 19:04:52 2437ff75d9bd: Waiting 19:04:52 04944245beec: Verifying Checksum 19:04:52 04944245beec: Download complete 19:04:52 765212b225bb: Download complete 19:04:52 f23df028b6ca: Verifying Checksum 19:04:52 f23df028b6ca: Download complete 19:04:52 d65c8cfc05b1: Verifying Checksum 19:04:52 d65c8cfc05b1: Download complete 19:04:52 699f458cf7ca: Verifying Checksum 19:04:52 699f458cf7ca: Download complete 19:04:52 8998bd30e6a1: Verifying Checksum 19:04:52 8998bd30e6a1: Download complete 19:04:54 2437ff75d9bd: Verifying Checksum 19:04:54 2437ff75d9bd: Download complete 19:04:56 8998bd30e6a1: Pull complete 19:04:57 04944245beec: Pull complete 19:04:58 699f458cf7ca: Pull complete 19:04:58 765212b225bb: Pull complete 19:04:59 f23df028b6ca: Pull complete 19:04:59 d65c8cfc05b1: Pull complete 19:05:14 2437ff75d9bd: Pull complete 19:05:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:05:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:14 prd-ubuntu20.04-docker-arm64-4c-16g-6090 does not seem to be running inside a container 19:05:14 $ 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-usb-camera/8 -v /w/workspace/device-usb-camera/8:/w/workspace/device-usb-camera/8:rw,z -v /w/workspace/device-usb-camera/8@tmp:/w/workspace/device-usb-camera/8@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 19:05:17 $ docker top 5f39d3b439469c6be982433c3768e42f85fb88a7876efa3315e26062b14188f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:18 ---> job-cost.sh 19:05:18 lf-activate-venv: SKIPPING 19:05:18 INFO: No Stack... 19:05:19 INFO: Retrieving Pricing Info for: v3-standard-4 19:05:20 INFO: Archiving Costs [Pipeline] sh 19:05:20 + cat /w/workspace/device-usb-camera/8/archives/cost.csv 19:05:20 + cut -d, -f6 [Pipeline] lock 19:05:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] 19:05:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] did not exist. Created. 19:05:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:21 /w/workspace/device-usb-camera/8@tmp/durable-ca2cfc04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:05:22 + echo total: 0.10999999940395355 [Pipeline] stash 19:05:22 Warning: overwriting stash ‘stack-cost’ 19:05:22 Stashed 1 file(s) [Pipeline] } 19:05:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-8-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:22 $ docker stop --time=1 5f39d3b439469c6be982433c3768e42f85fb88a7876efa3315e26062b14188f2 19:05:23 $ docker rm -f --volumes 5f39d3b439469c6be982433c3768e42f85fb88a7876efa3315e26062b14188f2 [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 19:05:24 provisioning config files... 19:05:24 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config7117026325088578591tmp [Pipeline] { [Pipeline] sh 19:05:24 + set +x 19:05:24 + curl -s https://codecov.io/bash 19:05:24 + bash -s -- 19:05:24 19:05:24 _____ _ 19:05:24 / ____| | | 19:05:24 | | ___ __| | ___ ___ _____ __ 19:05:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:05:24 | |___| (_) | (_| | __/ (_| (_) \ V / 19:05:24 \_____\___/ \__,_|\___|\___\___/ \_/ 19:05:24 Bash-1.0.6 19:05:24 19:05:24 19:05:24 ==> git version 2.25.1 found 19:05:24 ==> 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 19:05:24 Release-Date: 2020-01-08 19:05:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:05:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:05:24 ==> Jenkins CI detected. 19:05:24 current dir:  /w/workspace/foundry_device-usb-camera_PR-203 19:05:24 project root: . 19:05:24 --> token set from env 19:05:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:05:24 ==> Running gcov in . (disable via -X gcov) 19:05:24 ==> Python coveragepy not found 19:05:24 ==> Searching for coverage reports in: 19:05:24 + . 19:05:24 -> Found 1 reports 19:05:24 ==> Detecting git/mercurial file structure 19:05:24 ==> Reading reports 19:05:24 + ./coverage.out bytes=28352 19:05:24 ==> Appending adjustments 19:05:24 https://docs.codecov.io/docs/fixing-reports 19:05:24 + Found adjustments 19:05:24 ==> Gzipping contents 19:05:24 4.0K /tmp/codecov.uTGqzx.gz 19:05:24 ==> Uploading reports 19:05:24 url: https://codecov.io 19:05:24 query: branch=PR-203&commit=f5fc447da691746f3c429d04d059bb17cbb654c4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 19:05:24 -> Pinging Codecov 19:05:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-203&commit=f5fc447da691746f3c429d04d059bb17cbb654c4&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 19:05:25 -> Uploading to 19:05:25 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/73D8F5FF140700D3E01443B452E23636/f5fc447da691746f3c429d04d059bb17cbb654c4/beb29a6d-4123-4bb8-99b8-5a70058d2d8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T190524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=231fe7d3720dd5cb17ce251b90e97c5ce55be20ae843c20519bcfcd3f42fa834 19:05:25 % Total % Received % Xferd Average Speed Time Time Time Current 19:05:25 Dload Upload Total Spent Left Speed 19:05:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3897 0 0 100 3897 0 17633 --:--:-- --:--:-- --:--:-- 17554 100 3897 0 0 100 3897 0 13673 --:--:-- --:--:-- --:--:-- 13625 19:05:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/f5fc447da691746f3c429d04d059bb17cbb654c4 [Pipeline] } 19:05:25 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 19:05:25 + [ -d /w/workspace/foundry_device-usb-camera_PR-203/archives ] 19:05:25 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 19:05:25 total 16 19:05:25 drwxr-xr-x 3 root root 4096 Mar 28 18:54 . 19:05:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 18:55 .. 19:05:25 drwxr-xr-x 2 root root 4096 Mar 28 18:54 cost 19:05:25 -rw-r--r-- 1 root root 89 Mar 28 18:54 cost.csv 19:05:25 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-203/archives 19:05:25 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 19:05:25 total 16 19:05:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:54 . 19:05:25 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 18:55 .. 19:05:25 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:54 cost 19:05:25 -rw-r--r-- 1 jenkins jenkins 89 Mar 28 18:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:05:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:05:27 ---> package-listing.sh 19:05:27 ++ facter osfamily 19:05:27 ++ tr '[:upper:]' '[:lower:]' 19:05:27 + OS_FAMILY=debian 19:05:27 + workspace=/w/workspace/foundry_device-usb-camera_PR-203 19:05:27 + START_PACKAGES=/tmp/packages_start.txt 19:05:27 + END_PACKAGES=/tmp/packages_end.txt 19:05:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:05:27 + PACKAGES=/tmp/packages_start.txt 19:05:27 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 19:05:27 + PACKAGES=/tmp/packages_end.txt 19:05:27 + case "${OS_FAMILY}" in 19:05:27 + dpkg -l 19:05:27 + grep '^ii' 19:05:27 + '[' -f /tmp/packages_start.txt ']' 19:05:27 + '[' -f /tmp/packages_end.txt ']' 19:05:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:05:27 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 19:05:27 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-203/archives/ 19:05:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-203/archives/ [Pipeline] echo 19:05:27 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/foundry_device-usb-camera_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:05:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:28 prd-ubuntu20.04-docker-8c-8g-6087 does not seem to be running inside a container 19:05:28 $ 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/foundry_device-usb-camera_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:05:28 $ docker top f04178d884601d57773956edbce5b441ed65536d5f6238308b7691005ed31781 -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:28 + touch /tmp/pre-build-complete [Pipeline] sh 19:05:29 + mkdir -p /var/log/sysstat [Pipeline] sh 19:05:29 + ls /var/log/sa-host 19:05:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:29 provisioning config files... 19:05:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config9617232541598578297tmp [Pipeline] { [Pipeline] echo 19:05:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:05:29 ---> create-netrc.sh [Pipeline] } 19:05:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:05:30 ---> python-tools-install.sh [Pipeline] echo 19:05:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:05:30 ---> sudo-logs.sh 19:05:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:05:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:05:30 ---> job-cost.sh 19:05:30 lf-activate-venv: SKIPPING 19:05:30 DEBUG: total: 0.2199999988079071 19:05:30 INFO: Retrieving Stack Cost... 19:05:30 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:31 INFO: Archiving Costs [Pipeline] echo 19:05:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:05:31 ---> logs-deploy.sh 19:05:31 lf-activate-venv: SKIPPING 19:05:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-203/8 19:05:31 INFO: archiving workspace using pattern(s): 19:05:32 Archives upload complete. 19:05:32 INFO: archiving logs to Nexus