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 813085f4f946e554729e7d8a02505033876427f7 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-ssh2250226313862491648.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-ssh12217158930864082444.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-ssh6932538818770821065.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-ssh16865520086204251811.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-ssh3781414930943569619.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6130 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 813085f4f946e554729e7d8a02505033876427f7 > 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 813085f4f946e554729e7d8a02505033876427f7 # timeout=10 Merge succeeded, producing 813085f4f946e554729e7d8a02505033876427f7 Checking out Revision 813085f4f946e554729e7d8a02505033876427f7 (PR-203) > 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 813085f4f946e554729e7d8a02505033876427f7 # timeout=10 Commit message: "fix: resolve provisionwatcher validation error" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:56:44 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk f5fc447da691746f3c429d04d059bb17cbb654c4 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:56:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:56:44 ========================================================= 21:56:44 EdgeX Global Pipelines Version Info 21:56:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:56:45 ------------------- 21:56:45 stable info: 21:56:45 ------------------- 21:56:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:56:45 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:56:45 Message: update stable to v1.0.245 21:56:46 ------------------- 21:56:46 experimental info: 21:56:46 ------------------- 21:56:46 Commited By: **** collab-it+edgex@linuxfoundation.org 21:56:46 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:56:46 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 813085f4f946e554729e7d8a02505033876427f7 [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 813085f [Pipeline] echo 21:56:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:56:46 provisioning config files... 21:56:46 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config9226432403329579363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:56:47 ---> docker-login.sh 21:56:47 nexus3.edgexfoundry.org:10001 21:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:47 Configure a credential helper to remove this warning. See 21:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:47 21:56:47 Login Succeeded 21:56:47 nexus3.edgexfoundry.org:10002 21:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:47 Configure a credential helper to remove this warning. See 21:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:47 21:56:47 Login Succeeded 21:56:47 nexus3.edgexfoundry.org:10003 21:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:47 Configure a credential helper to remove this warning. See 21:56:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:47 21:56:47 Login Succeeded 21:56:47 nexus3.edgexfoundry.org:10004 21:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:48 Configure a credential helper to remove this warning. See 21:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:48 21:56:48 Login Succeeded 21:56:48 docker.io 21:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:56:48 Configure a credential helper to remove this warning. See 21:56:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:56:48 21:56:48 Login Succeeded 21:56:48 ---> docker-login.sh ends [Pipeline] } 21:56:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:56:48 + git rev-list -1 --merges 813085f4f946e554729e7d8a02505033876427f7~1..813085f4f946e554729e7d8a02505033876427f7 [Pipeline] echo 21:56:48 -----------> git rev-list -1 --merges 813085f4f946e554729e7d8a02505033876427f7~1..813085f4f946e554729e7d8a02505033876427f7 813085f4f946e554729e7d8a02505033876427f7 [false] [Pipeline] sh 21:56:49 + git log --format=format:%s -1 813085f4f946e554729e7d8a02505033876427f7 [Pipeline] echo 21:56:49 ========================================================= 21:56:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:56:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:49 + git log --format=format:%s -1 813085f4f946e554729e7d8a02505033876427f7 [Pipeline] echo 21:56:49 [semverPrep] GIT_COMMIT: 813085f4f946e554729e7d8a02505033876427f7, Commit Message: fix: resolve provisionwatcher validation error [Pipeline] echo 21:56:49 [semverPrep] This is not a build commit. [Pipeline] sh 21:56:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:56:49 + grep -v github /etc/ssh/ssh_known_hosts 21:56:49 + [ -e /tmp/ssh_known_hosts ] 21:56:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:56:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:56:49 + sudo tee -a /etc/ssh/ssh_known_hosts 21:56:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:50 21:56:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:50 0.1.4: Pulling from edgex-devops/py-git-semver 21:56:50 b85a868b505f: Pulling fs layer 21:56:50 e2be974225ed: Pulling fs layer 21:56:50 339a4e72a1f5: Pulling fs layer 21:56:50 988bab9f4d93: Pulling fs layer 21:56:50 1469e6f7b9e6: Pulling fs layer 21:56:50 eaf3925da568: Pulling fs layer 21:56:50 bab4dde63d76: Pulling fs layer 21:56:50 bde34c3a00c8: Pulling fs layer 21:56:50 b352a97aabf1: Pulling fs layer 21:56:50 4872d77fe225: Pulling fs layer 21:56:50 5851b861e8e6: Pulling fs layer 21:56:50 eaf3925da568: Waiting 21:56:50 bab4dde63d76: Waiting 21:56:50 bde34c3a00c8: Waiting 21:56:50 b352a97aabf1: Waiting 21:56:50 4872d77fe225: Waiting 21:56:50 5851b861e8e6: Waiting 21:56:50 988bab9f4d93: Waiting 21:56:50 1469e6f7b9e6: Waiting 21:56:50 e2be974225ed: Download complete 21:56:50 988bab9f4d93: Verifying Checksum 21:56:50 988bab9f4d93: Download complete 21:56:50 339a4e72a1f5: Verifying Checksum 21:56:50 339a4e72a1f5: Download complete 21:56:50 1469e6f7b9e6: Verifying Checksum 21:56:50 1469e6f7b9e6: Download complete 21:56:50 eaf3925da568: Download complete 21:56:50 bde34c3a00c8: Verifying Checksum 21:56:50 bde34c3a00c8: Download complete 21:56:50 b352a97aabf1: Verifying Checksum 21:56:50 b352a97aabf1: Download complete 21:56:50 4872d77fe225: Verifying Checksum 21:56:50 4872d77fe225: Download complete 21:56:50 5851b861e8e6: Verifying Checksum 21:56:50 5851b861e8e6: Download complete 21:56:50 b85a868b505f: Verifying Checksum 21:56:50 b85a868b505f: Download complete 21:56:50 bab4dde63d76: Verifying Checksum 21:56:50 bab4dde63d76: Download complete 21:56:51 b85a868b505f: Pull complete 21:56:52 e2be974225ed: Pull complete 21:56:52 339a4e72a1f5: Pull complete 21:56:52 988bab9f4d93: Pull complete 21:56:52 1469e6f7b9e6: Pull complete 21:56:52 eaf3925da568: Pull complete 21:56:54 bab4dde63d76: Pull complete 21:56:54 bde34c3a00c8: Pull complete 21:56:54 b352a97aabf1: Pull complete 21:56:54 4872d77fe225: Pull complete 21:56:55 5851b861e8e6: Pull complete 21:56:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:56:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:56:55 prd-ubuntu20.04-docker-8c-8g-6130 does not seem to be running inside a container 21:56:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:56:57 $ docker top 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 -eo pid,comm 21:56:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:56:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:56:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:57 [ssh-agent] Looking for ssh-agent implementation... 21:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:58 $ docker exec 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 ssh-agent 21:56:58 SSH_AUTH_SOCK=/tmp/ssh-8dWpp52YeIrl/agent.33 21:56:58 SSH_AGENT_PID=39 21:56:58 Running ssh-add (command line suppressed) 21:56:58 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_2932356092484681003.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_2932356092484681003.key) 21:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:58 + git tag --points-at HEAD [Pipeline] } 21:56:58 $ docker exec --env ******** --env ******** 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 ssh-agent -k 21:56:58 unset SSH_AUTH_SOCK; 21:56:58 unset SSH_AGENT_PID; 21:56:58 echo Agent pid 39 killed; 21:56:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:56:58 [ssh-agent] Looking for ssh-agent implementation... 21:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:56:58 $ docker exec 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 ssh-agent 21:56:58 SSH_AUTH_SOCK=/tmp/ssh-frYQU8v5MR1O/agent.71 21:56:58 SSH_AGENT_PID=77 21:56:58 Running ssh-add (command line suppressed) 21:56:59 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_6664770391814715759.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_6664770391814715759.key) 21:56:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:56:59 + git semver init 21:56:59 2023-03-28 21:56:59,527 [run_init] DEBUG init version:0.0.0 force:False 21:56:59 2023-03-28 21:56:59,528 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-203/.semver 21:56:59 2023-03-28 21:56:59,528 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-203/.semver 21:56:59 2023-03-28 21:56:59,528 [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) 21:57:00 2023-03-28 21:57:00,169 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-203/.git/info/exclude 21:57:00 2023-03-28 21:57:00,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 with force:False 21:57:00 2023-03-28 21:57:00,170 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 21:57:00 2023-03-28 21:57:00,174 [execute] INFO git cat-file --batch-check 21:57:00 2023-03-28 21:57:00,175 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 21:57:00 2023-03-28 21:57:00,181 [execute] INFO git cat-file --batch 21:57:00 2023-03-28 21:57:00,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 21:57:00 2023-03-28 21:57:00,188 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 21:57:00 0.0.0 [Pipeline] } 21:57:00 $ docker exec --env ******** --env ******** 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 ssh-agent -k 21:57:00 unset SSH_AUTH_SOCK; 21:57:00 unset SSH_AGENT_PID; 21:57:00 echo Agent pid 77 killed; 21:57:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:57:00 + git semver [Pipeline] } 21:57:01 $ docker stop --time=1 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 21:57:02 $ docker rm -f --volumes 6563642814dd45ac676feea7b58ffddf3e098f77738a127a73f18917afa65ce6 [Pipeline] // withDockerContainer [Pipeline] sh 21:57:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:57:03 Stashed 1 file(s) [Pipeline] echo 21:57:03 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:03 provisioning config files... 21:57:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config14519919779928840661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:03 ---> docker-login.sh 21:57:03 nexus3.edgexfoundry.org:10001 21:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:03 Configure a credential helper to remove this warning. See 21:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:03 21:57:03 Login Succeeded 21:57:03 nexus3.edgexfoundry.org:10002 21:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:03 Configure a credential helper to remove this warning. See 21:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:03 21:57:03 Login Succeeded 21:57:03 nexus3.edgexfoundry.org:10003 21:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:03 Configure a credential helper to remove this warning. See 21:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:03 21:57:03 Login Succeeded 21:57:03 nexus3.edgexfoundry.org:10004 21:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:03 Configure a credential helper to remove this warning. See 21:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:03 21:57:03 Login Succeeded 21:57:03 docker.io 21:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:57:03 Configure a credential helper to remove this warning. See 21:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:57:03 21:57:03 Login Succeeded 21:57:03 ---> docker-login.sh ends [Pipeline] } 21:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:57:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:57:04 ========================================================= 21:57:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:57:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:04 + 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 . 21:57:04 Sending build context to Docker daemon 2.001MB 21:57:04 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:57:04 Step 2/13 : FROM ${BASE} AS builder 21:57:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:57:04 63b65145d645: Pulling fs layer 21:57:04 a2d21d5440eb: Pulling fs layer 21:57:04 935e6c44a52c: Pulling fs layer 21:57:04 94cc34f8dd06: Pulling fs layer 21:57:04 30dea6a524f1: Pulling fs layer 21:57:04 a2aff8979fd8: Pulling fs layer 21:57:04 6808be2612f2: Pulling fs layer 21:57:04 f25807f1079a: Pulling fs layer 21:57:04 a2aff8979fd8: Waiting 21:57:04 6808be2612f2: Waiting 21:57:04 f25807f1079a: Waiting 21:57:04 94cc34f8dd06: Waiting 21:57:04 30dea6a524f1: Waiting 21:57:04 a2d21d5440eb: Verifying Checksum 21:57:04 a2d21d5440eb: Download complete 21:57:04 94cc34f8dd06: Download complete 21:57:04 30dea6a524f1: Verifying Checksum 21:57:04 30dea6a524f1: Download complete 21:57:04 63b65145d645: Verifying Checksum 21:57:04 63b65145d645: Download complete 21:57:04 a2aff8979fd8: Verifying Checksum 21:57:04 a2aff8979fd8: Download complete 21:57:04 63b65145d645: Pull complete 21:57:04 a2d21d5440eb: Pull complete 21:57:05 f25807f1079a: Verifying Checksum 21:57:05 f25807f1079a: Download complete 21:57:05 935e6c44a52c: Verifying Checksum 21:57:05 935e6c44a52c: Download complete 21:57:05 6808be2612f2: Verifying Checksum 21:57:05 6808be2612f2: Download complete 21:57:08 935e6c44a52c: Pull complete 21:57:08 94cc34f8dd06: Pull complete 21:57:08 30dea6a524f1: Pull complete 21:57:08 a2aff8979fd8: Pull complete 21:57:11 6808be2612f2: Pull complete 21:57:12 f25807f1079a: Pull complete 21:57:12 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:57:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:57:12 ---> 3b553350e43f 21:57:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:57:16 ---> Running in 461a46704cfd 21:57:16 Removing intermediate container 461a46704cfd 21:57:16 ---> 67b599af076c 21:57:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:57:16 ---> Running in 301e5ce9471e 21:57:16 Removing intermediate container 301e5ce9471e 21:57:16 ---> 1d2317490012 21:57:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:57:16 ---> Running in 7dca9113e421 21:57:16 Removing intermediate container 7dca9113e421 21:57:16 ---> c97a9fca2a9c 21:57:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:57:16 ---> Running in a54a8abea743 21:57:16 Removing intermediate container a54a8abea743 21:57:16 ---> 3fe227134af5 21:57:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:57:16 ---> Running in 912a55612193 21:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:57:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:57:16 (1/14) Installing libintl (0.21.1-r1) 21:57:16 (2/14) Installing eudev-libs (3.2.11-r4) 21:57:16 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:57:16 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:57:16 (5/14) Installing v4l-utils (1.22.1-r2) 21:57:16 (6/14) Installing udev-init-scripts (35-r1) 21:57:16 (7/14) Installing libblkid (2.38.1-r1) 21:57:16 (8/14) Installing xz-libs (5.2.9-r0) 21:57:16 (9/14) Installing zstd-libs (1.5.2-r9) 21:57:16 (10/14) Installing kmod-libs (30-r1) 21:57:16 (11/14) Installing eudev (3.2.11-r4) 21:57:17 (12/14) Installing eudev-dev (3.2.11-r4) 21:57:17 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:57:17 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:57:17 Executing busybox-1.35.0-r29.trigger 21:57:17 Executing eudev-3.2.11-r4.trigger 21:57:17 OK: 272 MiB in 67 packages 21:57:17 Removing intermediate container 912a55612193 21:57:17 ---> e874a3937c7b 21:57:17 Step 8/13 : WORKDIR /device-usb-camera 21:57:17 ---> Running in dae8ecd4e12c 21:57:17 Removing intermediate container dae8ecd4e12c 21:57:17 ---> 2c6a1fb7376a 21:57:17 Step 9/13 : COPY go.mod vendor* ./ 21:57:17 ---> 0cdd38a283d9 21:57:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:57:17 ---> Running in 1689d2853c09 21:57:18 Still waiting to schedule task 21:57:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:58:04 Removing intermediate container 1689d2853c09 21:58:04 ---> 271a8133808f 21:58:04 Step 11/13 : COPY . . 21:58:04 ---> 5a59beef4648 21:58:04 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:58:04 ---> Running in de972e27d729 21:58:04  % Total % Received % Xferd Average Speed Time Time Time Current 21:58:04  Dload Upload Total Spent  Left Speed 21:58:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6516 0 --:--:-- --:--:-- --:--:-- 6555 21:58:04 Removing intermediate container de972e27d729 21:58:04 ---> 4c1d31c58188 21:58:04 Step 13/13 : RUN ${MAKE} 21:58:04 ---> Running in 80452ebf371d 21:58:04 noop 21:58:04 Removing intermediate container 80452ebf371d 21:58:04 ---> d73c5c04159e 21:58:04 Successfully built d73c5c04159e 21:58:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:04 + docker inspect -f . ci-base-image-x86_64 21:58:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:04 prd-ubuntu20.04-docker-8c-8g-6130 does not seem to be running inside a container 21:58:04 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:58:05 $ docker top c486fcc02c3b685e06f5f69945ec8f87bc4906e3bdb5b0960986ee10e53ced83 -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:05 + go version 21:58:05 go version go1.20.2 linux/amd64 [Pipeline] } 21:58:05 $ docker stop --time=1 c486fcc02c3b685e06f5f69945ec8f87bc4906e3bdb5b0960986ee10e53ced83 21:58:06 $ docker rm -f --volumes c486fcc02c3b685e06f5f69945ec8f87bc4906e3bdb5b0960986ee10e53ced83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:07 + docker inspect -f . ci-base-image-x86_64 21:58:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:58:07 prd-ubuntu20.04-docker-8c-8g-6130 does not seem to be running inside a container 21:58:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:58:07 $ docker top 79520d439c430342973bc8e9a78f7c6d5445246e5e76afe90120f13719e973cb -eo pid,comm [Pipeline] { [Pipeline] sh 21:58:07 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] fileExists [Pipeline] sh 21:58:08 + make test 21:58:08 go test ./... -coverprofile=coverage.out ./... 21:58:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:58:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:58:23 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 2.0% of statements 21:58:28 go vet ./... 21:58:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:58:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:58:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:58:32 $ docker stop --time=1 79520d439c430342973bc8e9a78f7c6d5445246e5e76afe90120f13719e973cb 21:58:35 $ docker rm -f --volumes 79520d439c430342973bc8e9a78f7c6d5445246e5e76afe90120f13719e973cb [Pipeline] // withDockerContainer [Pipeline] sh 21:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:58:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:58:36 + ls -al . 21:58:36 total 188 21:58:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 21:58 . 21:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:56 .. 21:58:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 21:57 .git 21:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:56 .github 21:58:36 -rw-rw-r-- 1 jenkins jenkins 414 Mar 28 21:56 .gitignore 21:58:36 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 21:56 .golangci.yml 21:58:36 -rw-rw-r-- 1 jenkins jenkins 77 Mar 28 21:56 .hadolint.yml 21:58:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 21:57 .semver 21:58:36 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 28 21:56 Attribution.txt 21:58:36 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 28 21:56 CHANGELOG.md 21:58:36 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 28 21:56 Dockerfile 21:58:36 -rw-rw-r-- 1 jenkins jenkins 678 Mar 28 21:56 GOVERNANCE.md 21:58:36 -rw-rw-r-- 1 jenkins jenkins 659 Mar 28 21:56 Jenkinsfile 21:58:36 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 21:56 LICENSE 21:58:36 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 28 21:56 Makefile 21:58:36 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 21:56 OWNERS.md 21:58:36 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 28 21:56 README.md 21:58:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 21:57 VERSION 21:58:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 21:56 bin 21:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:56 cmd 21:58:36 -rw-r--r-- 1 jenkins jenkins 28352 Mar 28 21:58 coverage.out 21:58:36 -rwxrwxr-x 1 jenkins jenkins 140 Mar 28 21:56 docker-entrypoint.sh 21:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:56 docs 21:58:36 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 28 21:56 go.mod 21:58:36 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 28 21:56 go.sum 21:58:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:56 internal 21:58:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:56 snap 21:58:36 -rw-rw-r-- 1 jenkins jenkins 231 Mar 28 21:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:37 + 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=813085f4f946e554729e7d8a02505033876427f7 --label arch=amd64 --label version=0.0.0 . 21:58:37 Sending build context to Docker daemon 2.031MB 21:58:37 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 21:58:37 Step 2/35 : FROM ${BASE} AS builder 21:58:37 ---> d73c5c04159e 21:58:37 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:58:37 ---> Running in 21d972986318 21:58:37 Removing intermediate container 21d972986318 21:58:37 ---> c63cbe0e4534 21:58:37 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:37 ---> Running in d0989d57b8a7 21:58:37 Removing intermediate container d0989d57b8a7 21:58:37 ---> 5dbb04dc259b 21:58:37 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:58:37 ---> Running in bfab287664b7 21:58:37 Removing intermediate container bfab287664b7 21:58:37 ---> 612b40b19bc5 21:58:37 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:58:37 ---> Running in ead551640ca1 21:58:37 Removing intermediate container ead551640ca1 21:58:37 ---> 40435c29f1ec 21:58:37 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:37 ---> Running in 07704dcdabac 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:58:38 OK: 272 MiB in 67 packages 21:58:38 Removing intermediate container 07704dcdabac 21:58:38 ---> 84f558b65d25 21:58:38 Step 8/35 : WORKDIR /device-usb-camera 21:58:38 ---> Running in 585d16986393 21:58:38 Removing intermediate container 585d16986393 21:58:38 ---> ed986bf172d1 21:58:38 Step 9/35 : COPY go.mod vendor* ./ 21:58:38 ---> 750592d16141 21:58:38 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:38 ---> Running in 5703cfecf496 21:58:39 Removing intermediate container 5703cfecf496 21:58:39 ---> 860c30559198 21:58:39 Step 11/35 : COPY . . 21:58:39 ---> 323714787515 21:58:39 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:58:39 ---> Running in a0eb00ec982d 21:58:40  % Total % Received % Xferd Average Speed Time Time Time Current 21:58:40 Dload Upload Total Spent Left Speed 21:58:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20460 0 --:--:-- --:--:-- --:--:-- 20823 21:58:40 Removing intermediate container a0eb00ec982d 21:58:40 ---> 718b4984d62b 21:58:40 Step 13/35 : RUN ${MAKE} 21:58:40 ---> Running in 57760520f96c 21:58:40 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:58:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6131 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] ws 21:58:53 Running in /w/workspace/device-usb-camera/9 [Pipeline] { [Pipeline] checkout 21:58:53 Selected Git installation does not exist. Using Default 21:58:53 The recommended git tool is: NONE 21:58:58 using credential edgex-jenkins-ssh 21:58:58 Cloning the remote Git repository 21:58:58 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:58:58 > git init /w/workspace/device-usb-camera/9 # timeout=10 21:58:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:58:58 > git --version # timeout=10 21:58:58 > git --version # 'git version 2.25.1' 21:58:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:58:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:58:59 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:58:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:59:00 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:59:00 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:59:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:00 > 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 21:59:01 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit 813085f4f946e554729e7d8a02505033876427f7 21:59:01 Merge succeeded, producing 813085f4f946e554729e7d8a02505033876427f7 21:59:01 Checking out Revision 813085f4f946e554729e7d8a02505033876427f7 (PR-203) 21:59:01 > git config core.sparsecheckout # timeout=10 21:59:01 > git checkout -f 813085f4f946e554729e7d8a02505033876427f7 # timeout=10 21:59:01 > git remote # timeout=10 21:59:01 > git config --get remote.origin.url # timeout=10 21:59:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:59:01 > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 21:59:01 > git rev-parse HEAD^{commit} # timeout=10 21:59:01 > git config core.sparsecheckout # timeout=10 21:59:01 > git checkout -f 813085f4f946e554729e7d8a02505033876427f7 # timeout=10 21:59:02 Removing intermediate container 57760520f96c 21:59:02 ---> 1678b70b5117 21:59:02 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:59:03 v0.21.6: Pulling from aler9/rtsp-simple-server 21:59:03 4acc49c71d14: Pulling fs layer 21:59:03 4acc49c71d14: Verifying Checksum 21:59:03 4acc49c71d14: Download complete 21:59:03 4acc49c71d14: Pull complete 21:59:03 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:59:03 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:59:03 ---> 01a2bd3e5fff 21:59:03 Step 15/35 : FROM alpine:3.17 21:59:04 3.17: Pulling from library/alpine 21:59:04 63b65145d645: Already exists 21:59:04 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:59:04 Status: Downloaded newer image for alpine:3.17 21:59:04 ---> b2aa39c304c2 21:59:04 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:59:04 ---> Running in e7b6c26bbd0d 21:59:04 Removing intermediate container e7b6c26bbd0d 21:59:04 ---> 6fb47318764e 21:59:04 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:59:04 ---> Running in 029dbd1ab82e 21:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:59:04 Commit message: "fix: resolve provisionwatcher validation error" 21:59:05 (1/86) Installing dumb-init (1.2.5-r2) 21:59:05 (2/86) Installing sdl2 (2.26.3-r0) 21:59:05 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:59:05 (4/86) Installing libxau (1.0.10-r0) 21:59:05 (5/86) Installing libmd (1.0.4-r0) 21:59:05 (6/86) Installing libbsd (0.11.7-r0) 21:59:05 (7/86) Installing libxdmcp (1.1.4-r0) 21:59:05 (8/86) Installing libxcb (1.15-r0) 21:59:05 (9/86) Installing libx11 (1.8.4-r0) 21:59:05 (10/86) Installing aom-libs (3.5.0-r0) 21:59:05 (11/86) Installing alsa-lib (1.2.8-r0) 21:59:05 (12/86) Installing libexpat (2.5.0-r0) 21:59:05 (13/86) Installing brotli-libs (1.0.9-r9) 21:59:05 (14/86) Installing libbz2 (1.0.8-r4) 21:59:05 (15/86) Installing libpng (1.6.38-r0) 21:59:05 (16/86) Installing freetype (2.12.1-r0) 21:59:05 (17/86) Installing fontconfig (2.14.1-r0) 21:59:05 (18/86) Installing fribidi (1.0.12-r0) 21:59:05 (19/86) Installing libffi (3.4.4-r0) 21:59:05 (20/86) Installing libintl (0.21.1-r1) 21:59:05 (21/86) Installing libblkid (2.38.1-r1) 21:59:05 (22/86) Installing libmount (2.38.1-r1) 21:59:05 (23/86) Installing pcre2 (10.42-r0) 21:59:05 (24/86) Installing glib (2.74.6-r0) 21:59:05 (25/86) Installing graphite2 (1.3.14-r2) 21:59:05 (26/86) Installing harfbuzz (5.3.1-r1) 21:59:05 (27/86) Installing libass (0.16.0-r1) 21:59:05 (28/86) Installing libdav1d (1.0.0-r2) 21:59:05 (29/86) Installing hwdata-pci (0.364-r0) 21:59:05 (30/86) Installing libpciaccess (0.17-r0) 21:59:05 (31/86) Installing libdrm (2.4.114-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:59:05 (32/86) Installing gmp (6.2.1-r2) 21:59:05 (33/86) Installing nettle (3.8.1-r0) 21:59:05 (34/86) Installing p11-kit (0.24.1-r1) 21:59:05 (35/86) Installing libtasn1 (4.19.0-r0) 21:59:05 (36/86) Installing libunistring (1.1-r0) 21:59:05 (37/86) Installing gnutls (3.7.8-r3) 21:59:05 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:59:05 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 21:59:05 (40/86) Installing lame (3.100-r2) 21:59:05 (41/86) Installing opus (1.3.1-r1) 21:59:05 (42/86) Installing libasyncns (0.8-r1) 21:59:05 (43/86) Installing dbus-libs (1.14.4-r0) 21:59:05 (44/86) Installing libltdl (2.4.7-r1) 21:59:05 (45/86) Installing orc (0.4.33-r0) 21:59:05 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:59:05 (47/86) Installing libogg (1.3.5-r2) 21:59:05 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:59:05 (49/86) Installing flac-libs (1.4.2-r0) 21:59:05 (50/86) Installing libvorbis (1.3.7-r0) 21:59:05 (51/86) Installing libsndfile (1.1.0-r2) 21:59:05 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:59:05 (53/86) Installing soxr (0.1.3-r3) 21:59:05 (54/86) Installing speexdsp (1.2.1-r0) 21:59:05 (55/86) Installing tdb-libs (1.4.7-r0) 21:59:05 (56/86) Installing libpulse (16.1-r6) 21:59:05 (57/86) Installing cjson (1.7.15-r3) 21:59:05 (58/86) Installing mbedtls (2.28.2-r0) 21:59:05 (59/86) Installing librist (0.2.7-r0) 21:59:05 (60/86) Installing libsrt (1.5.1-r0) 21:59:05 (61/86) Installing libssh (0.10.4-r0) 21:59:05 (62/86) Installing libtheora (1.1.1-r16) 21:59:05 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:59:05 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:59:05 (65/86) Installing libxext (1.3.5-r0) 21:59:05 (66/86) Installing libxfixes (6.0.0-r0) 21:59:05 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:59:05 (68/86) Installing libva (2.16.0-r0) 21:59:05 (69/86) Installing libvdpau (1.5-r0) 21:59:05 (70/86) Installing vidstab (1.1.0-r2) 21:59:05 (71/86) Installing libvpx (1.12.0-r1) 21:59:05 (72/86) Installing libwebp (1.2.4-r1) 21:59:05 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:59:05 (74/86) Installing numactl (2.0.16-r1) 21:59:05 (75/86) Installing x265-libs (3.5-r3) 21:59:05 (76/86) Installing xvidcore (1.3.7-r1) 21:59:05 (77/86) Installing libsodium (1.0.18-r2) 21:59:05 (78/86) Installing libzmq (4.3.4-r1) 21:59:05 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:59:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:59:06 % Total % Received % Xferd Average Speed Time Time Time Current 21:59:06 Dload Upload Total Spent Left Speed 21:59:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 21:59:06 (80/86) Installing ffmpeg (5.1.3-r0) 21:59:06 (81/86) Installing udev-init-scripts (35-r1) 21:59:06 (82/86) Installing eudev-libs (3.2.11-r4) 21:59:06 (83/86) Installing xz-libs (5.2.9-r0) 21:59:06 (84/86) Installing zstd-libs (1.5.2-r9) 21:59:06 (85/86) Installing kmod-libs (30-r1) 21:59:06 (86/86) Installing eudev (3.2.11-r4) 21:59:06 Executing busybox-1.35.0-r29.trigger 21:59:06 Executing eudev-3.2.11-r4.trigger 21:59:06 OK: 111 MiB in 101 packages [Pipeline] sh 21:59:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:59:07 + sudo tee /etc/docker/daemon.new 21:59:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:59:07 { 21:59:07 "registry-mirrors": [ 21:59:07 "https://nexus3.edgexfoundry.org:10001" 21:59:07 ], 21:59:07 "bip": "10.250.0.254/24", 21:59:07 "hosts": [ 21:59:07 "tcp://0.0.0.0:5555", 21:59:07 "unix:///var/run/docker.sock" 21:59:07 ], 21:59:07 "mtu": 1458, 21:59:07 "selinux-enabled": true, 21:59:07 "seccomp-profile": "/etc/docker/seccomp.json" 21:59:07 } [Pipeline] sh 21:59:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:59:07 + sudo service docker restart 21:59:09 Removing intermediate container 029dbd1ab82e 21:59:09 ---> 997ec7b93871 21:59:09 Step 18/35 : WORKDIR / 21:59:09 ---> Running in e4fde4afc1dd 21:59:09 Removing intermediate container e4fde4afc1dd 21:59:09 ---> 464858cc5d72 21:59:09 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:59:10 ---> 1b65a96a2310 21:59:10 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:59:10 ---> 30cfac6ef3c8 21:59:10 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:59:10 ---> 34928b58bc87 21:59:10 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:59:10 ---> f25404867987 21:59:10 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:59:10 ---> d7b2481b5ca7 21:59:10 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:59:10 ---> b4f2fbe330b5 21:59:10 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:59:11 ---> d90e824dffbb 21:59:11 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:59:11 ---> Running in 22f719141591 21:59:11 Removing intermediate container 22f719141591 21:59:11 ---> 619dc803a013 21:59:11 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:59:11 ---> Running in 74b7f74b10a0 21:59:12 Removing intermediate container 74b7f74b10a0 21:59:12 ---> 91a60d8aff6e 21:59:12 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:59:12 ---> Running in a55e2c2c7995 21:59:13 Removing intermediate container a55e2c2c7995 21:59:13 ---> f9548c83c97b 21:59:13 Step 29/35 : EXPOSE 59983 21:59:13 ---> Running in b44b37c80db0 21:59:13 Removing intermediate container b44b37c80db0 21:59:13 ---> 5e2ae929be58 21:59:13 Step 30/35 : EXPOSE 8554 21:59:13 ---> Running in a78c2f069bd3 21:59:13 Removing intermediate container a78c2f069bd3 21:59:13 ---> 54b67e1d9a6a 21:59:13 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:59:13 ---> Running in 2dbb1ad7f5ee 21:59:13 Removing intermediate container 2dbb1ad7f5ee 21:59:13 ---> 911ada309f52 21:59:13 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:59:13 ---> Running in 8d9fc268594e 21:59:13 Removing intermediate container 8d9fc268594e 21:59:13 ---> 1108f46c4640 21:59:13 Step 33/35 : LABEL arch=amd64 21:59:13 ---> Running in c1d80103bfd5 21:59:13 Removing intermediate container c1d80103bfd5 21:59:13 ---> dac9c47b5ccc 21:59:13 Step 34/35 : LABEL git_sha=813085f4f946e554729e7d8a02505033876427f7 21:59:13 ---> Running in d4071824c65c 21:59:13 Removing intermediate container d4071824c65c 21:59:13 ---> 7b7fd7952a2d 21:59:13 Step 35/35 : LABEL version=0.0.0 21:59:13 ---> Running in 2ca99a88fb47 21:59:13 Removing intermediate container 2ca99a88fb47 21:59:13 ---> 317cf157688e 21:59:13 [Warning] One or more build-args [ARCH] were not consumed 21:59:13 Successfully built 317cf157688e 21:59:13 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 21:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:14 21:59:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:14 latest: Pulling from edgex-lftools-log-publisher 21:59:14 5eb5b503b376: Pulling fs layer 21:59:14 5c69ac0246d0: Pulling fs layer 21:59:14 ec43610c2a17: Pulling fs layer 21:59:14 3a2ae6a8a46f: Pulling fs layer 21:59:14 33b1e0a273af: Pulling fs layer 21:59:14 3a2ae6a8a46f: Waiting 21:59:14 5d3b04190fa2: Pulling fs layer 21:59:14 2f39f015ded8: Pulling fs layer 21:59:14 5d3b04190fa2: Waiting 21:59:14 5c69ac0246d0: Verifying Checksum 21:59:14 5c69ac0246d0: Download complete 21:59:14 3a2ae6a8a46f: Verifying Checksum 21:59:14 3a2ae6a8a46f: Download complete 21:59:14 33b1e0a273af: Verifying Checksum 21:59:14 33b1e0a273af: Download complete 21:59:14 ec43610c2a17: Verifying Checksum 21:59:14 ec43610c2a17: Download complete 21:59:14 5d3b04190fa2: Download complete 21:59:14 5eb5b503b376: Verifying Checksum 21:59:14 5eb5b503b376: Download complete 21:59:15 2f39f015ded8: Verifying Checksum 21:59:15 2f39f015ded8: Download complete 21:59:15 5eb5b503b376: Pull complete 21:59:16 5c69ac0246d0: Pull complete 21:59:16 ec43610c2a17: Pull complete 21:59:16 3a2ae6a8a46f: Pull complete 21:59:16 33b1e0a273af: Pull complete 21:59:16 5d3b04190fa2: Pull complete 21:59:21 2f39f015ded8: Pull complete 21:59:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:59:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:59:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:21 prd-ubuntu20.04-docker-8c-8g-6130 does not seem to be running inside a container 21:59:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:59:25 $ docker top b20ceaefe44751b71efa55cad70157e8cbbf3d0074b61a52bdfd490fce541f66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:25 ---> job-cost.sh 21:59:25 lf-activate-venv: SKIPPING 21:59:25 INFO: No Stack... 21:59:25 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:59:26 provisioning config files... 21:59:26 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/9@tmp/config5333213857571898625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:26 ---> docker-login.sh 21:59:26 nexus3.edgexfoundry.org:10001 21:59:26 INFO: Archiving Costs [Pipeline] sh 21:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:26 + cat /w/workspace/foundry_device-usb-camera_PR-203/archives/cost.csv 21:59:26 + cut -d, -f6 [Pipeline] lock 21:59:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] 21:59:26 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] did not exist. Created. 21:59:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:26 Configure a credential helper to remove this warning. See 21:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:26 21:59:26 Login Succeeded 21:59:26 nexus3.edgexfoundry.org:10002 21:59:27 + echo total: 0.2199999988079071 [Pipeline] stash 21:59:27 Stashed 1 file(s) [Pipeline] } 21:59:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:27 $ docker stop --time=1 b20ceaefe44751b71efa55cad70157e8cbbf3d0074b61a52bdfd490fce541f66 21:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:27 Configure a credential helper to remove this warning. See 21:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:27 21:59:27 Login Succeeded 21:59:27 nexus3.edgexfoundry.org:10003 21:59:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:27 Configure a credential helper to remove this warning. See 21:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:27 21:59:27 Login Succeeded 21:59:27 nexus3.edgexfoundry.org:10004 21:59:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:28 Configure a credential helper to remove this warning. See 21:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:28 21:59:28 Login Succeeded 21:59:28 docker.io 21:59:28 $ docker rm -f --volumes b20ceaefe44751b71efa55cad70157e8cbbf3d0074b61a52bdfd490fce541f66 21:59:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:59:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:59:28 Configure a credential helper to remove this warning. See 21:59:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:59:28 21:59:28 Login Succeeded 21:59:28 ---> docker-login.sh ends [Pipeline] } 21:59:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:59:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:59:28 ========================================================= 21:59:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:59:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:29 + 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 . 21:59:29 Sending build context to Docker daemon 1.324MB 21:59:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:59:29 Step 2/13 : FROM ${BASE} AS builder 21:59:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:59:30 af6eaf76a39c: Pulling fs layer 21:59:30 55522c791124: Pulling fs layer 21:59:30 ce5c4a1c91eb: Pulling fs layer 21:59:30 169dfbe0d373: Pulling fs layer 21:59:30 e1ff8fa3b103: Pulling fs layer 21:59:30 52ebb69f0ebf: Pulling fs layer 21:59:30 5abe8eddf0d5: Pulling fs layer 21:59:30 e1ff8fa3b103: Waiting 21:59:30 52ebb69f0ebf: Waiting 21:59:30 5abe8eddf0d5: Waiting 21:59:30 169dfbe0d373: Waiting 21:59:30 55522c791124: Verifying Checksum 21:59:30 55522c791124: Download complete 21:59:30 169dfbe0d373: Verifying Checksum 21:59:30 169dfbe0d373: Download complete 21:59:30 e1ff8fa3b103: Download complete 21:59:30 af6eaf76a39c: Verifying Checksum 21:59:31 af6eaf76a39c: Pull complete 21:59:31 5abe8eddf0d5: Verifying Checksum 21:59:31 5abe8eddf0d5: Download complete 21:59:31 55522c791124: Pull complete 21:59:32 ce5c4a1c91eb: Verifying Checksum 21:59:32 ce5c4a1c91eb: Download complete 21:59:32 52ebb69f0ebf: Verifying Checksum 21:59:32 52ebb69f0ebf: Download complete 21:59:45 ce5c4a1c91eb: Pull complete 21:59:45 169dfbe0d373: Pull complete 21:59:45 e1ff8fa3b103: Pull complete 21:59:49 52ebb69f0ebf: Pull complete 21:59:51 5abe8eddf0d5: Pull complete 21:59:51 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:59:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:59:51 ---> 6cb57ee374ae 21:59:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:59:53 ---> Running in 185ac1b893c9 21:59:53 Removing intermediate container 185ac1b893c9 21:59:53 ---> f8da8ae4e38b 21:59:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:59:53 ---> Running in 40be3db1fc72 21:59:54 Removing intermediate container 40be3db1fc72 21:59:54 ---> 2489c10e83a9 21:59:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:59:54 ---> Running in 0c0ef836d418 21:59:54 Removing intermediate container 0c0ef836d418 21:59:54 ---> eec75ea9be33 21:59:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:59:54 ---> Running in 693594ab7bd5 21:59:54 Removing intermediate container 693594ab7bd5 21:59:54 ---> cac864289823 21:59:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:59:54 ---> Running in 9286a2c2505e 21:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:59:57 (1/14) Installing libintl (0.21.1-r1) 21:59:57 (2/14) Installing eudev-libs (3.2.11-r4) 21:59:57 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:59:57 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:59:57 (5/14) Installing v4l-utils (1.22.1-r2) 21:59:57 (6/14) Installing udev-init-scripts (35-r1) 21:59:57 (7/14) Installing libblkid (2.38.1-r1) 21:59:57 (8/14) Installing xz-libs (5.2.9-r0) 21:59:57 (9/14) Installing zstd-libs (1.5.2-r9) 21:59:57 (10/14) Installing kmod-libs (30-r1) 21:59:57 (11/14) Installing eudev (3.2.11-r4) 21:59:57 (12/14) Installing eudev-dev (3.2.11-r4) 21:59:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:59:57 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:59:57 Executing busybox-1.35.0-r29.trigger 21:59:57 Executing eudev-3.2.11-r4.trigger 21:59:57 OK: 271 MiB in 67 packages 21:59:58 Removing intermediate container 9286a2c2505e 21:59:58 ---> 84cd25a51399 21:59:58 Step 8/13 : WORKDIR /device-usb-camera 21:59:59 ---> Running in 9bba7cb314a0 21:59:59 Removing intermediate container 9bba7cb314a0 21:59:59 ---> f9d4ba641bfc 21:59:59 Step 9/13 : COPY go.mod vendor* ./ 22:00:00 ---> d07c0a2c2386 22:00:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:00:00 ---> Running in ce422a1696b7 22:01:07 Removing intermediate container ce422a1696b7 22:01:07 ---> e905e402ff31 22:01:07 Step 11/13 : COPY . . 22:01:07 ---> 25ef877edb3c 22:01:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:01:07 ---> Running in 929b26855684 22:01:07  % Total % Received % Xferd Average Speed Time Time Time Current 22:01:07 Dload Upload Total Spent Left Speed 22:01:07 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4200 0 --:--:-- --:--:-- --:--:-- 4214 22:01:07 Removing intermediate container 929b26855684 22:01:07 ---> f44e027a92d7 22:01:07 Step 13/13 : RUN ${MAKE} 22:01:07 ---> Running in 32381e7c2b53 22:01:07 noop 22:01:07 Removing intermediate container 32381e7c2b53 22:01:07 ---> 3946db8d7c63 22:01:07 Successfully built 3946db8d7c63 22:01:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:08 + docker inspect -f . ci-base-image-arm64 22:01:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:08 prd-ubuntu20.04-docker-arm64-4c-16g-6131 does not seem to be running inside a container 22:01:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@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 22:01:09 $ docker top 1797ae2bd060a763ee4b19d987474b8dc27a7b16bf9c18cb96f1ed903bbf1adf -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:10 + go version 22:01:10 go version go1.20.2 linux/arm64 [Pipeline] } 22:01:10 $ docker stop --time=1 1797ae2bd060a763ee4b19d987474b8dc27a7b16bf9c18cb96f1ed903bbf1adf 22:01:12 $ docker rm -f --volumes 1797ae2bd060a763ee4b19d987474b8dc27a7b16bf9c18cb96f1ed903bbf1adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:12 + docker inspect -f . ci-base-image-arm64 22:01:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:13 prd-ubuntu20.04-docker-arm64-4c-16g-6131 does not seem to be running inside a container 22:01:13 $ 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/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@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 22:01:15 $ docker top 14ec95b7c7abc0ced49774c993ee736b0df748396c3fa4a19979913ee408eed3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:01:15 + git config --global --add safe.directory /w/workspace/device-usb-camera/9 [Pipeline] fileExists [Pipeline] sh 22:01:16 + make test 22:01:16 go test ./... -coverprofile=coverage.out ./... 22:01:48 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:03:55 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:03:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 2.0% of statements 22:03:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:03:55 go vet ./... 22:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:04:29 ./bin/test-attribution-txt.sh [Pipeline] echo 22:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:04:29 $ docker stop --time=1 14ec95b7c7abc0ced49774c993ee736b0df748396c3fa4a19979913ee408eed3 22:04:31 $ docker rm -f --volumes 14ec95b7c7abc0ced49774c993ee736b0df748396c3fa4a19979913ee408eed3 [Pipeline] // withDockerContainer [Pipeline] sh 22:04:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:04:32 Warning: overwriting stash ‘coverage-report’ 22:04:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:04:34 + ls -al . 22:04:34 total 184 22:04:34 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 22:01 . 22:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:58 .. 22:04:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 21:59 .git 22:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:59 .github 22:04:34 -rw-rw-r-- 1 jenkins jenkins 414 Mar 28 21:59 .gitignore 22:04:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 21:59 .golangci.yml 22:04:34 -rw-rw-r-- 1 jenkins jenkins 77 Mar 28 21:59 .hadolint.yml 22:04:34 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 28 21:59 Attribution.txt 22:04:34 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 28 21:59 CHANGELOG.md 22:04:34 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 28 21:59 Dockerfile 22:04:34 -rw-rw-r-- 1 jenkins jenkins 678 Mar 28 21:59 GOVERNANCE.md 22:04:34 -rw-rw-r-- 1 jenkins jenkins 659 Mar 28 21:59 Jenkinsfile 22:04:34 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 28 21:59 LICENSE 22:04:34 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 28 21:59 Makefile 22:04:34 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 21:59 OWNERS.md 22:04:34 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 28 21:59 README.md 22:04:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 21:57 VERSION 22:04:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 21:59 bin 22:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:59 cmd 22:04:34 -rw-r--r-- 1 jenkins jenkins 28352 Mar 28 22:03 coverage.out 22:04:34 -rwxrwxr-x 1 jenkins jenkins 140 Mar 28 21:59 docker-entrypoint.sh 22:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:59 docs 22:04:34 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 28 21:59 go.mod 22:04:34 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 28 21:59 go.sum 22:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:59 internal 22:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:59 snap 22:04:34 -rw-rw-r-- 1 jenkins jenkins 231 Mar 28 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:34 + 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=813085f4f946e554729e7d8a02505033876427f7 --label arch=arm64 --label version=0.0.0 . 22:04:34 Sending build context to Docker daemon 1.353MB 22:04:34 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 22:04:34 Step 2/35 : FROM ${BASE} AS builder 22:04:34 ---> 3946db8d7c63 22:04:34 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:04:34 ---> Running in 822f5c2ab2fc 22:04:35 Removing intermediate container 822f5c2ab2fc 22:04:35 ---> 6c04953a8ff0 22:04:35 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:35 ---> Running in aba95990043b 22:04:35 Removing intermediate container aba95990043b 22:04:35 ---> 17a0e1b8ac24 22:04:35 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:04:35 ---> Running in eb11d9cf758d 22:04:35 Removing intermediate container eb11d9cf758d 22:04:35 ---> fa47808a0313 22:04:35 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:04:35 ---> Running in cb450f9c5676 22:04:35 Removing intermediate container cb450f9c5676 22:04:35 ---> 0fe6aa947650 22:04:35 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:36 ---> Running in e9f3419f97dc 22:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:04:38 OK: 271 MiB in 67 packages 22:04:39 Removing intermediate container e9f3419f97dc 22:04:39 ---> 48f992f034c4 22:04:39 Step 8/35 : WORKDIR /device-usb-camera 22:04:39 ---> Running in bf83c2974c3f 22:04:39 Removing intermediate container bf83c2974c3f 22:04:39 ---> b9e2a6509f96 22:04:39 Step 9/35 : COPY go.mod vendor* ./ 22:04:39 ---> 4ec566694acf 22:04:39 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:40 ---> Running in 748d711f827e 22:04:44 Removing intermediate container 748d711f827e 22:04:44 ---> 58ca1303fc7f 22:04:44 Step 11/35 : COPY . . 22:04:45 ---> 6dd285bf9f90 22:04:45 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:04:45 ---> Running in b4cc39f8c712 22:04:46  % Total % Received % Xferd Average Speed Time Time Time Current 22:04:46 Dload Upload Total Spent  Left Speed 22:04:46 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3325 0 --:--:-- --:--:-- --:--:-- 3339 22:04:47 Removing intermediate container b4cc39f8c712 22:04:47 ---> 97054138ba7e 22:04:47 Step 13/35 : RUN ${MAKE} 22:04:47 ---> Running in 04e3a16e4c3e 22:04:48 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:07:12 Removing intermediate container 04e3a16e4c3e 22:07:12 ---> 0642ce6c3ce6 22:07:12 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:07:12 v0.21.6: Pulling from aler9/rtsp-simple-server 22:07:12 8766b47fe142: Pulling fs layer 22:07:12 8766b47fe142: Download complete 22:07:12 8766b47fe142: Pull complete 22:07:12 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:07:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:07:12 ---> 69d40e2cb93c 22:07:12 Step 15/35 : FROM alpine:3.17 22:07:12 3.17: Pulling from library/alpine 22:07:12 af6eaf76a39c: Already exists 22:07:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:07:12 Status: Downloaded newer image for alpine:3.17 22:07:12 ---> d74e625d9115 22:07:12 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:07:12 ---> Running in 60c9a41b6d6d 22:07:12 Removing intermediate container 60c9a41b6d6d 22:07:12 ---> c521244d0e70 22:07:12 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:07:12 ---> Running in f156d11d7887 22:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:07:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:07:12 (1/83) Installing dumb-init (1.2.5-r2) 22:07:12 (2/83) Installing sdl2 (2.26.3-r0) 22:07:12 (3/83) Installing libxau (1.0.10-r0) 22:07:12 (4/83) Installing libmd (1.0.4-r0) 22:07:12 (5/83) Installing libbsd (0.11.7-r0) 22:07:12 (6/83) Installing libxdmcp (1.1.4-r0) 22:07:12 (7/83) Installing libxcb (1.15-r0) 22:07:12 (8/83) Installing libx11 (1.8.4-r0) 22:07:12 (9/83) Installing aom-libs (3.5.0-r0) 22:07:12 (10/83) Installing alsa-lib (1.2.8-r0) 22:07:12 (11/83) Installing libexpat (2.5.0-r0) 22:07:12 (12/83) Installing brotli-libs (1.0.9-r9) 22:07:12 (13/83) Installing libbz2 (1.0.8-r4) 22:07:12 (14/83) Installing libpng (1.6.38-r0) 22:07:12 (15/83) Installing freetype (2.12.1-r0) 22:07:12 (16/83) Installing fontconfig (2.14.1-r0) 22:07:12 (17/83) Installing fribidi (1.0.12-r0) 22:07:12 (18/83) Installing libffi (3.4.4-r0) 22:07:12 (19/83) Installing libintl (0.21.1-r1) 22:07:12 (20/83) Installing libblkid (2.38.1-r1) 22:07:12 (21/83) Installing libmount (2.38.1-r1) 22:07:12 (22/83) Installing pcre2 (10.42-r0) 22:07:12 (23/83) Installing glib (2.74.6-r0) 22:07:12 (24/83) Installing graphite2 (1.3.14-r2) 22:07:12 (25/83) Installing harfbuzz (5.3.1-r1) 22:07:12 (26/83) Installing libass (0.16.0-r1) 22:07:12 (27/83) Installing libdav1d (1.0.0-r2) 22:07:12 (28/83) Installing libdrm (2.4.114-r0) 22:07:12 (29/83) Installing gmp (6.2.1-r2) 22:07:12 (30/83) Installing nettle (3.8.1-r0) 22:07:12 (31/83) Installing p11-kit (0.24.1-r1) 22:07:12 (32/83) Installing libtasn1 (4.19.0-r0) 22:07:12 (33/83) Installing libunistring (1.1-r0) 22:07:12 (34/83) Installing gnutls (3.7.8-r3) 22:07:12 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 22:07:12 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 22:07:12 (37/83) Installing lame (3.100-r2) 22:07:12 (38/83) Installing opus (1.3.1-r1) 22:07:12 (39/83) Installing libasyncns (0.8-r1) 22:07:12 (40/83) Installing dbus-libs (1.14.4-r0) 22:07:12 (41/83) Installing libltdl (2.4.7-r1) 22:07:12 (42/83) Installing orc (0.4.33-r0) 22:07:12 (43/83) Installing libgcc (12.2.1_git20220924-r4) 22:07:12 (44/83) Installing libogg (1.3.5-r2) 22:07:12 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 22:07:12 (46/83) Installing flac-libs (1.4.2-r0) 22:07:12 (47/83) Installing libvorbis (1.3.7-r0) 22:07:12 (48/83) Installing libsndfile (1.1.0-r2) 22:07:12 (49/83) Installing libgomp (12.2.1_git20220924-r4) 22:07:12 (50/83) Installing soxr (0.1.3-r3) 22:07:12 (51/83) Installing speexdsp (1.2.1-r0) 22:07:12 (52/83) Installing tdb-libs (1.4.7-r0) 22:07:12 (53/83) Installing libpulse (16.1-r6) 22:07:12 (54/83) Installing cjson (1.7.15-r3) 22:07:12 (55/83) Installing mbedtls (2.28.2-r0) 22:07:12 (56/83) Installing librist (0.2.7-r0) 22:07:12 (57/83) Installing libsrt (1.5.1-r0) 22:07:12 (58/83) Installing libssh (0.10.4-r0) 22:07:12 (59/83) Installing libtheora (1.1.1-r16) 22:07:12 (60/83) Installing libjpeg-turbo (2.1.4-r0) 22:07:12 (61/83) Installing v4l-utils-libs (1.22.1-r2) 22:07:12 (62/83) Installing libxext (1.3.5-r0) 22:07:12 (63/83) Installing libxfixes (6.0.0-r0) 22:07:12 (64/83) Installing wayland-libs-client (1.21.0-r1) 22:07:12 (65/83) Installing libva (2.16.0-r0) 22:07:12 (66/83) Installing libvdpau (1.5-r0) 22:07:12 (67/83) Installing vidstab (1.1.0-r2) 22:07:12 (68/83) Installing libvpx (1.12.0-r1) 22:07:12 (69/83) Installing libwebp (1.2.4-r1) 22:07:12 (70/83) Installing x264-libs (0.164_git20220602-r0) 22:07:12 (71/83) Installing numactl (2.0.16-r1) 22:07:12 (72/83) Installing x265-libs (3.5-r3) 22:07:12 (73/83) Installing xvidcore (1.3.7-r1) 22:07:12 (74/83) Installing libsodium (1.0.18-r2) 22:07:12 (75/83) Installing libzmq (4.3.4-r1) 22:07:12 (76/83) Installing ffmpeg-libs (5.1.3-r0) 22:07:12 (77/83) Installing ffmpeg (5.1.3-r0) 22:07:12 (78/83) Installing udev-init-scripts (35-r1) 22:07:12 (79/83) Installing eudev-libs (3.2.11-r4) 22:07:12 (80/83) Installing xz-libs (5.2.9-r0) 22:07:12 (81/83) Installing zstd-libs (1.5.2-r9) 22:07:12 (82/83) Installing kmod-libs (30-r1) 22:07:12 (83/83) Installing eudev (3.2.11-r4) 22:07:12 Executing busybox-1.35.0-r29.trigger 22:07:12 Executing eudev-3.2.11-r4.trigger 22:07:12 OK: 86 MiB in 98 packages 22:07:14 Removing intermediate container f156d11d7887 22:07:14 ---> c13955817187 22:07:14 Step 18/35 : WORKDIR / 22:07:14 ---> Running in c41ed10bf60e 22:07:14 Removing intermediate container c41ed10bf60e 22:07:14 ---> e442ea415ff9 22:07:14 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:07:15 ---> cd0ae93f2020 22:07:15 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:07:15 ---> b7d1c95e8494 22:07:15 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:07:16 ---> 1ca91f50fa4f 22:07:16 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:07:16 ---> e4fe5e555911 22:07:16 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:07:17 ---> 660261ddfaeb 22:07:17 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:07:18 ---> 7eba7b20156b 22:07:18 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:07:21 ---> 70b0601e6ebf 22:07:21 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:07:21 ---> Running in 11809bc1616a 22:07:23 Removing intermediate container 11809bc1616a 22:07:23 ---> 13eec769b752 22:07:23 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:07:23 ---> Running in ca6dc5c5507d 22:07:24 Removing intermediate container ca6dc5c5507d 22:07:24 ---> a2d9b5964639 22:07:24 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:07:24 ---> Running in d6a1f2276c8c 22:07:26 Removing intermediate container d6a1f2276c8c 22:07:26 ---> 5e25cddabc32 22:07:26 Step 29/35 : EXPOSE 59983 22:07:26 ---> Running in e806717d2f30 22:07:26 Removing intermediate container e806717d2f30 22:07:26 ---> e5d30843dd9d 22:07:26 Step 30/35 : EXPOSE 8554 22:07:26 ---> Running in 37368396e225 22:07:26 Removing intermediate container 37368396e225 22:07:26 ---> 4aa4d8bc6b49 22:07:26 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:07:27 ---> Running in 1acfe2d526f9 22:07:27 Removing intermediate container 1acfe2d526f9 22:07:27 ---> ba128861c4e0 22:07:27 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:07:27 ---> Running in 1a73acdbc76b 22:07:27 Removing intermediate container 1a73acdbc76b 22:07:27 ---> d297fee802e4 22:07:27 Step 33/35 : LABEL arch=arm64 22:07:27 ---> Running in 22be5f8a570b 22:07:27 Removing intermediate container 22be5f8a570b 22:07:27 ---> d55147819fb0 22:07:27 Step 34/35 : LABEL git_sha=813085f4f946e554729e7d8a02505033876427f7 22:07:28 ---> Running in 3f9119def28f 22:07:28 Removing intermediate container 3f9119def28f 22:07:28 ---> c334cb597801 22:07:28 Step 35/35 : LABEL version=0.0.0 22:07:28 ---> Running in c8f75547ee67 22:07:28 Removing intermediate container c8f75547ee67 22:07:28 ---> cb0ea51021d2 22:07:28 [Warning] One or more build-args [ARCH] were not consumed 22:07:28 Successfully built cb0ea51021d2 22:07:28 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 22:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:29 22:07:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:29 arm64: Pulling from edgex-lftools-log-publisher 22:07:29 8998bd30e6a1: Pulling fs layer 22:07:29 04944245beec: Pulling fs layer 22:07:29 699f458cf7ca: Pulling fs layer 22:07:29 765212b225bb: Pulling fs layer 22:07:29 f23df028b6ca: Pulling fs layer 22:07:29 d65c8cfc05b1: Pulling fs layer 22:07:29 2437ff75d9bd: Pulling fs layer 22:07:29 f23df028b6ca: Waiting 22:07:29 d65c8cfc05b1: Waiting 22:07:29 2437ff75d9bd: Waiting 22:07:29 765212b225bb: Waiting 22:07:29 04944245beec: Verifying Checksum 22:07:29 04944245beec: Download complete 22:07:29 765212b225bb: Verifying Checksum 22:07:29 765212b225bb: Download complete 22:07:29 f23df028b6ca: Verifying Checksum 22:07:29 f23df028b6ca: Download complete 22:07:29 d65c8cfc05b1: Verifying Checksum 22:07:29 d65c8cfc05b1: Download complete 22:07:29 699f458cf7ca: Verifying Checksum 22:07:29 699f458cf7ca: Download complete 22:07:30 8998bd30e6a1: Verifying Checksum 22:07:30 8998bd30e6a1: Download complete 22:07:32 2437ff75d9bd: Verifying Checksum 22:07:32 2437ff75d9bd: Download complete 22:07:34 8998bd30e6a1: Pull complete 22:07:34 04944245beec: Pull complete 22:07:36 699f458cf7ca: Pull complete 22:07:36 765212b225bb: Pull complete 22:07:37 f23df028b6ca: Pull complete 22:07:37 d65c8cfc05b1: Pull complete 22:07:52 2437ff75d9bd: Pull complete 22:07:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:07:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:52 prd-ubuntu20.04-docker-arm64-4c-16g-6131 does not seem to be running inside a container 22:07:52 $ 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/9 -v /w/workspace/device-usb-camera/9:/w/workspace/device-usb-camera/9:rw,z -v /w/workspace/device-usb-camera/9@tmp:/w/workspace/device-usb-camera/9@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 22:07:55 $ docker top 3a43089dbd874f7a80b9cb847ca6e5984fc9d0177f30a251631f80cd893e60dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:55 ---> job-cost.sh 22:07:55 lf-activate-venv: SKIPPING 22:07:55 INFO: No Stack... 22:07:56 INFO: Retrieving Pricing Info for: v3-standard-4 22:07:57 INFO: Archiving Costs [Pipeline] sh 22:07:57 + cat /w/workspace/device-usb-camera/9/archives/cost.csv 22:07:57 + cut -d, -f6 [Pipeline] lock 22:07:57 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] 22:07:57 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] did not exist. Created. 22:07:57 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:07:58 /w/workspace/device-usb-camera/9@tmp/durable-668d1517/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:07:58 + echo total: 0.10999999940395355 [Pipeline] stash 22:07:58 Warning: overwriting stash ‘stack-cost’ 22:07:58 Stashed 1 file(s) [Pipeline] } 22:07:58 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-9-stack-cost] [Pipeline] // lock [Pipeline] } 22:07:58 $ docker stop --time=1 3a43089dbd874f7a80b9cb847ca6e5984fc9d0177f30a251631f80cd893e60dd 22:07:59 $ docker rm -f --volumes 3a43089dbd874f7a80b9cb847ca6e5984fc9d0177f30a251631f80cd893e60dd [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 22:08:00 provisioning config files... 22:08:00 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config10212885430921839471tmp [Pipeline] { [Pipeline] sh 22:08:00 + set +x 22:08:00 + curl -s https://codecov.io/bash 22:08:00 + bash -s -- 22:08:00 22:08:00 _____ _ 22:08:00 / ____| | | 22:08:00 | | ___ __| | ___ ___ _____ __ 22:08:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:08:00 | |___| (_) | (_| | __/ (_| (_) \ V / 22:08:00 \_____\___/ \__,_|\___|\___\___/ \_/ 22:08:00 Bash-1.0.6 22:08:00 22:08:00 22:08:00 ==> git version 2.25.1 found 22:08:00 ==> 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 22:08:00 Release-Date: 2020-01-08 22:08:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:08:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:08:00 ==> Jenkins CI detected. 22:08:00 current dir:  /w/workspace/foundry_device-usb-camera_PR-203 22:08:00 project root: . 22:08:00 --> token set from env 22:08:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:08:00 ==> Running gcov in . (disable via -X gcov) 22:08:00 ==> Python coveragepy not found 22:08:00 ==> Searching for coverage reports in: 22:08:00 + . 22:08:00 -> Found 1 reports 22:08:00 ==> Detecting git/mercurial file structure 22:08:00 ==> Reading reports 22:08:00 + ./coverage.out bytes=28352 22:08:00 ==> Appending adjustments 22:08:00 https://docs.codecov.io/docs/fixing-reports 22:08:00 + Found adjustments 22:08:00 ==> Gzipping contents 22:08:00 4.0K /tmp/codecov.FmBDkI.gz 22:08:00 ==> Uploading reports 22:08:00 url: https://codecov.io 22:08:00 query: branch=PR-203&commit=813085f4f946e554729e7d8a02505033876427f7&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 22:08:00 -> Pinging Codecov 22:08:00 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=813085f4f946e554729e7d8a02505033876427f7&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 22:08:01 -> Uploading to 22:08:01 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/73D8F5FF140700D3E01443B452E23636/813085f4f946e554729e7d8a02505033876427f7/3e457ca2-6ae0-4ce4-b6dc-73c9bdbf35eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T220800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=77b8ca0a05112e7c25d3a12e5c496dc3627e9c4c1d1b900a3e323e37c88b05ac 22:08:01 % Total % Received % Xferd Average Speed Time Time Time Current 22:08:01 Dload Upload Total Spent Left Speed 22:08:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3897 0 0 100 3897 0 13391 --:--:-- --:--:-- --:--:-- 13345 100 3897 0 0 100 3897 0 13391 --:--:-- --:--:-- --:--:-- 13345 22:08:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/813085f4f946e554729e7d8a02505033876427f7 [Pipeline] } 22:08:01 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 22:08:02 + [ -d /w/workspace/foundry_device-usb-camera_PR-203/archives ] 22:08:02 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 22:08:02 total 16 22:08:02 drwxr-xr-x 3 root root 4096 Mar 28 21:59 . 22:08:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:59 .. 22:08:02 drwxr-xr-x 2 root root 4096 Mar 28 21:59 cost 22:08:02 -rw-r--r-- 1 root root 89 Mar 28 21:59 cost.csv 22:08:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-203/archives 22:08:02 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 22:08:02 total 16 22:08:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 21:59 . 22:08:02 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 21:59 .. 22:08:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 21:59 cost 22:08:02 -rw-r--r-- 1 jenkins jenkins 89 Mar 28 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:08:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:08:03 ---> package-listing.sh 22:08:03 ++ facter osfamily 22:08:03 ++ tr '[:upper:]' '[:lower:]' 22:08:03 + OS_FAMILY=debian 22:08:03 + workspace=/w/workspace/foundry_device-usb-camera_PR-203 22:08:03 + START_PACKAGES=/tmp/packages_start.txt 22:08:03 + END_PACKAGES=/tmp/packages_end.txt 22:08:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:08:03 + PACKAGES=/tmp/packages_start.txt 22:08:03 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 22:08:03 + PACKAGES=/tmp/packages_end.txt 22:08:03 + case "${OS_FAMILY}" in 22:08:03 + dpkg -l 22:08:03 + grep '^ii' 22:08:03 + '[' -f /tmp/packages_start.txt ']' 22:08:03 + '[' -f /tmp/packages_end.txt ']' 22:08:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:08:03 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 22:08:03 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-203/archives/ 22:08:03 + 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 22:08:03 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 22:08:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:08:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:08:04 prd-ubuntu20.04-docker-8c-8g-6130 does not seem to be running inside a container 22:08:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:08:04 $ docker top d6a0af98c552e9755c756d88bd104ea498f4ddf5189c617b1d0e6b65ed2e097c -eo pid,comm [Pipeline] { [Pipeline] sh 22:08:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:08:05 + mkdir -p /var/log/sysstat [Pipeline] sh 22:08:05 + ls /var/log/sa-host 22:08:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:05 provisioning config files... 22:08:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config17039674207686303831tmp [Pipeline] { [Pipeline] echo 22:08:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:08:06 ---> create-netrc.sh [Pipeline] } 22:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:08:06 ---> python-tools-install.sh [Pipeline] echo 22:08:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:08:06 ---> sudo-logs.sh 22:08:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:08:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:08:07 ---> job-cost.sh 22:08:07 lf-activate-venv: SKIPPING 22:08:07 DEBUG: total: 0.2199999988079071 22:08:07 INFO: Retrieving Stack Cost... 22:08:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:08:07 INFO: Archiving Costs [Pipeline] echo 22:08:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:08:08 ---> logs-deploy.sh 22:08:08 lf-activate-venv: SKIPPING 22:08:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-203/9 22:08:08 INFO: archiving workspace using pattern(s): 22:08:09 Archives upload complete. 22:08:09 INFO: archiving logs to Nexus