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 e11d9c615cda4cc00dccebc720424e5b82666142 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-ssh126761141937678311.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-ssh10530727962939104206.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-ssh3740063281429625639.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-ssh5533704006983242129.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-ssh14176277164018136119.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-5739 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 > 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 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit e11d9c615cda4cc00dccebc720424e5b82666142 Merge succeeded, producing e11d9c615cda4cc00dccebc720424e5b82666142 Checking out Revision e11d9c615cda4cc00dccebc720424e5b82666142 (PR-203) > git config core.sparsecheckout # timeout=10 > git checkout -f e11d9c615cda4cc00dccebc720424e5b82666142 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e11d9c615cda4cc00dccebc720424e5b82666142 # timeout=10 Commit message: "fix: resolved formatting issues in driver.go" First time build. Skipping changelog. > git rev-list --no-walk a7adc2ccc911502cf868b2d5c537840fb146d12e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:23:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:23:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:23:25 ========================================================= 22:23:25 EdgeX Global Pipelines Version Info 22:23:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:23:26 ------------------- 22:23:26 stable info: 22:23:26 ------------------- 22:23:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:23:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:23:26 Message: update stable to v1.0.245 22:23:26 ------------------- 22:23:26 experimental info: 22:23:26 ------------------- 22:23:26 Commited By: **** collab-it+edgex@linuxfoundation.org 22:23:26 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 22:23:26 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:23:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e11d9c615cda4cc00dccebc720424e5b82666142 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e11d9c6 [Pipeline] echo 22:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:27 provisioning config files... 22:23:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config342834250027691035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:27 ---> docker-login.sh 22:23:27 nexus3.edgexfoundry.org:10001 22:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:27 Configure a credential helper to remove this warning. See 22:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:27 22:23:27 Login Succeeded 22:23:27 nexus3.edgexfoundry.org:10002 22:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:28 Configure a credential helper to remove this warning. See 22:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:28 22:23:28 Login Succeeded 22:23:28 nexus3.edgexfoundry.org:10003 22:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:28 Configure a credential helper to remove this warning. See 22:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:28 22:23:28 Login Succeeded 22:23:28 nexus3.edgexfoundry.org:10004 22:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:28 Configure a credential helper to remove this warning. See 22:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:28 22:23:28 Login Succeeded 22:23:28 docker.io 22:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:28 Configure a credential helper to remove this warning. See 22:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:28 22:23:28 Login Succeeded 22:23:28 ---> docker-login.sh ends [Pipeline] } 22:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:23:28 + git rev-list -1 --merges e11d9c615cda4cc00dccebc720424e5b82666142~1..e11d9c615cda4cc00dccebc720424e5b82666142 [Pipeline] echo 22:23:28 -----------> git rev-list -1 --merges e11d9c615cda4cc00dccebc720424e5b82666142~1..e11d9c615cda4cc00dccebc720424e5b82666142 e11d9c615cda4cc00dccebc720424e5b82666142 [false] [Pipeline] sh 22:23:29 + git log --format=format:%s -1 e11d9c615cda4cc00dccebc720424e5b82666142 [Pipeline] echo 22:23:29 ========================================================= 22:23:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:23:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:23:29 + git log --format=format:%s -1 e11d9c615cda4cc00dccebc720424e5b82666142 [Pipeline] echo 22:23:29 [semverPrep] GIT_COMMIT: e11d9c615cda4cc00dccebc720424e5b82666142, Commit Message: fix: resolved formatting issues in driver.go [Pipeline] echo 22:23:29 [semverPrep] This is not a build commit. [Pipeline] sh 22:23:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:23:29 + grep -v github /etc/ssh/ssh_known_hosts 22:23:29 + [ -e /tmp/ssh_known_hosts ] 22:23:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:23:29 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:23:29 sudo tee -a /etc/ssh/ssh_known_hosts 22:23:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:30 22:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:30 0.1.4: Pulling from edgex-devops/py-git-semver 22:23:30 b85a868b505f: Pulling fs layer 22:23:30 e2be974225ed: Pulling fs layer 22:23:30 339a4e72a1f5: Pulling fs layer 22:23:30 988bab9f4d93: Pulling fs layer 22:23:30 1469e6f7b9e6: Pulling fs layer 22:23:30 eaf3925da568: Pulling fs layer 22:23:30 bab4dde63d76: Pulling fs layer 22:23:30 bde34c3a00c8: Pulling fs layer 22:23:30 b352a97aabf1: Pulling fs layer 22:23:30 4872d77fe225: Pulling fs layer 22:23:30 5851b861e8e6: Pulling fs layer 22:23:30 988bab9f4d93: Waiting 22:23:30 1469e6f7b9e6: Waiting 22:23:30 eaf3925da568: Waiting 22:23:30 bab4dde63d76: Waiting 22:23:30 bde34c3a00c8: Waiting 22:23:30 b352a97aabf1: Waiting 22:23:30 4872d77fe225: Waiting 22:23:30 5851b861e8e6: Waiting 22:23:30 e2be974225ed: Verifying Checksum 22:23:30 e2be974225ed: Download complete 22:23:30 988bab9f4d93: Download complete 22:23:30 1469e6f7b9e6: Verifying Checksum 22:23:30 1469e6f7b9e6: Download complete 22:23:30 eaf3925da568: Download complete 22:23:30 339a4e72a1f5: Verifying Checksum 22:23:30 339a4e72a1f5: Download complete 22:23:30 bde34c3a00c8: Download complete 22:23:30 b352a97aabf1: Verifying Checksum 22:23:30 b352a97aabf1: Download complete 22:23:30 4872d77fe225: Download complete 22:23:30 5851b861e8e6: Download complete 22:23:30 b85a868b505f: Verifying Checksum 22:23:30 b85a868b505f: Download complete 22:23:31 bab4dde63d76: Verifying Checksum 22:23:31 bab4dde63d76: Download complete 22:23:32 b85a868b505f: Pull complete 22:23:32 e2be974225ed: Pull complete 22:23:33 339a4e72a1f5: Pull complete 22:23:33 988bab9f4d93: Pull complete 22:23:33 1469e6f7b9e6: Pull complete 22:23:33 eaf3925da568: Pull complete 22:23:35 bab4dde63d76: Pull complete 22:23:35 bde34c3a00c8: Pull complete 22:23:35 b352a97aabf1: Pull complete 22:23:35 4872d77fe225: Pull complete 22:23:35 5851b861e8e6: Pull complete 22:23:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:23:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:35 prd-ubuntu20.04-docker-8c-8g-5739 does not seem to be running inside a container 22:23:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:23:37 $ docker top 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 -eo pid,comm 22:23:37 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). 22:23:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:37 [ssh-agent] Looking for ssh-agent implementation... 22:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:37 $ docker exec 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 ssh-agent 22:23:37 SSH_AUTH_SOCK=/tmp/ssh-OBHIFECsdV5W/agent.31 22:23:37 SSH_AGENT_PID=37 22:23:37 Running ssh-add (command line suppressed) 22:23:37 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_6307835350527849266.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_6307835350527849266.key) 22:23:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:37 + git tag --points-at HEAD [Pipeline] } 22:23:37 $ docker exec --env ******** --env ******** 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 ssh-agent -k 22:23:37 unset SSH_AUTH_SOCK; 22:23:37 unset SSH_AGENT_PID; 22:23:37 echo Agent pid 37 killed; 22:23:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:23:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:38 [ssh-agent] Looking for ssh-agent implementation... 22:23:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:38 $ docker exec 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 ssh-agent 22:23:38 SSH_AUTH_SOCK=/tmp/ssh-kHZQxdyjzgGy/agent.69 22:23:38 SSH_AGENT_PID=75 22:23:38 Running ssh-add (command line suppressed) 22:23:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_9045128527574496847.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_9045128527574496847.key) 22:23:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:38 + git semver init 22:23:38 2023-03-24 22:23:38,875 [run_init] DEBUG init version:0.0.0 force:False 22:23:38 2023-03-24 22:23:38,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-203/.semver 22:23:38 2023-03-24 22:23:38,877 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-203/.semver 22:23:38 2023-03-24 22:23:38,877 [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) 22:23:39 2023-03-24 22:23:39,520 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-203/.git/info/exclude 22:23:39 2023-03-24 22:23:39,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 with force:False 22:23:39 2023-03-24 22:23:39,521 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 22:23:39 2023-03-24 22:23:39,525 [execute] INFO git cat-file --batch-check 22:23:39 2023-03-24 22:23:39,526 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 22:23:39 2023-03-24 22:23:39,533 [execute] INFO git cat-file --batch 22:23:39 2023-03-24 22:23:39,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) 22:23:39 2023-03-24 22:23:39,538 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 22:23:39 0.0.0 [Pipeline] } 22:23:39 $ docker exec --env ******** --env ******** 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 ssh-agent -k 22:23:40 unset SSH_AUTH_SOCK; 22:23:40 unset SSH_AGENT_PID; 22:23:40 echo Agent pid 75 killed; 22:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:23:40 + git semver [Pipeline] } 22:23:40 $ docker stop --time=1 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 22:23:41 $ docker rm -f --volumes 7de69e71f22c88ee02642808509c80915d3b3e2a89968c9f98aa3292b189ba82 [Pipeline] // withDockerContainer [Pipeline] sh 22:23:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:23:42 Stashed 1 file(s) [Pipeline] echo 22:23:42 [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 22:23:42 provisioning config files... 22:23:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config3721696316878646566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:42 ---> docker-login.sh 22:23:42 nexus3.edgexfoundry.org:10001 22:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:42 Configure a credential helper to remove this warning. See 22:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:42 22:23:42 Login Succeeded 22:23:42 nexus3.edgexfoundry.org:10002 22:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:42 Configure a credential helper to remove this warning. See 22:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:42 22:23:42 Login Succeeded 22:23:42 nexus3.edgexfoundry.org:10003 22:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:43 Configure a credential helper to remove this warning. See 22:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:43 22:23:43 Login Succeeded 22:23:43 nexus3.edgexfoundry.org:10004 22:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:43 Configure a credential helper to remove this warning. See 22:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:43 22:23:43 Login Succeeded 22:23:43 docker.io 22:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:23:43 Configure a credential helper to remove this warning. See 22:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:23:43 22:23:43 Login Succeeded 22:23:43 ---> docker-login.sh ends [Pipeline] } 22:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:23:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:23:43 ========================================================= 22:23:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:23:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:44 + 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 . 22:23:44 Sending build context to Docker daemon 1.969MB 22:23:44 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:23:44 Step 2/13 : FROM ${BASE} AS builder 22:23:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:23:44 63b65145d645: Pulling fs layer 22:23:44 a2d21d5440eb: Pulling fs layer 22:23:44 935e6c44a52c: Pulling fs layer 22:23:44 94cc34f8dd06: Pulling fs layer 22:23:44 30dea6a524f1: Pulling fs layer 22:23:44 a2aff8979fd8: Pulling fs layer 22:23:44 6808be2612f2: Pulling fs layer 22:23:44 f25807f1079a: Pulling fs layer 22:23:44 94cc34f8dd06: Waiting 22:23:44 f25807f1079a: Waiting 22:23:44 6808be2612f2: Waiting 22:23:44 30dea6a524f1: Waiting 22:23:44 a2aff8979fd8: Waiting 22:23:44 a2d21d5440eb: Verifying Checksum 22:23:44 a2d21d5440eb: Download complete 22:23:44 94cc34f8dd06: Download complete 22:23:44 30dea6a524f1: Download complete 22:23:44 63b65145d645: Verifying Checksum 22:23:44 63b65145d645: Download complete 22:23:44 a2aff8979fd8: Verifying Checksum 22:23:44 a2aff8979fd8: Download complete 22:23:44 63b65145d645: Pull complete 22:23:44 a2d21d5440eb: Pull complete 22:23:44 f25807f1079a: Verifying Checksum 22:23:44 f25807f1079a: Download complete 22:23:45 935e6c44a52c: Verifying Checksum 22:23:45 935e6c44a52c: Download complete 22:23:45 6808be2612f2: Verifying Checksum 22:23:45 6808be2612f2: Download complete 22:23:48 935e6c44a52c: Pull complete 22:23:48 94cc34f8dd06: Pull complete 22:23:48 30dea6a524f1: Pull complete 22:23:48 a2aff8979fd8: Pull complete 22:23:51 6808be2612f2: Pull complete 22:23:52 f25807f1079a: Pull complete 22:23:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:23:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:23:52 ---> 3b553350e43f 22:23:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:23:53 ---> Running in 44c2547249ac 22:23:53 Removing intermediate container 44c2547249ac 22:23:53 ---> 4534592ecf09 22:23:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:23:53 ---> Running in 05fbd0ea765d 22:23:53 Removing intermediate container 05fbd0ea765d 22:23:53 ---> 52bd8e7b39ae 22:23:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:23:53 ---> Running in 2dd82bf1052e 22:23:53 Removing intermediate container 2dd82bf1052e 22:23:53 ---> dfc029ba182a 22:23:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:23:53 ---> Running in fe128f0e2854 22:23:53 Removing intermediate container fe128f0e2854 22:23:53 ---> 8b7680e6790f 22:23:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:23:53 ---> Running in 52dbe475ab0e 22:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:23:54 (1/14) Installing libintl (0.21.1-r1) 22:23:54 (2/14) Installing eudev-libs (3.2.11-r4) 22:23:54 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:23:54 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:23:54 (5/14) Installing v4l-utils (1.22.1-r2) 22:23:54 (6/14) Installing udev-init-scripts (35-r1) 22:23:54 (7/14) Installing libblkid (2.38.1-r1) 22:23:54 (8/14) Installing xz-libs (5.2.9-r0) 22:23:54 (9/14) Installing zstd-libs (1.5.2-r9) 22:23:54 (10/14) Installing kmod-libs (30-r1) 22:23:54 (11/14) Installing eudev (3.2.11-r4) 22:23:54 (12/14) Installing eudev-dev (3.2.11-r4) 22:23:54 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:23:54 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:23:54 Executing busybox-1.35.0-r29.trigger 22:23:54 Executing eudev-3.2.11-r4.trigger 22:23:54 OK: 272 MiB in 67 packages 22:23:55 Removing intermediate container 52dbe475ab0e 22:23:55 ---> 92b58a801b74 22:23:55 Step 8/13 : WORKDIR /device-usb-camera 22:23:55 ---> Running in 4c62a00047aa 22:23:55 Removing intermediate container 4c62a00047aa 22:23:55 ---> 367640bcb88a 22:23:55 Step 9/13 : COPY go.mod vendor* ./ 22:23:55 ---> e79cbe1a361f 22:23:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:23:55 ---> Running in 6b88ad282068 22:23:57 Still waiting to schedule task 22:23:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:24:17 Removing intermediate container 6b88ad282068 22:24:17 ---> 6fe46850599d 22:24:17 Step 11/13 : COPY . . 22:24:17 ---> f069fed19adb 22:24:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:24:17 ---> Running in 75fa6c0cfb33 22:24:18  % Total % Received % Xferd Average Speed Time Time Time Current 22:24:18 Dload Upload Total Spent Left Speed 22:24:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8463 0 --:--:-- --:--:-- --:--:-- 8496 22:24:18 Removing intermediate container 75fa6c0cfb33 22:24:18 ---> d6ee9864f50a 22:24:18 Step 13/13 : RUN ${MAKE} 22:24:18 ---> Running in 2d1f88b04ded 22:24:18 noop 22:24:19 Removing intermediate container 2d1f88b04ded 22:24:19 ---> 60788e441fe2 22:24:19 Successfully built 60788e441fe2 22:24:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:19 + docker inspect -f . ci-base-image-x86_64 22:24:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:19 prd-ubuntu20.04-docker-8c-8g-5739 does not seem to be running inside a container 22:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:24:19 $ docker top 07ba3354d6ab527569ca4b7f8a283bd52b2b33ed11a822b604f66e1d4fa2d9f7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:20 + go version 22:24:20 go version go1.20.2 linux/amd64 [Pipeline] } 22:24:20 $ docker stop --time=1 07ba3354d6ab527569ca4b7f8a283bd52b2b33ed11a822b604f66e1d4fa2d9f7 22:24:21 $ docker rm -f --volumes 07ba3354d6ab527569ca4b7f8a283bd52b2b33ed11a822b604f66e1d4fa2d9f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:21 + docker inspect -f . ci-base-image-x86_64 22:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:22 prd-ubuntu20.04-docker-8c-8g-5739 does not seem to be running inside a container 22:24:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:24:22 $ docker top 188b2fd9318503af9a8a655a4bb0fc3255b4d4907f31776afd0e3bdd38559422 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:22 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] fileExists [Pipeline] sh 22:24:23 + make test 22:24:23 go test ./... -coverprofile=coverage.out ./... 22:24:28 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:24:40 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:24:40 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 2.0% of statements 22:24:47 go vet ./... 22:24:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:24:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:24:50 ./bin/test-attribution-txt.sh [Pipeline] echo 22:24:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:24:50 $ docker stop --time=1 188b2fd9318503af9a8a655a4bb0fc3255b4d4907f31776afd0e3bdd38559422 22:24:52 $ docker rm -f --volumes 188b2fd9318503af9a8a655a4bb0fc3255b4d4907f31776afd0e3bdd38559422 [Pipeline] // withDockerContainer [Pipeline] sh 22:24:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:24:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:24:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:24:53 + ls -al . 22:24:53 total 188 22:24:53 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 22:24 . 22:24:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:23 .. 22:24:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 22:23 .git 22:24:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:23 .github 22:24:53 -rw-rw-r-- 1 jenkins jenkins 414 Mar 24 22:23 .gitignore 22:24:53 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 22:23 .golangci.yml 22:24:53 -rw-rw-r-- 1 jenkins jenkins 77 Mar 24 22:23 .hadolint.yml 22:24:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 22:23 .semver 22:24:53 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 24 22:23 Attribution.txt 22:24:53 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 24 22:23 CHANGELOG.md 22:24:53 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 24 22:23 Dockerfile 22:24:53 -rw-rw-r-- 1 jenkins jenkins 678 Mar 24 22:23 GOVERNANCE.md 22:24:53 -rw-rw-r-- 1 jenkins jenkins 659 Mar 24 22:23 Jenkinsfile 22:24:53 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 24 22:23 LICENSE 22:24:53 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 24 22:23 Makefile 22:24:53 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 22:23 OWNERS.md 22:24:53 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 24 22:23 README.md 22:24:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 22:23 VERSION 22:24:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 22:23 bin 22:24:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:23 cmd 22:24:53 -rw-r--r-- 1 jenkins jenkins 28352 Mar 24 22:24 coverage.out 22:24:53 -rwxrwxr-x 1 jenkins jenkins 140 Mar 24 22:23 docker-entrypoint.sh 22:24:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:23 docs 22:24:53 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 24 22:23 go.mod 22:24:53 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 24 22:23 go.sum 22:24:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:23 internal 22:24:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:23 snap 22:24:53 -rw-rw-r-- 1 jenkins jenkins 231 Mar 24 22:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:53 + 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=e11d9c615cda4cc00dccebc720424e5b82666142 --label arch=amd64 --label version=0.0.0 . 22:24:53 Sending build context to Docker daemon 1.998MB 22:24:53 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 22:24:53 Step 2/35 : FROM ${BASE} AS builder 22:24:53 ---> 60788e441fe2 22:24:53 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:24:53 ---> Running in 8a3466fd0432 22:24:54 Removing intermediate container 8a3466fd0432 22:24:54 ---> e1d9448bad35 22:24:54 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:24:54 ---> Running in e5709133314b 22:24:54 Removing intermediate container e5709133314b 22:24:54 ---> 6286c3b5e19e 22:24:54 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:24:54 ---> Running in 7f9f21a613f6 22:24:54 Removing intermediate container 7f9f21a613f6 22:24:54 ---> 9be6ed3d1758 22:24:54 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:24:54 ---> Running in 0b75b0751304 22:24:54 Removing intermediate container 0b75b0751304 22:24:54 ---> fb64cd45885c 22:24:54 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:24:54 ---> Running in e150d59621e7 22:24:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:24:55 OK: 272 MiB in 67 packages 22:24:55 Removing intermediate container e150d59621e7 22:24:55 ---> fca2a8546d40 22:24:55 Step 8/35 : WORKDIR /device-usb-camera 22:24:55 ---> Running in f7c776d0497a 22:24:55 Removing intermediate container f7c776d0497a 22:24:55 ---> 40d6326e46bf 22:24:55 Step 9/35 : COPY go.mod vendor* ./ 22:24:55 ---> be87401f8a5a 22:24:55 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:24:55 ---> Running in 7ca6bb2a4457 22:24:56 Removing intermediate container 7ca6bb2a4457 22:24:56 ---> e3c33a6e7c1d 22:24:56 Step 11/35 : COPY . . 22:24:56 ---> b1a2488a6237 22:24:56 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:24:56 ---> Running in a0101be0ed22 22:24:57  % Total % Received % Xferd Average Speed Time Time Time Current 22:24:57  Dload Upload Total Spent Left Speed 22:24:57  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19004 0 --:--:-- --:--:-- --:--:-- 19309 22:24:57 Removing intermediate container a0101be0ed22 22:24:57 ---> 3059028bd9bf 22:24:57 Step 13/35 : RUN ${MAKE} 22:24:57 ---> Running in 7a0acdf972da 22:24:58 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:25:19 Removing intermediate container 7a0acdf972da 22:25:19 ---> b1aff7eff875 22:25:19 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:25:19 v0.21.6: Pulling from aler9/rtsp-simple-server 22:25:19 4acc49c71d14: Pulling fs layer 22:25:19 4acc49c71d14: Verifying Checksum 22:25:19 4acc49c71d14: Download complete 22:25:19 4acc49c71d14: Pull complete 22:25:19 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:25:19 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:25:19 ---> 01a2bd3e5fff 22:25:19 Step 15/35 : FROM alpine:3.17 22:25:19 3.17: Pulling from library/alpine 22:25:19 63b65145d645: Already exists 22:25:20 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:25:20 Status: Downloaded newer image for alpine:3.17 22:25:20 ---> b2aa39c304c2 22:25:20 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:25:20 ---> Running in 46e5b655a91e 22:25:20 Removing intermediate container 46e5b655a91e 22:25:20 ---> 6fcc13948608 22:25:20 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:25:20 ---> Running in 626650b237f0 22:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:25:21 (1/86) Installing dumb-init (1.2.5-r2) 22:25:21 (2/86) Installing sdl2 (2.26.3-r0) 22:25:21 (3/86) Installing svt-av1-libs (1.3.0-r0) 22:25:21 (4/86) Installing libxau (1.0.10-r0) 22:25:21 (5/86) Installing libmd (1.0.4-r0) 22:25:21 (6/86) Installing libbsd (0.11.7-r0) 22:25:21 (7/86) Installing libxdmcp (1.1.4-r0) 22:25:21 (8/86) Installing libxcb (1.15-r0) 22:25:21 (9/86) Installing libx11 (1.8.4-r0) 22:25:21 (10/86) Installing aom-libs (3.5.0-r0) 22:25:21 (11/86) Installing alsa-lib (1.2.8-r0) 22:25:21 (12/86) Installing libexpat (2.5.0-r0) 22:25:21 (13/86) Installing brotli-libs (1.0.9-r9) 22:25:21 (14/86) Installing libbz2 (1.0.8-r4) 22:25:21 (15/86) Installing libpng (1.6.38-r0) 22:25:21 (16/86) Installing freetype (2.12.1-r0) 22:25:21 (17/86) Installing fontconfig (2.14.1-r0) 22:25:21 (18/86) Installing fribidi (1.0.12-r0) 22:25:21 (19/86) Installing libffi (3.4.4-r0) 22:25:21 (20/86) Installing libintl (0.21.1-r1) 22:25:21 (21/86) Installing libblkid (2.38.1-r1) 22:25:21 (22/86) Installing libmount (2.38.1-r1) 22:25:21 (23/86) Installing pcre2 (10.42-r0) 22:25:21 (24/86) Installing glib (2.74.6-r0) 22:25:21 (25/86) Installing graphite2 (1.3.14-r2) 22:25:21 (26/86) Installing harfbuzz (5.3.1-r1) 22:25:21 (27/86) Installing libass (0.16.0-r1) 22:25:21 (28/86) Installing libdav1d (1.0.0-r2) 22:25:21 (29/86) Installing hwdata-pci (0.364-r0) 22:25:21 (30/86) Installing libpciaccess (0.17-r0) 22:25:21 (31/86) Installing libdrm (2.4.114-r0) 22:25:21 (32/86) Installing gmp (6.2.1-r2) 22:25:21 (33/86) Installing nettle (3.8.1-r0) 22:25:21 (34/86) Installing p11-kit (0.24.1-r1) 22:25:21 (35/86) Installing libtasn1 (4.19.0-r0) 22:25:21 (36/86) Installing libunistring (1.1-r0) 22:25:21 (37/86) Installing gnutls (3.7.8-r3) 22:25:21 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 22:25:21 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 22:25:21 (40/86) Installing lame (3.100-r2) 22:25:21 (41/86) Installing opus (1.3.1-r1) 22:25:21 (42/86) Installing libasyncns (0.8-r1) 22:25:21 (43/86) Installing dbus-libs (1.14.4-r0) 22:25:21 (44/86) Installing libltdl (2.4.7-r1) 22:25:21 (45/86) Installing orc (0.4.33-r0) 22:25:21 (46/86) Installing libgcc (12.2.1_git20220924-r4) 22:25:21 (47/86) Installing libogg (1.3.5-r2) 22:25:21 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 22:25:21 (49/86) Installing flac-libs (1.4.2-r0) 22:25:21 (50/86) Installing libvorbis (1.3.7-r0) 22:25:21 (51/86) Installing libsndfile (1.1.0-r2) 22:25:21 (52/86) Installing libgomp (12.2.1_git20220924-r4) 22:25:21 (53/86) Installing soxr (0.1.3-r3) 22:25:21 (54/86) Installing speexdsp (1.2.1-r0) 22:25:21 (55/86) Installing tdb-libs (1.4.7-r0) 22:25:21 (56/86) Installing libpulse (16.1-r6) 22:25:21 (57/86) Installing cjson (1.7.15-r3) 22:25:21 (58/86) Installing mbedtls (2.28.2-r0) 22:25:21 (59/86) Installing librist (0.2.7-r0) 22:25:21 (60/86) Installing libsrt (1.5.1-r0) 22:25:21 (61/86) Installing libssh (0.10.4-r0) 22:25:21 (62/86) Installing libtheora (1.1.1-r16) 22:25:21 (63/86) Installing libjpeg-turbo (2.1.4-r0) 22:25:21 (64/86) Installing v4l-utils-libs (1.22.1-r2) 22:25:21 (65/86) Installing libxext (1.3.5-r0) 22:25:21 (66/86) Installing libxfixes (6.0.0-r0) 22:25:21 (67/86) Installing wayland-libs-client (1.21.0-r1) 22:25:21 (68/86) Installing libva (2.16.0-r0) 22:25:21 (69/86) Installing libvdpau (1.5-r0) 22:25:21 (70/86) Installing vidstab (1.1.0-r2) 22:25:21 (71/86) Installing libvpx (1.12.0-r1) 22:25:21 (72/86) Installing libwebp (1.2.4-r1) 22:25:21 (73/86) Installing x264-libs (0.164_git20220602-r0) 22:25:22 (74/86) Installing numactl (2.0.16-r1) 22:25:22 (75/86) Installing x265-libs (3.5-r3) 22:25:22 (76/86) Installing xvidcore (1.3.7-r1) 22:25:22 (77/86) Installing libsodium (1.0.18-r2) 22:25:22 (78/86) Installing libzmq (4.3.4-r1) 22:25:22 (79/86) Installing ffmpeg-libs (5.1.2-r2) 22:25:22 (80/86) Installing ffmpeg (5.1.2-r2) 22:25:22 (81/86) Installing udev-init-scripts (35-r1) 22:25:22 (82/86) Installing eudev-libs (3.2.11-r4) 22:25:22 (83/86) Installing xz-libs (5.2.9-r0) 22:25:22 (84/86) Installing zstd-libs (1.5.2-r9) 22:25:22 (85/86) Installing kmod-libs (30-r1) 22:25:22 (86/86) Installing eudev (3.2.11-r4) 22:25:22 Executing busybox-1.35.0-r29.trigger 22:25:22 Executing eudev-3.2.11-r4.trigger 22:25:22 OK: 111 MiB in 101 packages 22:25:24 Removing intermediate container 626650b237f0 22:25:24 ---> 5d4b625a33c7 22:25:24 Step 18/35 : WORKDIR / 22:25:24 ---> Running in f7631e20d67b 22:25:24 Removing intermediate container f7631e20d67b 22:25:24 ---> ed1b07b3bc54 22:25:24 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:25:24 ---> fe2d3023f16d 22:25:24 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:25:24 ---> 76b5c2c2570a 22:25:24 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:25:24 ---> 44103bde381f 22:25:24 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:25:24 ---> 4a58dc611056 22:25:24 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:25:24 ---> 85d38c409e9e 22:25:24 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:25:25 ---> d307b208551d 22:25:25 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:25:25 ---> f388ee9f59b4 22:25:25 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:25:25 ---> Running in 9883b3a161c7 22:25:26 Removing intermediate container 9883b3a161c7 22:25:26 ---> 1cda8ed61283 22:25:26 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:25:26 ---> Running in 19a427a1db3a 22:25:26 Removing intermediate container 19a427a1db3a 22:25:26 ---> 757d8d3a974a 22:25:26 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:25:26 ---> Running in e6c10a76799a 22:25:27 Removing intermediate container e6c10a76799a 22:25:27 ---> 15a60ac5b561 22:25:27 Step 29/35 : EXPOSE 59983 22:25:27 ---> Running in 5539d01843a6 22:25:27 Removing intermediate container 5539d01843a6 22:25:27 ---> f822e5228d9e 22:25:27 Step 30/35 : EXPOSE 8554 22:25:27 ---> Running in 090ca90fa7aa 22:25:27 Removing intermediate container 090ca90fa7aa 22:25:27 ---> 2f4560817218 22:25:27 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:25:27 ---> Running in 53fac7c4799d 22:25:27 Removing intermediate container 53fac7c4799d 22:25:27 ---> d5a74c23b304 22:25:27 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:25:27 ---> Running in c3d1a1d63c1d 22:25:27 Removing intermediate container c3d1a1d63c1d 22:25:27 ---> f3debd940de8 22:25:27 Step 33/35 : LABEL arch=amd64 22:25:27 ---> Running in 7d6d060eb62c 22:25:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5740 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] ws 22:25:28 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 22:25:28 Selected Git installation does not exist. Using Default 22:25:28 The recommended git tool is: NONE 22:25:28 Removing intermediate container 7d6d060eb62c 22:25:28 ---> de5f124f4844 22:25:28 Step 34/35 : LABEL git_sha=e11d9c615cda4cc00dccebc720424e5b82666142 22:25:28 ---> Running in 653bb2ca9956 22:25:28 Removing intermediate container 653bb2ca9956 22:25:28 ---> 45de5dafdab0 22:25:28 Step 35/35 : LABEL version=0.0.0 22:25:28 ---> Running in 906bc5efe052 22:25:28 Removing intermediate container 906bc5efe052 22:25:28 ---> c395ed07555f 22:25:28 [Warning] One or more build-args [ARCH] were not consumed 22:25:28 Successfully built c395ed07555f 22:25:28 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 22:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:28 22:25:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:29 latest: Pulling from edgex-lftools-log-publisher 22:25:29 5eb5b503b376: Pulling fs layer 22:25:29 5c69ac0246d0: Pulling fs layer 22:25:29 ec43610c2a17: Pulling fs layer 22:25:29 3a2ae6a8a46f: Pulling fs layer 22:25:29 33b1e0a273af: Pulling fs layer 22:25:29 5d3b04190fa2: Pulling fs layer 22:25:29 2f39f015ded8: Pulling fs layer 22:25:29 3a2ae6a8a46f: Waiting 22:25:29 33b1e0a273af: Waiting 22:25:29 5d3b04190fa2: Waiting 22:25:29 2f39f015ded8: Waiting 22:25:29 5c69ac0246d0: Download complete 22:25:29 3a2ae6a8a46f: Verifying Checksum 22:25:29 3a2ae6a8a46f: Download complete 22:25:29 33b1e0a273af: Verifying Checksum 22:25:29 33b1e0a273af: Download complete 22:25:29 5d3b04190fa2: Download complete 22:25:29 ec43610c2a17: Verifying Checksum 22:25:29 ec43610c2a17: Download complete 22:25:29 5eb5b503b376: Verifying Checksum 22:25:29 5eb5b503b376: Download complete 22:25:30 2f39f015ded8: Verifying Checksum 22:25:30 2f39f015ded8: Download complete 22:25:30 5eb5b503b376: Pull complete 22:25:30 5c69ac0246d0: Pull complete 22:25:31 ec43610c2a17: Pull complete 22:25:31 3a2ae6a8a46f: Pull complete 22:25:31 33b1e0a273af: Pull complete 22:25:31 5d3b04190fa2: Pull complete 22:25:33 using credential edgex-jenkins-ssh 22:25:33 Cloning the remote Git repository 22:25:33 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 22:25:33 > git init /w/workspace/device-usb-camera/4 # timeout=10 22:25:33 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:25:33 > git --version # timeout=10 22:25:33 > git --version # 'git version 2.25.1' 22:25:33 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:36 2f39f015ded8: Pull complete 22:25:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:25:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:37 prd-ubuntu20.04-docker-8c-8g-5739 does not seem to be running inside a container 22:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:35 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:25:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:25:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:25:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:25:36 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:36 > 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 22:25:37 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit e11d9c615cda4cc00dccebc720424e5b82666142 22:25:37 Merge succeeded, producing e11d9c615cda4cc00dccebc720424e5b82666142 22:25:37 Checking out Revision e11d9c615cda4cc00dccebc720424e5b82666142 (PR-203) 22:25:38 $ docker top bf7ebe05ea697ba30f6c1df8d69ba2832575712a087bf8cce5323dc8a6312c7d -eo pid,comm [Pipeline] { 22:25:37 > git config core.sparsecheckout # timeout=10 22:25:37 > git checkout -f e11d9c615cda4cc00dccebc720424e5b82666142 # timeout=10 22:25:37 > git remote # timeout=10 22:25:37 > git config --get remote.origin.url # timeout=10 22:25:37 using GIT_SSH to set credentials SSH Credentials for GitHub 22:25:37 > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 22:25:37 > git rev-parse HEAD^{commit} # timeout=10 22:25:37 > git config core.sparsecheckout # timeout=10 22:25:37 > git checkout -f e11d9c615cda4cc00dccebc720424e5b82666142 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 22:25:38 ---> job-cost.sh 22:25:38 lf-activate-venv: SKIPPING 22:25:38 INFO: No Stack... 22:25:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:39 INFO: Archiving Costs [Pipeline] sh 22:25:39 + + cut -d, -f6cat 22:25:39 /w/workspace/foundry_device-usb-camera_PR-203/archives/cost.csv [Pipeline] lock 22:25:39 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] 22:25:39 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] did not exist. Created. 22:25:39 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:39 + echo total: 0.2199999988079071 [Pipeline] stash 22:25:40 Stashed 1 file(s) [Pipeline] } 22:25:40 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:40 $ docker stop --time=1 bf7ebe05ea697ba30f6c1df8d69ba2832575712a087bf8cce5323dc8a6312c7d 22:25:41 $ docker rm -f --volumes bf7ebe05ea697ba30f6c1df8d69ba2832575712a087bf8cce5323dc8a6312c7d 22:25:41 Commit message: "fix: resolved formatting issues in driver.go" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:25:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:25:42 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:42 Dload Upload Total Spent Left Speed 22:25:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 22:25:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:25:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:25:43 + sudo tee /etc/docker/daemon.new 22:25:43 { 22:25:43 "registry-mirrors": [ 22:25:43 "https://nexus3.edgexfoundry.org:10001" 22:25:43 ], 22:25:43 "bip": "10.250.0.254/24", 22:25:43 "hosts": [ 22:25:43 "tcp://0.0.0.0:5555", 22:25:43 "unix:///var/run/docker.sock" 22:25:43 ], 22:25:43 "mtu": 1458, 22:25:43 "selinux-enabled": true, 22:25:43 "seccomp-profile": "/etc/docker/seccomp.json" 22:25:43 } [Pipeline] sh 22:25:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:25:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:26:02 provisioning config files... 22:26:02 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config17348953142530634782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:26:02 ---> docker-login.sh 22:26:02 nexus3.edgexfoundry.org:10001 22:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10002 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10003 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:03 Configure a credential helper to remove this warning. See 22:26:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:03 22:26:03 Login Succeeded 22:26:03 nexus3.edgexfoundry.org:10004 22:26:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:04 Configure a credential helper to remove this warning. See 22:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:04 22:26:04 Login Succeeded 22:26:04 docker.io 22:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:26:04 Configure a credential helper to remove this warning. See 22:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:26:04 22:26:04 Login Succeeded 22:26:04 ---> docker-login.sh ends [Pipeline] } 22:26:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:26:05 ========================================================= 22:26:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:26:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:26:05 + 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 . 22:26:05 Sending build context to Docker daemon 1.285MB 22:26:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:26:05 Step 2/13 : FROM ${BASE} AS builder 22:26:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:26:05 af6eaf76a39c: Pulling fs layer 22:26:05 55522c791124: Pulling fs layer 22:26:05 ce5c4a1c91eb: Pulling fs layer 22:26:05 169dfbe0d373: Pulling fs layer 22:26:05 e1ff8fa3b103: Pulling fs layer 22:26:05 52ebb69f0ebf: Pulling fs layer 22:26:05 5abe8eddf0d5: Pulling fs layer 22:26:05 e1ff8fa3b103: Waiting 22:26:05 52ebb69f0ebf: Waiting 22:26:05 169dfbe0d373: Waiting 22:26:05 5abe8eddf0d5: Waiting 22:26:05 55522c791124: Verifying Checksum 22:26:05 55522c791124: Download complete 22:26:05 169dfbe0d373: Verifying Checksum 22:26:05 169dfbe0d373: Download complete 22:26:05 e1ff8fa3b103: Verifying Checksum 22:26:05 e1ff8fa3b103: Download complete 22:26:05 af6eaf76a39c: Verifying Checksum 22:26:05 af6eaf76a39c: Download complete 22:26:06 af6eaf76a39c: Pull complete 22:26:07 5abe8eddf0d5: Verifying Checksum 22:26:07 5abe8eddf0d5: Download complete 22:26:07 55522c791124: Pull complete 22:26:08 52ebb69f0ebf: Verifying Checksum 22:26:08 52ebb69f0ebf: Download complete 22:26:08 ce5c4a1c91eb: Verifying Checksum 22:26:08 ce5c4a1c91eb: Download complete 22:26:18 ce5c4a1c91eb: Pull complete 22:26:18 169dfbe0d373: Pull complete 22:26:19 e1ff8fa3b103: Pull complete 22:26:25 52ebb69f0ebf: Pull complete 22:26:27 5abe8eddf0d5: Pull complete 22:26:27 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:26:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:26:27 ---> 6cb57ee374ae 22:26:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:26:29 ---> Running in f11308997f97 22:26:29 Removing intermediate container f11308997f97 22:26:29 ---> d7678347bc06 22:26:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:26:29 ---> Running in 3d6555cd6a13 22:26:29 Removing intermediate container 3d6555cd6a13 22:26:29 ---> 2e22d579a0e8 22:26:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:26:29 ---> Running in 2d98ecd289a8 22:26:30 Removing intermediate container 2d98ecd289a8 22:26:30 ---> fd494f97cc9c 22:26:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:26:30 ---> Running in 6bda4c536c9d 22:26:30 Removing intermediate container 6bda4c536c9d 22:26:30 ---> c2444b4c9a70 22:26:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:26:30 ---> Running in ccaa0687c017 22:26:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:26:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:26:33 (1/14) Installing libintl (0.21.1-r1) 22:26:33 (2/14) Installing eudev-libs (3.2.11-r4) 22:26:33 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:26:33 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:26:33 (5/14) Installing v4l-utils (1.22.1-r2) 22:26:33 (6/14) Installing udev-init-scripts (35-r1) 22:26:33 (7/14) Installing libblkid (2.38.1-r1) 22:26:33 (8/14) Installing xz-libs (5.2.9-r0) 22:26:33 (9/14) Installing zstd-libs (1.5.2-r9) 22:26:33 (10/14) Installing kmod-libs (30-r1) 22:26:33 (11/14) Installing eudev (3.2.11-r4) 22:26:33 (12/14) Installing eudev-dev (3.2.11-r4) 22:26:33 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:26:33 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:26:33 Executing busybox-1.35.0-r29.trigger 22:26:33 Executing eudev-3.2.11-r4.trigger 22:26:33 OK: 271 MiB in 67 packages 22:26:34 Removing intermediate container ccaa0687c017 22:26:34 ---> 4cd65b4d9cfd 22:26:34 Step 8/13 : WORKDIR /device-usb-camera 22:26:34 ---> Running in 37c980f23d2b 22:26:35 Removing intermediate container 37c980f23d2b 22:26:35 ---> 37c4473b4888 22:26:35 Step 9/13 : COPY go.mod vendor* ./ 22:26:35 ---> ec055ec50fb9 22:26:35 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:26:35 ---> Running in eee817e12036 22:27:43 Removing intermediate container eee817e12036 22:27:43 ---> e81c95c07747 22:27:43 Step 11/13 : COPY . . 22:27:43 ---> 85cda1afb03b 22:27:43 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:27:43 ---> Running in b1fb4d13b45a 22:27:43  % Total % Received % Xferd Average Speed Time Time Time Current 22:27:43 Dload Upload Total Spent Left Speed 22:27:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4300 0 --:--:-- --:--:-- --:--:-- 4317 22:27:43 Removing intermediate container b1fb4d13b45a 22:27:43 ---> 33b5c74158a3 22:27:43 Step 13/13 : RUN ${MAKE} 22:27:43 ---> Running in a27b21fa6c01 22:27:43 noop 22:27:43 Removing intermediate container a27b21fa6c01 22:27:43 ---> 105217846e17 22:27:43 Successfully built 105217846e17 22:27:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:43 + docker inspect -f . ci-base-image-arm64 22:27:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:44 prd-ubuntu20.04-docker-arm64-4c-16g-5740 does not seem to be running inside a container 22:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:27:45 $ docker top 23694a7f3d768bd56ca9cd09500d0025e0574aa83b17ebf6333985fd987c8446 -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:46 + go version 22:27:46 go version go1.20.2 linux/arm64 [Pipeline] } 22:27:46 $ docker stop --time=1 23694a7f3d768bd56ca9cd09500d0025e0574aa83b17ebf6333985fd987c8446 22:27:48 $ docker rm -f --volumes 23694a7f3d768bd56ca9cd09500d0025e0574aa83b17ebf6333985fd987c8446 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:27:48 + docker inspect -f . ci-base-image-arm64 22:27:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-5740 does not seem to be running inside a container 22:27:48 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:27:49 $ docker top 1c81428e0045ee4444f453e3de33b5bb3633fa0c534d8727cbcdc8364a7d051b -eo pid,comm [Pipeline] { [Pipeline] sh 22:27:50 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 22:27:51 + make test 22:27:51 go test ./... -coverprofile=coverage.out ./... 22:28:23 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:30:30 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:30:30 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.064s coverage: 2.0% of statements 22:30:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:30:30 go vet ./... 22:31:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:02 ./bin/test-attribution-txt.sh [Pipeline] echo 22:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:02 $ docker stop --time=1 1c81428e0045ee4444f453e3de33b5bb3633fa0c534d8727cbcdc8364a7d051b 22:31:04 $ docker rm -f --volumes 1c81428e0045ee4444f453e3de33b5bb3633fa0c534d8727cbcdc8364a7d051b [Pipeline] // withDockerContainer [Pipeline] sh 22:31:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:05 Warning: overwriting stash ‘coverage-report’ 22:31:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:06 + ls -al . 22:31:06 total 184 22:31:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 22:27 . 22:31:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:25 .. 22:31:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 22:25 .git 22:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:25 .github 22:31:06 -rw-rw-r-- 1 jenkins jenkins 414 Mar 24 22:25 .gitignore 22:31:06 -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 22:25 .golangci.yml 22:31:06 -rw-rw-r-- 1 jenkins jenkins 77 Mar 24 22:25 .hadolint.yml 22:31:06 -rw-rw-r-- 1 jenkins jenkins 9535 Mar 24 22:25 Attribution.txt 22:31:06 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 24 22:25 CHANGELOG.md 22:31:06 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 24 22:25 Dockerfile 22:31:06 -rw-rw-r-- 1 jenkins jenkins 678 Mar 24 22:25 GOVERNANCE.md 22:31:06 -rw-rw-r-- 1 jenkins jenkins 659 Mar 24 22:25 Jenkinsfile 22:31:06 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 24 22:25 LICENSE 22:31:06 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 24 22:25 Makefile 22:31:06 -rw-rw-r-- 1 jenkins jenkins 622 Mar 24 22:25 OWNERS.md 22:31:06 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 24 22:25 README.md 22:31:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 22:23 VERSION 22:31:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 22:25 bin 22:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:25 cmd 22:31:06 -rw-r--r-- 1 jenkins jenkins 28352 Mar 24 22:30 coverage.out 22:31:06 -rwxrwxr-x 1 jenkins jenkins 140 Mar 24 22:25 docker-entrypoint.sh 22:31:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:25 docs 22:31:06 -rw-rw-r-- 1 jenkins jenkins 3440 Mar 24 22:25 go.mod 22:31:06 -rw-rw-r-- 1 jenkins jenkins 31313 Mar 24 22:25 go.sum 22:31:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 22:25 internal 22:31:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 22:25 snap 22:31:06 -rw-rw-r-- 1 jenkins jenkins 231 Mar 24 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:07 + 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=e11d9c615cda4cc00dccebc720424e5b82666142 --label arch=arm64 --label version=0.0.0 . 22:31:07 Sending build context to Docker daemon 1.314MB 22:31:07 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 22:31:07 Step 2/35 : FROM ${BASE} AS builder 22:31:07 ---> 105217846e17 22:31:07 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:31:07 ---> Running in dd6ca15303a3 22:31:07 Removing intermediate container dd6ca15303a3 22:31:07 ---> a5f3ce8f5843 22:31:07 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:07 ---> Running in a38060b731cc 22:31:08 Removing intermediate container a38060b731cc 22:31:08 ---> 2650e129df4e 22:31:08 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:31:08 ---> Running in bb143edc8bde 22:31:08 Removing intermediate container bb143edc8bde 22:31:08 ---> 87cb838b91f0 22:31:08 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:31:08 ---> Running in 0203cd328848 22:31:09 Removing intermediate container 0203cd328848 22:31:09 ---> 0fc17b59fc09 22:31:09 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:09 ---> Running in 80232ad94dc9 22:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:31:11 OK: 271 MiB in 67 packages 22:31:12 Removing intermediate container 80232ad94dc9 22:31:12 ---> 24ba77e0fc82 22:31:12 Step 8/35 : WORKDIR /device-usb-camera 22:31:12 ---> Running in 9690c6d53a45 22:31:12 Removing intermediate container 9690c6d53a45 22:31:12 ---> 672b4b5a5575 22:31:12 Step 9/35 : COPY go.mod vendor* ./ 22:31:13 ---> de374f8bfea5 22:31:13 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:15 ---> Running in 2c4fde5740a8 22:31:18 Removing intermediate container 2c4fde5740a8 22:31:18 ---> df1aedcc812c 22:31:18 Step 11/35 : COPY . . 22:31:19 ---> 757343a96692 22:31:19 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:31:19 ---> Running in 7724effd3933 22:31:20  % Total  % Received % Xferd Average Speed Time Time Time Current 22:31:20   Dload Upload Total Spent Left Speed 22:31:20 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3276  0 --:--:-- --:--:-- --:--:-- 3277 100 1062 100 1062  0 0 3270 0 --:--:-- --:--:-- --:--:-- 3277 22:31:20 Removing intermediate container 7724effd3933 22:31:20 ---> bb28bdaf208b 22:31:20 Step 13/35 : RUN ${MAKE} 22:31:20 ---> Running in e718a89b334e 22:31:21 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:33:44 Removing intermediate container e718a89b334e 22:33:44 ---> 8b3287e74cb4 22:33:44 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:33:44 v0.21.6: Pulling from aler9/rtsp-simple-server 22:33:44 8766b47fe142: Pulling fs layer 22:33:44 8766b47fe142: Verifying Checksum 22:33:44 8766b47fe142: Download complete 22:33:44 8766b47fe142: Pull complete 22:33:44 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:33:44 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:33:44 ---> 69d40e2cb93c 22:33:44 Step 15/35 : FROM alpine:3.17 22:33:44 3.17: Pulling from library/alpine 22:33:44 af6eaf76a39c: Already exists 22:33:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:33:44 Status: Downloaded newer image for alpine:3.17 22:33:44 ---> d74e625d9115 22:33:44 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:33:44 ---> Running in ab158ff23645 22:33:44 Removing intermediate container ab158ff23645 22:33:44 ---> edd6200bea6b 22:33:44 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:33:44 ---> Running in 8146a67a49c7 22:33:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:33:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:33:46 (1/83) Installing dumb-init (1.2.5-r2) 22:33:46 (2/83) Installing sdl2 (2.26.3-r0) 22:33:46 (3/83) Installing libxau (1.0.10-r0) 22:33:46 (4/83) Installing libmd (1.0.4-r0) 22:33:46 (5/83) Installing libbsd (0.11.7-r0) 22:33:46 (6/83) Installing libxdmcp (1.1.4-r0) 22:33:46 (7/83) Installing libxcb (1.15-r0) 22:33:46 (8/83) Installing libx11 (1.8.4-r0) 22:33:46 (9/83) Installing aom-libs (3.5.0-r0) 22:33:47 (10/83) Installing alsa-lib (1.2.8-r0) 22:33:47 (11/83) Installing libexpat (2.5.0-r0) 22:33:47 (12/83) Installing brotli-libs (1.0.9-r9) 22:33:47 (13/83) Installing libbz2 (1.0.8-r4) 22:33:47 (14/83) Installing libpng (1.6.38-r0) 22:33:47 (15/83) Installing freetype (2.12.1-r0) 22:33:47 (16/83) Installing fontconfig (2.14.1-r0) 22:33:47 (17/83) Installing fribidi (1.0.12-r0) 22:33:47 (18/83) Installing libffi (3.4.4-r0) 22:33:47 (19/83) Installing libintl (0.21.1-r1) 22:33:47 (20/83) Installing libblkid (2.38.1-r1) 22:33:47 (21/83) Installing libmount (2.38.1-r1) 22:33:47 (22/83) Installing pcre2 (10.42-r0) 22:33:47 (23/83) Installing glib (2.74.6-r0) 22:33:47 (24/83) Installing graphite2 (1.3.14-r2) 22:33:47 (25/83) Installing harfbuzz (5.3.1-r1) 22:33:47 (26/83) Installing libass (0.16.0-r1) 22:33:47 (27/83) Installing libdav1d (1.0.0-r2) 22:33:47 (28/83) Installing libdrm (2.4.114-r0) 22:33:47 (29/83) Installing gmp (6.2.1-r2) 22:33:47 (30/83) Installing nettle (3.8.1-r0) 22:33:47 (31/83) Installing p11-kit (0.24.1-r1) 22:33:47 (32/83) Installing libtasn1 (4.19.0-r0) 22:33:47 (33/83) Installing libunistring (1.1-r0) 22:33:47 (34/83) Installing gnutls (3.7.8-r3) 22:33:47 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 22:33:47 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 22:33:47 (37/83) Installing lame (3.100-r2) 22:33:47 (38/83) Installing opus (1.3.1-r1) 22:33:47 (39/83) Installing libasyncns (0.8-r1) 22:33:47 (40/83) Installing dbus-libs (1.14.4-r0) 22:33:47 (41/83) Installing libltdl (2.4.7-r1) 22:33:47 (42/83) Installing orc (0.4.33-r0) 22:33:47 (43/83) Installing libgcc (12.2.1_git20220924-r4) 22:33:47 (44/83) Installing libogg (1.3.5-r2) 22:33:47 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 22:33:47 (46/83) Installing flac-libs (1.4.2-r0) 22:33:47 (47/83) Installing libvorbis (1.3.7-r0) 22:33:47 (48/83) Installing libsndfile (1.1.0-r2) 22:33:47 (49/83) Installing libgomp (12.2.1_git20220924-r4) 22:33:47 (50/83) Installing soxr (0.1.3-r3) 22:33:47 (51/83) Installing speexdsp (1.2.1-r0) 22:33:47 (52/83) Installing tdb-libs (1.4.7-r0) 22:33:47 (53/83) Installing libpulse (16.1-r6) 22:33:47 (54/83) Installing cjson (1.7.15-r3) 22:33:47 (55/83) Installing mbedtls (2.28.2-r0) 22:33:48 (56/83) Installing librist (0.2.7-r0) 22:33:48 (57/83) Installing libsrt (1.5.1-r0) 22:33:48 (58/83) Installing libssh (0.10.4-r0) 22:33:48 (59/83) Installing libtheora (1.1.1-r16) 22:33:48 (60/83) Installing libjpeg-turbo (2.1.4-r0) 22:33:48 (61/83) Installing v4l-utils-libs (1.22.1-r2) 22:33:48 (62/83) Installing libxext (1.3.5-r0) 22:33:48 (63/83) Installing libxfixes (6.0.0-r0) 22:33:48 (64/83) Installing wayland-libs-client (1.21.0-r1) 22:33:48 (65/83) Installing libva (2.16.0-r0) 22:33:48 (66/83) Installing libvdpau (1.5-r0) 22:33:48 (67/83) Installing vidstab (1.1.0-r2) 22:33:48 (68/83) Installing libvpx (1.12.0-r1) 22:33:48 (69/83) Installing libwebp (1.2.4-r1) 22:33:48 (70/83) Installing x264-libs (0.164_git20220602-r0) 22:33:48 (71/83) Installing numactl (2.0.16-r1) 22:33:48 (72/83) Installing x265-libs (3.5-r3) 22:33:48 (73/83) Installing xvidcore (1.3.7-r1) 22:33:48 (74/83) Installing libsodium (1.0.18-r2) 22:33:48 (75/83) Installing libzmq (4.3.4-r1) 22:33:48 (76/83) Installing ffmpeg-libs (5.1.2-r2) 22:33:49 (77/83) Installing ffmpeg (5.1.2-r2) 22:33:49 (78/83) Installing udev-init-scripts (35-r1) 22:33:49 (79/83) Installing eudev-libs (3.2.11-r4) 22:33:49 (80/83) Installing xz-libs (5.2.9-r0) 22:33:49 (81/83) Installing zstd-libs (1.5.2-r9) 22:33:49 (82/83) Installing kmod-libs (30-r1) 22:33:49 (83/83) Installing eudev (3.2.11-r4) 22:33:49 Executing busybox-1.35.0-r29.trigger 22:33:49 Executing eudev-3.2.11-r4.trigger 22:33:49 OK: 86 MiB in 98 packages 22:33:52 Removing intermediate container 8146a67a49c7 22:33:52 ---> f1fa4158a7de 22:33:52 Step 18/35 : WORKDIR / 22:33:52 ---> Running in 74159d227e46 22:33:52 Removing intermediate container 74159d227e46 22:33:52 ---> 692aafbb09b1 22:33:52 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:33:54 ---> da166757045e 22:33:54 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:33:54 ---> c4091d2d78d7 22:33:54 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:33:54 ---> c5e5cbdae173 22:33:54 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:33:55 ---> 9e9df44c4e0b 22:33:55 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:33:56 ---> 3202dcec2298 22:33:56 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:33:56 ---> 116a7257af78 22:33:56 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:33:58 ---> aeddeabe72aa 22:33:58 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:33:58 ---> Running in 1dc22a13bbc8 22:34:00 Removing intermediate container 1dc22a13bbc8 22:34:00 ---> 761d7fed990a 22:34:00 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:34:00 ---> Running in 87f702b0da61 22:34:01 Removing intermediate container 87f702b0da61 22:34:01 ---> f637aa737361 22:34:01 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:34:01 ---> Running in 9cf0915b02d8 22:34:03 Removing intermediate container 9cf0915b02d8 22:34:03 ---> 9f50a7e0653d 22:34:03 Step 29/35 : EXPOSE 59983 22:34:03 ---> Running in 5370756ad854 22:34:03 Removing intermediate container 5370756ad854 22:34:03 ---> 382dea209a9a 22:34:03 Step 30/35 : EXPOSE 8554 22:34:03 ---> Running in f13cfcc84c71 22:34:03 Removing intermediate container f13cfcc84c71 22:34:03 ---> 7d8143d18ff8 22:34:03 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:34:03 ---> Running in 349410a6166c 22:34:03 Removing intermediate container 349410a6166c 22:34:03 ---> ff2237257254 22:34:03 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:34:04 ---> Running in 226924ec4af7 22:34:04 Removing intermediate container 226924ec4af7 22:34:04 ---> 013828accfd9 22:34:04 Step 33/35 : LABEL arch=arm64 22:34:04 ---> Running in 23c08fb35804 22:34:04 Removing intermediate container 23c08fb35804 22:34:04 ---> dede0a7b466a 22:34:04 Step 34/35 : LABEL git_sha=e11d9c615cda4cc00dccebc720424e5b82666142 22:34:05 ---> Running in 53b65f0bcd43 22:34:05 Removing intermediate container 53b65f0bcd43 22:34:05 ---> eec753128f1f 22:34:05 Step 35/35 : LABEL version=0.0.0 22:34:05 ---> Running in 972595ff4a7b 22:34:05 Removing intermediate container 972595ff4a7b 22:34:05 ---> acac6a253356 22:34:05 [Warning] One or more build-args [ARCH] were not consumed 22:34:05 Successfully built acac6a253356 22:34:05 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:34:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:05 22:34:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:06 arm64: Pulling from edgex-lftools-log-publisher 22:34:06 8998bd30e6a1: Pulling fs layer 22:34:06 04944245beec: Pulling fs layer 22:34:06 699f458cf7ca: Pulling fs layer 22:34:06 765212b225bb: Pulling fs layer 22:34:06 f23df028b6ca: Pulling fs layer 22:34:06 d65c8cfc05b1: Pulling fs layer 22:34:06 2437ff75d9bd: Pulling fs layer 22:34:06 f23df028b6ca: Waiting 22:34:06 d65c8cfc05b1: Waiting 22:34:06 2437ff75d9bd: Waiting 22:34:06 765212b225bb: Waiting 22:34:06 04944245beec: Verifying Checksum 22:34:06 04944245beec: Download complete 22:34:06 765212b225bb: Verifying Checksum 22:34:06 765212b225bb: Download complete 22:34:06 f23df028b6ca: Download complete 22:34:06 d65c8cfc05b1: Verifying Checksum 22:34:06 d65c8cfc05b1: Download complete 22:34:06 699f458cf7ca: Verifying Checksum 22:34:06 699f458cf7ca: Download complete 22:34:07 8998bd30e6a1: Verifying Checksum 22:34:07 8998bd30e6a1: Download complete 22:34:09 2437ff75d9bd: Verifying Checksum 22:34:09 2437ff75d9bd: Download complete 22:34:11 8998bd30e6a1: Pull complete 22:34:11 04944245beec: Pull complete 22:34:12 699f458cf7ca: Pull complete 22:34:13 765212b225bb: Pull complete 22:34:13 f23df028b6ca: Pull complete 22:34:13 d65c8cfc05b1: Pull complete 22:34:28 2437ff75d9bd: Pull complete 22:34:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:34:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:34:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:29 prd-ubuntu20.04-docker-arm64-4c-16g-5740 does not seem to be running inside a container 22:34:29 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:34:32 $ docker top f4ec15cb67ae29cb3b0b4704cc8140cb5ad37dda2bd40578bb18b0267e04347c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:32 ---> job-cost.sh 22:34:32 lf-activate-venv: SKIPPING 22:34:32 INFO: No Stack... 22:34:33 INFO: Retrieving Pricing Info for: v3-standard-4 22:34:34 INFO: Archiving Costs [Pipeline] sh 22:34:34 + cut -d, -f6 22:34:34 + cat /w/workspace/device-usb-camera/4/archives/cost.csv [Pipeline] lock 22:34:34 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] 22:34:34 Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] did not exist. Created. 22:34:34 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:35 /w/workspace/device-usb-camera/4@tmp/durable-8f980f19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:34:35 + echo total: 0.10999999940395355 [Pipeline] stash 22:34:35 Warning: overwriting stash ‘stack-cost’ 22:34:35 Stashed 1 file(s) [Pipeline] } 22:34:35 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:35 $ docker stop --time=1 f4ec15cb67ae29cb3b0b4704cc8140cb5ad37dda2bd40578bb18b0267e04347c 22:34:37 $ docker rm -f --volumes f4ec15cb67ae29cb3b0b4704cc8140cb5ad37dda2bd40578bb18b0267e04347c [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:34:37 provisioning config files... 22:34:37 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config4090122415120387398tmp [Pipeline] { [Pipeline] sh 22:34:37 + set +x 22:34:37 + curl -s https://codecov.io/bash 22:34:37 + bash -s -- 22:34:37 22:34:37 _____ _ 22:34:37 / ____| | | 22:34:37 | | ___ __| | ___ ___ _____ __ 22:34:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:34:37 | |___| (_) | (_| | __/ (_| (_) \ V / 22:34:37 \_____\___/ \__,_|\___|\___\___/ \_/ 22:34:37 Bash-1.0.6 22:34:37 22:34:37 22:34:37 ==> git version 2.25.1 found 22:34:37 ==> 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:34:37 Release-Date: 2020-01-08 22:34:37 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:34:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:34:37 ==> Jenkins CI detected. 22:34:37 current dir:  /w/workspace/foundry_device-usb-camera_PR-203 22:34:37 project root: . 22:34:37 --> token set from env 22:34:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:34:37 ==> Running gcov in . (disable via -X gcov) 22:34:37 ==> Python coveragepy not found 22:34:37 ==> Searching for coverage reports in: 22:34:37 + . 22:34:38 -> Found 1 reports 22:34:38 ==> Detecting git/mercurial file structure 22:34:38 ==> Reading reports 22:34:38 + ./coverage.out bytes=28352 22:34:38 ==> Appending adjustments 22:34:38 https://docs.codecov.io/docs/fixing-reports 22:34:38 + Found adjustments 22:34:38 ==> Gzipping contents 22:34:38 4.0K /tmp/codecov.fBu6yy.gz 22:34:38 ==> Uploading reports 22:34:38 url: https://codecov.io 22:34:38 query: branch=PR-203&commit=e11d9c615cda4cc00dccebc720424e5b82666142&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 22:34:38 -> Pinging Codecov 22:34:38 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=e11d9c615cda4cc00dccebc720424e5b82666142&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-203%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=203&job=&cmd_args= 22:34:38 -> Uploading to 22:34:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/73D8F5FF140700D3E01443B452E23636/e11d9c615cda4cc00dccebc720424e5b82666142/2d6c3477-4002-45c2-ab96-c7465500453e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T223438Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1da89068c32dd360580bbb6818d6640fdabaee160f4ad0e31c5aedf59bfbaaa6 22:34:38 % Total % Received % Xferd Average Speed Time Time Time Current 22:34:38 Dload Upload Total Spent Left Speed 22:34:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3897 0 0 100 3897 0 17017 --:--:-- --:--:-- --:--:-- 16943 100 3897 0 0 100 3897 0 12450 --:--:-- --:--:-- --:--:-- 12410 22:34:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e11d9c615cda4cc00dccebc720424e5b82666142 [Pipeline] } 22:34:38 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:34:39 + [ -d /w/workspace/foundry_device-usb-camera_PR-203/archives ] 22:34:39 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 22:34:39 total 16 22:34:39 drwxr-xr-x 3 root root 4096 Mar 24 22:25 . 22:34:39 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 22:25 .. 22:34:39 drwxr-xr-x 2 root root 4096 Mar 24 22:25 cost 22:34:39 -rw-r--r-- 1 root root 89 Mar 24 22:25 cost.csv 22:34:39 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-203/archives 22:34:39 + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives 22:34:39 total 16 22:34:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 22:25 . 22:34:39 drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 22:25 .. 22:34:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 22:25 cost 22:34:39 -rw-r--r-- 1 jenkins jenkins 89 Mar 24 22:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:34:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:34:40 ---> package-listing.sh 22:34:40 ++ facter osfamily 22:34:40 ++ tr '[:upper:]' '[:lower:]' 22:34:40 + OS_FAMILY=debian 22:34:40 + workspace=/w/workspace/foundry_device-usb-camera_PR-203 22:34:40 + START_PACKAGES=/tmp/packages_start.txt 22:34:40 + END_PACKAGES=/tmp/packages_end.txt 22:34:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:34:40 + PACKAGES=/tmp/packages_start.txt 22:34:40 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 22:34:40 + PACKAGES=/tmp/packages_end.txt 22:34:40 + case "${OS_FAMILY}" in 22:34:40 + dpkg -l 22:34:40 + grep '^ii' 22:34:40 + '[' -f /tmp/packages_start.txt ']' 22:34:40 + '[' -f /tmp/packages_end.txt ']' 22:34:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:34:40 + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' 22:34:40 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-203/archives/ 22:34:40 + 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:34:40 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:34:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:41 prd-ubuntu20.04-docker-8c-8g-5739 does not seem to be running inside a container 22:34:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:34:41 $ docker top 95dde36f6d643f47a1ae94203e1294d9c5ae161fe4a3039a3f4ffdd4b751bfe3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:34:42 + touch /tmp/pre-build-complete [Pipeline] sh 22:34:42 + mkdir -p /var/log/sysstat [Pipeline] sh 22:34:42 + ls /var/log/sa-host 22:34:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:43 provisioning config files... 22:34:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config314473078699273598tmp [Pipeline] { [Pipeline] echo 22:34:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:34:43 ---> create-netrc.sh [Pipeline] } 22:34:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:34:43 ---> python-tools-install.sh [Pipeline] echo 22:34:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:34:43 ---> sudo-logs.sh 22:34:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:34:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:34:44 ---> job-cost.sh 22:34:44 lf-activate-venv: SKIPPING 22:34:44 DEBUG: total: 0.2199999988079071 22:34:44 INFO: Retrieving Stack Cost... 22:34:44 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:45 INFO: Archiving Costs [Pipeline] echo 22:34:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:34:45 ---> logs-deploy.sh 22:34:45 lf-activate-venv: SKIPPING 22:34:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-203/4 22:34:45 INFO: archiving workspace using pattern(s): 22:34:46 Archives upload complete. 22:34:46 INFO: archiving logs to Nexus