Pull request #126 opened 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at eace6589c3cbf428f520f2fa351df3c718b4124b rather than 8695117d0439de31e4a5bd3628f6c07a3c94d60c Obtained Jenkinsfile from eace6589c3cbf428f520f2fa351df3c718b4124b 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-ssh5273781609836133994.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4003010416925359674.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7657759415766789564.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-126/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10650778852802987804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10175655964424504964.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-126/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5860561749309501861.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1751 in /w/workspace/foundry_device-usb-camera_PR-126 [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-126 # 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/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eace6589c3cbf428f520f2fa351df3c718b4124b into PR head commit 8695117d0439de31e4a5bd3628f6c07a3c94d60c Merge succeeded, producing 8695117d0439de31e4a5bd3628f6c07a3c94d60c Checking out Revision 8695117d0439de31e4a5bd3628f6c07a3c94d60c (PR-126) > git config core.sparsecheckout # timeout=10 > git checkout -f 8695117d0439de31e4a5bd3628f6c07a3c94d60c # 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 eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8695117d0439de31e4a5bd3628f6c07a3c94d60c # timeout=10 Commit message: "feat!: Remove ZeroMQ messagebus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:12 ========================================================= 23:18:12 EdgeX Global Pipelines Version Info 23:18:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:12 ------------------- 23:18:12 stable info: 23:18:12 ------------------- 23:18:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:18:12 Message: update stable to v1.0.244 23:18:13 ------------------- 23:18:13 experimental info: 23:18:13 ------------------- 23:18:13 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:13 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:18:13 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8695117d0439de31e4a5bd3628f6c07a3c94d60c [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8695117 [Pipeline] echo 23:18:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:14 provisioning config files... 23:18:15 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config8852434619851019040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:15 ---> docker-login.sh 23:18:15 nexus3.edgexfoundry.org:10001 23:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:15 Configure a credential helper to remove this warning. See 23:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:15 23:18:15 Login Succeeded 23:18:15 nexus3.edgexfoundry.org:10002 23:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:15 Configure a credential helper to remove this warning. See 23:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:15 23:18:15 Login Succeeded 23:18:15 nexus3.edgexfoundry.org:10003 23:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:15 Configure a credential helper to remove this warning. See 23:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:15 23:18:15 Login Succeeded 23:18:15 nexus3.edgexfoundry.org:10004 23:18:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:15 Configure a credential helper to remove this warning. See 23:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:15 23:18:15 Login Succeeded 23:18:15 docker.io 23:18:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:16 Configure a credential helper to remove this warning. See 23:18:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:16 23:18:16 Login Succeeded 23:18:16 ---> docker-login.sh ends [Pipeline] } 23:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:18:16 + git rev-list -1 --merges 8695117d0439de31e4a5bd3628f6c07a3c94d60c~1..8695117d0439de31e4a5bd3628f6c07a3c94d60c [Pipeline] echo 23:18:16 -----------> git rev-list -1 --merges 8695117d0439de31e4a5bd3628f6c07a3c94d60c~1..8695117d0439de31e4a5bd3628f6c07a3c94d60c 8695117d0439de31e4a5bd3628f6c07a3c94d60c [false] [Pipeline] sh 23:18:17 + git log --format=format:%s -1 8695117d0439de31e4a5bd3628f6c07a3c94d60c [Pipeline] echo 23:18:17 ========================================================= 23:18:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:18:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:17 + git log --format=format:%s -1 8695117d0439de31e4a5bd3628f6c07a3c94d60c [Pipeline] echo 23:18:17 [semverPrep] GIT_COMMIT: 8695117d0439de31e4a5bd3628f6c07a3c94d60c, Commit Message: feat!: Remove ZeroMQ messagebus capability [Pipeline] echo 23:18:17 [semverPrep] This is not a build commit. [Pipeline] sh 23:18:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:18 + grep -v github /etc/ssh/ssh_known_hosts 23:18:18 + [ -e /tmp/ssh_known_hosts ] 23:18:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:18:18 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:18:18 sudo tee -a /etc/ssh/ssh_known_hosts 23:18:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:18 23:18:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:18 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:18 b85a868b505f: Pulling fs layer 23:18:18 e2be974225ed: Pulling fs layer 23:18:18 339a4e72a1f5: Pulling fs layer 23:18:18 988bab9f4d93: Pulling fs layer 23:18:18 1469e6f7b9e6: Pulling fs layer 23:18:18 eaf3925da568: Pulling fs layer 23:18:18 bab4dde63d76: Pulling fs layer 23:18:18 bde34c3a00c8: Pulling fs layer 23:18:18 b352a97aabf1: Pulling fs layer 23:18:18 4872d77fe225: Pulling fs layer 23:18:18 5851b861e8e6: Pulling fs layer 23:18:18 eaf3925da568: Waiting 23:18:18 bab4dde63d76: Waiting 23:18:18 bde34c3a00c8: Waiting 23:18:18 b352a97aabf1: Waiting 23:18:18 988bab9f4d93: Waiting 23:18:18 4872d77fe225: Waiting 23:18:18 1469e6f7b9e6: Waiting 23:18:18 5851b861e8e6: Waiting 23:18:18 e2be974225ed: Download complete 23:18:18 988bab9f4d93: Verifying Checksum 23:18:18 988bab9f4d93: Download complete 23:18:19 339a4e72a1f5: Verifying Checksum 23:18:19 339a4e72a1f5: Download complete 23:18:19 1469e6f7b9e6: Verifying Checksum 23:18:19 1469e6f7b9e6: Download complete 23:18:19 eaf3925da568: Verifying Checksum 23:18:19 eaf3925da568: Download complete 23:18:19 bde34c3a00c8: Verifying Checksum 23:18:19 bde34c3a00c8: Download complete 23:18:19 b352a97aabf1: Download complete 23:18:19 4872d77fe225: Verifying Checksum 23:18:19 4872d77fe225: Download complete 23:18:19 5851b861e8e6: Verifying Checksum 23:18:19 5851b861e8e6: Download complete 23:18:19 b85a868b505f: Verifying Checksum 23:18:19 b85a868b505f: Download complete 23:18:19 bab4dde63d76: Verifying Checksum 23:18:19 bab4dde63d76: Download complete 23:18:20 b85a868b505f: Pull complete 23:18:20 e2be974225ed: Pull complete 23:18:21 339a4e72a1f5: Pull complete 23:18:21 988bab9f4d93: Pull complete 23:18:21 1469e6f7b9e6: Pull complete 23:18:21 eaf3925da568: Pull complete 23:18:23 bab4dde63d76: Pull complete 23:18:23 bde34c3a00c8: Pull complete 23:18:23 b352a97aabf1: Pull complete 23:18:23 4872d77fe225: Pull complete 23:18:23 5851b861e8e6: Pull complete 23:18:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:18:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:24 prd-ubuntu20.04-docker-8c-8g-1751 does not seem to be running inside a container 23:18:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:18:25 $ docker top 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 -eo pid,comm 23:18:25 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). 23:18:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:25 [ssh-agent] Looking for ssh-agent implementation... 23:18:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:25 $ docker exec 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 ssh-agent 23:18:26 SSH_AUTH_SOCK=/tmp/ssh-X02XXPRVLOvV/agent.32 23:18:26 SSH_AGENT_PID=39 23:18:26 Running ssh-add (command line suppressed) 23:18:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_2525563659266012952.key (/w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_2525563659266012952.key) 23:18:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:26 + git tag --points-at HEAD [Pipeline] } 23:18:26 $ docker exec --env ******** --env ******** 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 ssh-agent -k 23:18:26 unset SSH_AUTH_SOCK; 23:18:26 unset SSH_AGENT_PID; 23:18:26 echo Agent pid 39 killed; 23:18:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:26 [ssh-agent] Looking for ssh-agent implementation... 23:18:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:26 $ docker exec 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 ssh-agent 23:18:26 SSH_AUTH_SOCK=/tmp/ssh-eHOp42X9L77A/agent.71 23:18:26 SSH_AGENT_PID=77 23:18:26 Running ssh-add (command line suppressed) 23:18:27 Identity added: /w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_1654285952633770506.key (/w/workspace/foundry_device-usb-camera_PR-126@tmp/private_key_1654285952633770506.key) 23:18:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:27 + git semver init 23:18:27 2023-01-10 23:18:27,615 [run_init] DEBUG init version:0.0.0 force:False 23:18:27 2023-01-10 23:18:27,615 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-126/.semver 23:18:27 2023-01-10 23:18:27,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-126/.semver 23:18:27 2023-01-10 23:18:27,616 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-126/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-126, universal_newlines=False, shell=None, istream=None) 23:18:28 2023-01-10 23:18:28,344 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-126/.git/info/exclude 23:18:28 2023-01-10 23:18:28,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 with force:False 23:18:28 2023-01-10 23:18:28,345 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 23:18:28 2023-01-10 23:18:28,348 [execute] INFO git cat-file --batch-check 23:18:28 2023-01-10 23:18:28,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) 23:18:28 2023-01-10 23:18:28,353 [execute] INFO git cat-file --batch 23:18:28 2023-01-10 23:18:28,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-126/.semver, universal_newlines=False, shell=None, istream=) 23:18:28 2023-01-10 23:18:28,360 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-126/.semver/PR-126 23:18:28 0.0.0 [Pipeline] } 23:18:28 $ docker exec --env ******** --env ******** 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 ssh-agent -k 23:18:28 unset SSH_AUTH_SOCK; 23:18:28 unset SSH_AGENT_PID; 23:18:28 echo Agent pid 77 killed; 23:18:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:29 + git semver [Pipeline] } 23:18:29 $ docker stop --time=1 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 23:18:30 $ docker rm -f --volumes 49d169aaef9f628acc7db11ad9324406be0990f33c22a325237bd8bc120b0036 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:31 Stashed 1 file(s) [Pipeline] echo 23:18:31 [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 23:18:32 provisioning config files... 23:18:32 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config16578567317943499002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:32 ---> docker-login.sh 23:18:32 nexus3.edgexfoundry.org:10001 23:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:32 Configure a credential helper to remove this warning. See 23:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:32 23:18:32 Login Succeeded 23:18:32 nexus3.edgexfoundry.org:10002 23:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:32 Configure a credential helper to remove this warning. See 23:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:32 23:18:32 Login Succeeded 23:18:32 nexus3.edgexfoundry.org:10003 23:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:32 Configure a credential helper to remove this warning. See 23:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:32 23:18:32 Login Succeeded 23:18:32 nexus3.edgexfoundry.org:10004 23:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:32 Configure a credential helper to remove this warning. See 23:18:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:32 23:18:32 Login Succeeded 23:18:32 docker.io 23:18:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:33 Configure a credential helper to remove this warning. See 23:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:33 23:18:33 Login Succeeded 23:18:33 ---> docker-login.sh ends [Pipeline] } 23:18:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:33 ========================================================= 23:18:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:18:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:18:33 Sending build context to Docker daemon 1.729MB 23:18:33 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:18:33 Step 2/13 : FROM ${BASE} AS builder 23:18:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:18:33 213ec9aee27d: Pulling fs layer 23:18:33 4583459ba037: Pulling fs layer 23:18:33 93c1e223e6f2: Pulling fs layer 23:18:33 53926ce57604: Pulling fs layer 23:18:33 21b2b0c7a3f4: Pulling fs layer 23:18:33 22ff95d597cd: Pulling fs layer 23:18:33 12d6caf4c0d1: Pulling fs layer 23:18:33 96b7cbca73a9: Pulling fs layer 23:18:33 a7acece74701: Pulling fs layer 23:18:33 21b2b0c7a3f4: Waiting 23:18:33 22ff95d597cd: Waiting 23:18:33 53926ce57604: Waiting 23:18:33 96b7cbca73a9: Waiting 23:18:33 a7acece74701: Waiting 23:18:33 12d6caf4c0d1: Waiting 23:18:33 93c1e223e6f2: Verifying Checksum 23:18:33 93c1e223e6f2: Download complete 23:18:33 4583459ba037: Verifying Checksum 23:18:33 4583459ba037: Download complete 23:18:34 21b2b0c7a3f4: Download complete 23:18:34 22ff95d597cd: Verifying Checksum 23:18:34 22ff95d597cd: Download complete 23:18:34 213ec9aee27d: Verifying Checksum 23:18:34 213ec9aee27d: Download complete 23:18:34 12d6caf4c0d1: Verifying Checksum 23:18:34 12d6caf4c0d1: Download complete 23:18:34 213ec9aee27d: Pull complete 23:18:34 4583459ba037: Pull complete 23:18:34 93c1e223e6f2: Pull complete 23:18:35 a7acece74701: Verifying Checksum 23:18:35 a7acece74701: Download complete 23:18:35 53926ce57604: Verifying Checksum 23:18:35 53926ce57604: Download complete 23:18:35 96b7cbca73a9: Verifying Checksum 23:18:35 96b7cbca73a9: Download complete 23:18:39 53926ce57604: Pull complete 23:18:39 21b2b0c7a3f4: Pull complete 23:18:39 22ff95d597cd: Pull complete 23:18:39 12d6caf4c0d1: Pull complete 23:18:41 96b7cbca73a9: Pull complete 23:18:41 a7acece74701: Pull complete 23:18:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:18:42 ---> db6d94c90886 23:18:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:18:44 ---> Running in 1024cc5372f3 23:18:44 Removing intermediate container 1024cc5372f3 23:18:44 ---> 84532e4ea5cd 23:18:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:44 ---> Running in 27687f1cd2db 23:18:44 Removing intermediate container 27687f1cd2db 23:18:44 ---> d4ee71aea50b 23:18:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git curl" 23:18:44 ---> Running in 0de2e86e8cbd 23:18:44 Removing intermediate container 0de2e86e8cbd 23:18:44 ---> b75ad6a3bdc6 23:18:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:18:44 ---> Running in 11b7d1950ec6 23:18:44 Removing intermediate container 11b7d1950ec6 23:18:44 ---> 43c091f9e8b3 23:18:44 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:44 ---> Running in dee5887fe6a6 23:18:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:45 (1/80) Installing mesa (21.3.8-r2) 23:18:45 (2/80) Installing libxau (1.0.9-r0) 23:18:45 (3/80) Installing libxdmcp (1.1.3-r0) 23:18:45 (4/80) Installing libxcb (1.15-r0) 23:18:45 (5/80) Installing libx11 (1.8-r0) 23:18:45 (6/80) Installing libxext (1.3.4-r0) 23:18:45 (7/80) Installing libxfixes (6.0.0-r0) 23:18:45 (8/80) Installing libxxf86vm (1.1.4-r2) 23:18:45 (9/80) Installing libpciaccess (0.16-r0) 23:18:45 (10/80) Installing libdrm (2.4.110-r0) 23:18:45 (11/80) Installing mesa-glapi (21.3.8-r2) 23:18:45 (12/80) Installing libxshmfence (1.3-r1) 23:18:45 (13/80) Installing mesa-gl (21.3.8-r2) 23:18:45 (14/80) Installing icu-data-full (71.1-r2) 23:18:45 (15/80) Installing libice (1.0.10-r0) 23:18:45 (16/80) Installing libuuid (2.38-r1) 23:18:45 (17/80) Installing libsm (1.2.3-r0) 23:18:45 (18/80) Installing libxt (1.2.1-r0) 23:18:45 (19/80) Installing libxmu (1.1.3-r0) 23:18:45 (20/80) Installing xset (1.2.4-r0) 23:18:45 (21/80) Installing xprop (1.2.5-r0) 23:18:45 (22/80) Installing xdg-utils (1.1.3-r3) 23:18:45 (23/80) Installing dbus-libs (1.14.4-r0) 23:18:45 (24/80) Installing libffi (3.4.2-r1) 23:18:45 (25/80) Installing libintl (0.21-r2) 23:18:45 (26/80) Installing libblkid (2.38-r1) 23:18:45 (27/80) Installing libmount (2.38-r1) 23:18:45 (28/80) Installing pcre (8.45-r2) 23:18:45 (29/80) Installing glib (2.72.1-r0) 23:18:45 (30/80) Installing icu-libs (71.1-r2) 23:18:45 (31/80) Installing libpcre2-16 (10.40-r0) 23:18:45 (32/80) Installing zstd-libs (1.5.2-r1) 23:18:45 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 23:18:45 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:18:45 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:18:45 (36/80) Installing mesa-gbm (21.3.8-r2) 23:18:45 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:18:45 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 23:18:45 (39/80) Installing libxcomposite (0.4.5-r0) 23:18:45 (40/80) Installing libbz2 (1.0.8-r1) 23:18:45 (41/80) Installing libpng (1.6.37-r1) 23:18:45 (42/80) Installing freetype (2.12.1-r0) 23:18:45 (43/80) Installing fontconfig (2.14.0-r0) 23:18:45 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:18:45 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:18:45 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:18:45 (47/80) Installing xz-libs (5.2.5-r1) 23:18:45 (48/80) Installing libxml2 (2.9.14-r2) 23:18:45 (49/80) Installing libxkbcommon (1.4.1-r0) 23:18:45 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:18:45 (51/80) Installing mesa-egl (21.3.8-r2) 23:18:45 (52/80) Installing avahi-libs (0.8-r6) 23:18:45 (53/80) Installing nettle (3.7.3-r0) 23:18:45 (54/80) Installing p11-kit (0.24.1-r0) 23:18:45 (55/80) Installing libtasn1 (4.18.0-r1) 23:18:45 (56/80) Installing libunistring (1.0-r0) 23:18:45 (57/80) Installing gnutls (3.7.7-r0) 23:18:45 (58/80) Installing cups-libs (2.4.2-r0) 23:18:45 (59/80) Installing graphite2 (1.3.14-r1) 23:18:45 (60/80) Installing harfbuzz (4.3.0-r0) 23:18:45 (61/80) Installing libevdev (1.12.1-r0) 23:18:45 (62/80) Installing mtdev (1.1.6-r0) 23:18:45 (63/80) Installing eudev-libs (3.2.11-r0) 23:18:45 (64/80) Installing libinput-libs (1.20.1-r0) 23:18:45 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:18:46 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:18:46 (67/80) Installing xcb-util (0.4.0-r3) 23:18:46 (68/80) Installing xcb-util-image (0.4.0-r1) 23:18:46 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:18:46 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:18:46 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:18:46 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 23:18:46 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:18:46 (74/80) Installing v4l-utils (1.22.1-r1) 23:18:46 (75/80) Installing udev-init-scripts (35-r0) 23:18:46 Executing udev-init-scripts-35-r0.post-install 23:18:46 (76/80) Installing kmod-libs (29-r2) 23:18:46 (77/80) Installing eudev (3.2.11-r0) 23:18:46 (78/80) Installing eudev-dev (3.2.11-r0) 23:18:46 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:18:46 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:18:46 Executing busybox-1.35.0-r17.trigger 23:18:46 Executing eudev-3.2.11-r0.trigger 23:18:46 OK: 330 MiB in 131 packages 23:18:46 Still waiting to schedule task 23:18:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:18:48 Removing intermediate container dee5887fe6a6 23:18:48 ---> 9d60ef991d4e 23:18:48 Step 8/13 : WORKDIR /device-usb-camera 23:18:48 ---> Running in f3010b0722fd 23:18:48 Removing intermediate container f3010b0722fd 23:18:48 ---> 6b0f5cdf1047 23:18:48 Step 9/13 : COPY go.mod vendor* ./ 23:18:48 ---> 13fabf25240a 23:18:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:48 ---> Running in b2ffdf4b0622 23:19:10 Removing intermediate container b2ffdf4b0622 23:19:10 ---> 6b931899510d 23:19:10 Step 11/13 : COPY . . 23:19:10 ---> 3d245db3434f 23:19:10 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:19:10 ---> Running in 8d4c25611966 23:19:10  % Total % Received % Xferd Average Speed Time Time Time Current 23:19:10 Dload Upload Total Spent Left Speed 23:19:10  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7956 0 --:--:-- --:--:-- --:--:-- 7984 23:19:10 Removing intermediate container 8d4c25611966 23:19:10 ---> 5550a18e4c55 23:19:10 Step 13/13 : RUN ${MAKE} 23:19:10 ---> Running in 6d3d5b9c2e0f 23:19:10 noop 23:19:10 Removing intermediate container 6d3d5b9c2e0f 23:19:10 ---> 5339c1d5eb7f 23:19:10 Successfully built 5339c1d5eb7f 23:19:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:11 + docker inspect -f . ci-base-image-x86_64 23:19:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:11 prd-ubuntu20.04-docker-8c-8g-1751 does not seem to be running inside a container 23:19:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:11 $ docker top 35ea39d56024b4a7ef19574caf0cac1ae1af335d8df6dc0beeae8c08fb201c6c -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:12 + go version 23:19:12 go version go1.18.7 linux/amd64 [Pipeline] } 23:19:12 $ docker stop --time=1 35ea39d56024b4a7ef19574caf0cac1ae1af335d8df6dc0beeae8c08fb201c6c 23:19:13 $ docker rm -f --volumes 35ea39d56024b4a7ef19574caf0cac1ae1af335d8df6dc0beeae8c08fb201c6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:14 + docker inspect -f . ci-base-image-x86_64 23:19:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:14 prd-ubuntu20.04-docker-8c-8g-1751 does not seem to be running inside a container 23:19:14 $ 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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:14 $ docker top f1b2a5362203e8bd36a61d6561521aa6b1f6fabd913933a12d9287471dff1b02 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:15 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-126 [Pipeline] fileExists [Pipeline] sh 23:19:15 + make test 23:19:15 go test ./... -coverprofile=coverage.out ./... 23:19:15 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:19:25 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:19:26 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 1.9% of statements 23:19:34 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:19:34 go vet ./... 23:19:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:38 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:38 $ docker stop --time=1 f1b2a5362203e8bd36a61d6561521aa6b1f6fabd913933a12d9287471dff1b02 23:19:40 $ docker rm -f --volumes f1b2a5362203e8bd36a61d6561521aa6b1f6fabd913933a12d9287471dff1b02 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:41 + ls -al . 23:19:41 total 208 23:19:41 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:19 . 23:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:18 .. 23:19:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:19 .git 23:19:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:18 .github 23:19:41 -rw-rw-r-- 1 jenkins jenkins 414 Jan 10 23:18 .gitignore 23:19:41 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 23:18 .golangci.yml 23:19:41 -rw-rw-r-- 1 jenkins jenkins 77 Jan 10 23:18 .hadolint.yml 23:19:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:18 .semver 23:19:41 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 10 23:18 Attribution.txt 23:19:41 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 10 23:18 CHANGELOG.md 23:19:41 -rw-rw-r-- 1 jenkins jenkins 2315 Jan 10 23:18 Dockerfile 23:19:41 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 23:18 GOVERNANCE.md 23:19:41 -rw-rw-r-- 1 jenkins jenkins 659 Jan 10 23:18 Jenkinsfile 23:19:41 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 23:18 LICENSE 23:19:41 -rw-rw-r-- 1 jenkins jenkins 2303 Jan 10 23:18 Makefile 23:19:41 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 23:18 OWNERS.md 23:19:41 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 10 23:18 README.md 23:19:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:18 VERSION 23:19:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:18 bin 23:19:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:18 cmd 23:19:41 -rw-r--r-- 1 jenkins jenkins 30666 Jan 10 23:19 coverage.out 23:19:41 -rwxrwxr-x 1 jenkins jenkins 140 Jan 10 23:18 docker-entrypoint.sh 23:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:18 docs 23:19:41 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 10 23:18 go.mod 23:19:41 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 10 23:18 go.sum 23:19:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:18 internal 23:19:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:18 snap 23:19:41 -rw-rw-r-- 1 jenkins jenkins 231 Jan 10 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:41 + 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=8695117d0439de31e4a5bd3628f6c07a3c94d60c --label arch=amd64 --label version=0.0.0 . 23:19:41 Sending build context to Docker daemon 1.76MB 23:19:41 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:19:41 Step 2/35 : FROM ${BASE} AS builder 23:19:41 ---> 5339c1d5eb7f 23:19:41 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:19:41 ---> Running in c9cee5fb29ef 23:19:42 Removing intermediate container c9cee5fb29ef 23:19:42 ---> ea2729c7f9f0 23:19:42 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:42 ---> Running in 4226bf94706c 23:19:42 Removing intermediate container 4226bf94706c 23:19:42 ---> 0860fcec2218 23:19:42 Step 5/35 : ARG ALPINE_PKG_BASE="make git curl" 23:19:42 ---> Running in 93f62f09fb43 23:19:42 Removing intermediate container 93f62f09fb43 23:19:42 ---> 15dcf8090afd 23:19:42 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:19:42 ---> Running in 4ba887eef37e 23:19:42 Removing intermediate container 4ba887eef37e 23:19:42 ---> 2d503e9ad5fb 23:19:42 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:42 ---> Running in 99c117eed47a 23:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:43 OK: 330 MiB in 131 packages 23:19:43 Removing intermediate container 99c117eed47a 23:19:43 ---> 8da4c9ae2cd5 23:19:43 Step 8/35 : WORKDIR /device-usb-camera 23:19:43 ---> Running in ef00bfb35d06 23:19:43 Removing intermediate container ef00bfb35d06 23:19:43 ---> e4eec31f519a 23:19:43 Step 9/35 : COPY go.mod vendor* ./ 23:19:44 ---> 9b7b27a26972 23:19:44 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:44 ---> Running in 3c645b2cd0b5 23:19:45 Removing intermediate container 3c645b2cd0b5 23:19:45 ---> dbf1fbf9b616 23:19:45 Step 11/35 : COPY . . 23:19:45 ---> 828890c11c96 23:19:45 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:19:45 ---> Running in 2d93dc0a951c 23:19:45  % Total % Received % Xferd Average Speed Time Time Time Current 23:19:45 Dload Upload Total Spent Left Speed 23:19:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47482 0 --:--:-- --:--:-- --:--:-- 48272 23:19:45 Removing intermediate container 2d93dc0a951c 23:19:45 ---> f893dca1eb8b 23:19:45 Step 13/35 : RUN ${MAKE} 23:19:45 ---> Running in 78766a1d1b04 23:19:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 23:19:56 # github.com/vladimirvivien/go4vl/v4l2 23:19:56 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:11:15: undefined: Capability 23:19:56 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:12:14: undefined: IOType 23:19:56 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:23:15: undefined: BufType 23:20:01 make: *** [Makefile:29: cmd/device-usb-camera] Error 2 23:20:02 The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:03 23:20:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:03 latest: Pulling from edgex-lftools-log-publisher 23:20:03 5eb5b503b376: Pulling fs layer 23:20:03 5c69ac0246d0: Pulling fs layer 23:20:03 ec43610c2a17: Pulling fs layer 23:20:03 3a2ae6a8a46f: Pulling fs layer 23:20:03 33b1e0a273af: Pulling fs layer 23:20:03 5d3b04190fa2: Pulling fs layer 23:20:03 2f39f015ded8: Pulling fs layer 23:20:03 33b1e0a273af: Waiting 23:20:03 3a2ae6a8a46f: Waiting 23:20:03 5d3b04190fa2: Waiting 23:20:03 2f39f015ded8: Waiting 23:20:03 5c69ac0246d0: Download complete 23:20:03 3a2ae6a8a46f: Download complete 23:20:03 33b1e0a273af: Verifying Checksum 23:20:03 33b1e0a273af: Download complete 23:20:03 5d3b04190fa2: Verifying Checksum 23:20:03 5d3b04190fa2: Download complete 23:20:03 ec43610c2a17: Verifying Checksum 23:20:03 ec43610c2a17: Download complete 23:20:03 5eb5b503b376: Download complete 23:20:04 2f39f015ded8: Download complete 23:20:05 5eb5b503b376: Pull complete 23:20:05 5c69ac0246d0: Pull complete 23:20:05 ec43610c2a17: Pull complete 23:20:05 3a2ae6a8a46f: Pull complete 23:20:06 33b1e0a273af: Pull complete 23:20:06 5d3b04190fa2: Pull complete 23:20:11 2f39f015ded8: Pull complete 23:20:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:11 prd-ubuntu20.04-docker-8c-8g-1751 does not seem to be running inside a container 23:20:11 $ 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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:20:13 $ docker top 190227db1dbe1079190c43f0ba59c17f4b9c5e450d900a95df5edd18ecf322e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:13 ---> job-cost.sh 23:20:13 lf-activate-venv: SKIPPING 23:20:13 INFO: No Stack... 23:20:14 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:14 INFO: Archiving Costs [Pipeline] sh 23:20:14 + cat+ /w/workspace/foundry_device-usb-camera_PR-126/archives/cost.csv 23:20:14 cut -d, -f6 [Pipeline] lock 23:20:14 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] 23:20:14 Resource [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] did not exist. Created. 23:20:14 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:15 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:15 Stashed 1 file(s) [Pipeline] } 23:20:15 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:15 $ docker stop --time=1 190227db1dbe1079190c43f0ba59c17f4b9c5e450d900a95df5edd18ecf322e8 23:20:16 $ docker rm -f --volumes 190227db1dbe1079190c43f0ba59c17f4b9c5e450d900a95df5edd18ecf322e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:17 Failed in branch amd64 23:22:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1752 in /w/workspace/foundry_device-usb-camera_PR-126 [Pipeline] { [Pipeline] ws 23:22:09 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 23:22:09 Selected Git installation does not exist. Using Default 23:22:09 The recommended git tool is: NONE 23:22:14 using credential edgex-jenkins-ssh 23:22:14 Cloning the remote Git repository 23:22:14 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:22:14 > git init /w/workspace/device-usb-camera/1 # timeout=10 23:22:14 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:22:14 > git --version # timeout=10 23:22:14 > git --version # 'git version 2.25.1' 23:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:15 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:22:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:17 Merging remotes/origin/main commit eace6589c3cbf428f520f2fa351df3c718b4124b into PR head commit 8695117d0439de31e4a5bd3628f6c07a3c94d60c 23:22:17 Merge succeeded, producing 8695117d0439de31e4a5bd3628f6c07a3c94d60c 23:22:17 Checking out Revision 8695117d0439de31e4a5bd3628f6c07a3c94d60c (PR-126) 23:22:16 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:22:16 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:22:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:22:17 > git config core.sparsecheckout # timeout=10 23:22:17 > git checkout -f 8695117d0439de31e4a5bd3628f6c07a3c94d60c # timeout=10 23:22:17 > git remote # timeout=10 23:22:17 > git config --get remote.origin.url # timeout=10 23:22:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:17 > git merge eace6589c3cbf428f520f2fa351df3c718b4124b # timeout=10 23:22:17 > git rev-parse HEAD^{commit} # timeout=10 23:22:17 > git config core.sparsecheckout # timeout=10 23:22:17 > git checkout -f 8695117d0439de31e4a5bd3628f6c07a3c94d60c # timeout=10 23:22:21 Commit message: "feat!: Remove ZeroMQ messagebus capability" 23:22:21 > git --version # timeout=10 23:22:21 > git --version # 'git version 2.25.1' 23:22:21 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:22:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:22 Dload Upload Total Spent Left Speed 23:22:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 23:22:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:22:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:22:23 + sudo tee /etc/docker/daemon.new 23:22:23 { 23:22:23 "registry-mirrors": [ 23:22:23 "https://nexus3.edgexfoundry.org:10001" 23:22:23 ], 23:22:23 "bip": "10.250.0.254/24", 23:22:23 "hosts": [ 23:22:23 "tcp://0.0.0.0:5555", 23:22:23 "unix:///var/run/docker.sock" 23:22:23 ], 23:22:23 "mtu": 1458, 23:22:23 "selinux-enabled": true, 23:22:23 "seccomp-profile": "/etc/docker/seccomp.json" 23:22:23 } [Pipeline] sh 23:22:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:22:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:42 provisioning config files... 23:22:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config11314773031726708808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:43 ---> docker-login.sh 23:22:43 nexus3.edgexfoundry.org:10001 23:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:43 Configure a credential helper to remove this warning. See 23:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:43 23:22:43 Login Succeeded 23:22:43 nexus3.edgexfoundry.org:10002 23:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:44 Configure a credential helper to remove this warning. See 23:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:44 23:22:44 Login Succeeded 23:22:44 nexus3.edgexfoundry.org:10003 23:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:44 Configure a credential helper to remove this warning. See 23:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:44 23:22:44 Login Succeeded 23:22:44 nexus3.edgexfoundry.org:10004 23:22:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:44 Configure a credential helper to remove this warning. See 23:22:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:44 23:22:44 Login Succeeded 23:22:44 docker.io 23:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:45 Configure a credential helper to remove this warning. See 23:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:45 23:22:45 Login Succeeded 23:22:45 ---> docker-login.sh ends [Pipeline] } 23:22:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:45 ========================================================= 23:22:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:22:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:22:46 Sending build context to Docker daemon 1.146MB 23:22:46 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:22:46 Step 2/13 : FROM ${BASE} AS builder 23:22:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:22:46 9b18e9b68314: Pulling fs layer 23:22:46 35d82f9e3411: Pulling fs layer 23:22:46 e16973657156: Pulling fs layer 23:22:46 fc693d55d65f: Pulling fs layer 23:22:46 7e9fc2657dce: Pulling fs layer 23:22:46 dda99020689f: Pulling fs layer 23:22:46 db1c61fa0a46: Pulling fs layer 23:22:46 891c053d2c06: Pulling fs layer 23:22:46 fc693d55d65f: Waiting 23:22:46 7e9fc2657dce: Waiting 23:22:46 dda99020689f: Waiting 23:22:46 db1c61fa0a46: Waiting 23:22:46 891c053d2c06: Waiting 23:22:46 e16973657156: Verifying Checksum 23:22:46 e16973657156: Download complete 23:22:46 35d82f9e3411: Verifying Checksum 23:22:46 35d82f9e3411: Download complete 23:22:46 7e9fc2657dce: Download complete 23:22:46 dda99020689f: Verifying Checksum 23:22:46 dda99020689f: Download complete 23:22:46 9b18e9b68314: Verifying Checksum 23:22:46 9b18e9b68314: Download complete 23:22:48 891c053d2c06: Verifying Checksum 23:22:48 891c053d2c06: Download complete 23:22:48 9b18e9b68314: Pull complete 23:22:49 35d82f9e3411: Pull complete 23:22:49 e16973657156: Pull complete 23:22:49 db1c61fa0a46: Verifying Checksum 23:22:49 db1c61fa0a46: Download complete 23:22:50 fc693d55d65f: Verifying Checksum 23:22:50 fc693d55d65f: Download complete 23:23:02 fc693d55d65f: Pull complete 23:23:02 7e9fc2657dce: Pull complete 23:23:02 dda99020689f: Pull complete 23:23:09 db1c61fa0a46: Pull complete 23:23:11 891c053d2c06: Pull complete 23:23:11 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:23:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:23:11 ---> f96f9c87975a 23:23:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:23:12 ---> Running in c10dff6c1316 23:23:12 Removing intermediate container c10dff6c1316 23:23:12 ---> 290868663df1 23:23:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:12 ---> Running in 8df2ff8bd89a 23:23:12 Removing intermediate container 8df2ff8bd89a 23:23:12 ---> c4f6f193d06d 23:23:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git curl" 23:23:12 ---> Running in d25982340919 23:23:13 Removing intermediate container d25982340919 23:23:13 ---> b8cc8272db5c 23:23:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:23:13 ---> Running in 7117f193c706 23:23:13 Removing intermediate container 7117f193c706 23:23:13 ---> 031e1d009d68 23:23:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:13 ---> Running in a5bb4f7f7c83 23:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:23:15 (1/14) Installing libintl (0.21-r2) 23:23:15 (2/14) Installing eudev-libs (3.2.11-r0) 23:23:15 (3/14) Installing libjpeg-turbo (2.1.3-r1) 23:23:15 (4/14) Installing v4l-utils-libs (1.22.1-r1) 23:23:15 (5/14) Installing v4l-utils (1.22.1-r1) 23:23:15 (6/14) Installing udev-init-scripts (35-r0) 23:23:15 Executing udev-init-scripts-35-r0.post-install 23:23:16 (7/14) Installing libblkid (2.38-r1) 23:23:16 (8/14) Installing xz-libs (5.2.5-r1) 23:23:16 (9/14) Installing zstd-libs (1.5.2-r1) 23:23:16 (10/14) Installing kmod-libs (29-r2) 23:23:16 (11/14) Installing eudev (3.2.11-r0) 23:23:16 (12/14) Installing eudev-dev (3.2.11-r0) 23:23:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:23:16 (14/14) Installing v4l-utils-dev (1.22.1-r1) 23:23:16 Executing busybox-1.35.0-r17.trigger 23:23:16 Executing eudev-3.2.11-r0.trigger 23:23:16 OK: 228 MiB in 65 packages 23:23:17 Removing intermediate container a5bb4f7f7c83 23:23:17 ---> be693ebf8264 23:23:17 Step 8/13 : WORKDIR /device-usb-camera 23:23:17 ---> Running in f7c4e8ae132a 23:23:17 Removing intermediate container f7c4e8ae132a 23:23:17 ---> 0428643f5624 23:23:17 Step 9/13 : COPY go.mod vendor* ./ 23:23:18 ---> c963b36521f7 23:23:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:18 ---> Running in b6dfb8f3843a 23:24:26 Removing intermediate container b6dfb8f3843a 23:24:26 ---> f3648325d8f5 23:24:26 Step 11/13 : COPY . . 23:24:26 ---> c879005bcc0c 23:24:26 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:24:26 ---> Running in 448102c03210 23:24:26  % Total % Received % Xferd Average Speed Time Time Time Current 23:24:26 Dload Upload Total Spent Left Speed 23:24:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6864 0 --:--:-- --:--:-- --:--:-- 6851 100 1062 100 1062 0 0 6836 0 --:--:-- --:--:-- --:--:-- 6851 23:24:26 Removing intermediate container 448102c03210 23:24:26 ---> dca9c1a149c4 23:24:26 Step 13/13 : RUN ${MAKE} 23:24:26 ---> Running in b6a5631f3ead 23:24:26 noop 23:24:26 Removing intermediate container b6a5631f3ead 23:24:26 ---> 8b0e6f2a23e3 23:24:26 Successfully built 8b0e6f2a23e3 23:24:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:26 + docker inspect -f . ci-base-image-arm64 23:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:27 prd-ubuntu20.04-docker-arm64-4c-16g-1752 does not seem to be running inside a container 23:24:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 23:24:28 $ docker top 02584a1da10d9d4edbf6d545180743d96239f74241a5a667769d2cd91f1b42e2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:29 + go version 23:24:29 go version go1.18.7 linux/arm64 [Pipeline] } 23:24:29 $ docker stop --time=1 02584a1da10d9d4edbf6d545180743d96239f74241a5a667769d2cd91f1b42e2 23:24:30 $ docker rm -f --volumes 02584a1da10d9d4edbf6d545180743d96239f74241a5a667769d2cd91f1b42e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:31 + docker inspect -f . ci-base-image-arm64 23:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:31 prd-ubuntu20.04-docker-arm64-4c-16g-1752 does not seem to be running inside a container 23:24:31 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 23:24:33 $ docker top bf3f7b3c5788dd78e17044652d4fd7ee0e7e9f9ed3f7be77d2a91a03a5002674 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:33 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 23:24:34 + make test 23:24:34 go test ./... -coverprofile=coverage.out ./... 23:24:35 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:26:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:26:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 1.9% of statements 23:26:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:26:12 go vet ./... 23:26:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:26:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:26:27 ./bin/test-attribution-txt.sh [Pipeline] echo 23:26:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:26:27 $ docker stop --time=1 bf3f7b3c5788dd78e17044652d4fd7ee0e7e9f9ed3f7be77d2a91a03a5002674 23:26:29 $ docker rm -f --volumes bf3f7b3c5788dd78e17044652d4fd7ee0e7e9f9ed3f7be77d2a91a03a5002674 [Pipeline] // withDockerContainer [Pipeline] sh 23:26:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:26:30 Warning: overwriting stash ‘coverage-report’ 23:26:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:26:32 + ls -al . 23:26:32 total 204 23:26:32 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:24 . 23:26:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:22 .. 23:26:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:22 .git 23:26:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:22 .github 23:26:32 -rw-rw-r-- 1 jenkins jenkins 414 Jan 10 23:22 .gitignore 23:26:32 -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 23:22 .golangci.yml 23:26:32 -rw-rw-r-- 1 jenkins jenkins 77 Jan 10 23:22 .hadolint.yml 23:26:32 -rw-rw-r-- 1 jenkins jenkins 9442 Jan 10 23:22 Attribution.txt 23:26:32 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 10 23:22 CHANGELOG.md 23:26:32 -rw-rw-r-- 1 jenkins jenkins 2315 Jan 10 23:22 Dockerfile 23:26:32 -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 23:22 GOVERNANCE.md 23:26:32 -rw-rw-r-- 1 jenkins jenkins 659 Jan 10 23:22 Jenkinsfile 23:26:32 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 23:22 LICENSE 23:26:32 -rw-rw-r-- 1 jenkins jenkins 2303 Jan 10 23:22 Makefile 23:26:32 -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 23:22 OWNERS.md 23:26:32 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 10 23:22 README.md 23:26:32 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 23:18 VERSION 23:26:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:22 bin 23:26:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:22 cmd 23:26:32 -rw-r--r-- 1 jenkins jenkins 30666 Jan 10 23:26 coverage.out 23:26:32 -rwxrwxr-x 1 jenkins jenkins 140 Jan 10 23:22 docker-entrypoint.sh 23:26:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:22 docs 23:26:32 -rw-rw-r-- 1 jenkins jenkins 3574 Jan 10 23:22 go.mod 23:26:32 -rw-rw-r-- 1 jenkins jenkins 45170 Jan 10 23:22 go.sum 23:26:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:22 internal 23:26:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:22 snap 23:26:32 -rw-rw-r-- 1 jenkins jenkins 231 Jan 10 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:32 + 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=8695117d0439de31e4a5bd3628f6c07a3c94d60c --label arch=arm64 --label version=0.0.0 . 23:26:32 Sending build context to Docker daemon 1.177MB 23:26:32 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:26:32 Step 2/35 : FROM ${BASE} AS builder 23:26:32 ---> 8b0e6f2a23e3 23:26:32 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:26:33 ---> Running in 2d2e9c07ca91 23:26:33 Removing intermediate container 2d2e9c07ca91 23:26:33 ---> 7de225f3fef2 23:26:33 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:33 ---> Running in 4393d4823f8f 23:26:33 Removing intermediate container 4393d4823f8f 23:26:33 ---> e6a156c3cbe8 23:26:33 Step 5/35 : ARG ALPINE_PKG_BASE="make git curl" 23:26:33 ---> Running in e32d57cf2421 23:26:34 Removing intermediate container e32d57cf2421 23:26:34 ---> 4750449282a1 23:26:34 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:26:34 ---> Running in ed29ed091702 23:26:34 Removing intermediate container ed29ed091702 23:26:34 ---> c151632a8ca1 23:26:34 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:34 ---> Running in e12fda3ccb8d 23:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:26:36 OK: 228 MiB in 65 packages 23:26:37 Removing intermediate container e12fda3ccb8d 23:26:37 ---> 0736c783267d 23:26:37 Step 8/35 : WORKDIR /device-usb-camera 23:26:37 ---> Running in 3392312993ce 23:26:38 Removing intermediate container 3392312993ce 23:26:38 ---> 60ed077a3c12 23:26:38 Step 9/35 : COPY go.mod vendor* ./ 23:26:38 ---> 644652f1e9d3 23:26:38 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:38 ---> Running in 78c73d36a285 23:26:41 Removing intermediate container 78c73d36a285 23:26:41 ---> 647426651d15 23:26:41 Step 11/35 : COPY . . 23:26:45 ---> f927429362f0 23:26:45 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:26:45 ---> Running in bc459751164a 23:26:46  % Total % Received % Xferd Average Speed Time Time Time Current 23:26:46 Dload Upload Total Spent Left Speed 23:26:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13795 0 --:--:-- --:--:-- --:--:-- 13973 23:26:47 Removing intermediate container bc459751164a 23:26:47 ---> 8bb62c051fd7 23:26:47 Step 13/35 : RUN ${MAKE} 23:26:47 ---> Running in 81fdf8ba33d8 23:26:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 23:28:40 # github.com/vladimirvivien/go4vl/v4l2 23:28:40 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:11:15: undefined: Capability 23:28:40 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:12:14: undefined: IOType 23:28:40 /go/pkg/mod/github.com/vladimirvivien/go4vl@v0.0.3/v4l2/types.go:23:15: undefined: BufType 23:28:48 make: *** [Makefile:29: cmd/device-usb-camera] Error 2 23:28:48 The command '/bin/sh -c ${MAKE}' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:49 23:28:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:49 arm64: Pulling from edgex-lftools-log-publisher 23:28:49 8998bd30e6a1: Pulling fs layer 23:28:49 04944245beec: Pulling fs layer 23:28:49 699f458cf7ca: Pulling fs layer 23:28:49 765212b225bb: Pulling fs layer 23:28:49 f23df028b6ca: Pulling fs layer 23:28:49 d65c8cfc05b1: Pulling fs layer 23:28:49 2437ff75d9bd: Pulling fs layer 23:28:49 f23df028b6ca: Waiting 23:28:49 d65c8cfc05b1: Waiting 23:28:49 2437ff75d9bd: Waiting 23:28:49 04944245beec: Verifying Checksum 23:28:49 04944245beec: Download complete 23:28:49 765212b225bb: Verifying Checksum 23:28:49 765212b225bb: Download complete 23:28:49 f23df028b6ca: Verifying Checksum 23:28:49 f23df028b6ca: Download complete 23:28:49 d65c8cfc05b1: Verifying Checksum 23:28:49 d65c8cfc05b1: Download complete 23:28:50 699f458cf7ca: Verifying Checksum 23:28:50 699f458cf7ca: Download complete 23:28:50 8998bd30e6a1: Verifying Checksum 23:28:50 8998bd30e6a1: Download complete 23:28:52 2437ff75d9bd: Verifying Checksum 23:28:52 2437ff75d9bd: Download complete 23:28:54 8998bd30e6a1: Pull complete 23:28:54 04944245beec: Pull complete 23:28:56 699f458cf7ca: Pull complete 23:28:56 765212b225bb: Pull complete 23:28:57 f23df028b6ca: Pull complete 23:28:57 d65c8cfc05b1: Pull complete 23:29:12 2437ff75d9bd: Pull complete 23:29:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:29:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:12 prd-ubuntu20.04-docker-arm64-4c-16g-1752 does not seem to be running inside a container 23:29:12 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:29:15 $ docker top 8f70748ce4941fa39b98ae6bdd30a654a06eecf69e5a97da8d32a3f62d416055 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:15 ---> job-cost.sh 23:29:16 lf-activate-venv: SKIPPING 23:29:16 INFO: No Stack... 23:29:16 INFO: Retrieving Pricing Info for: v3-standard-4 23:29:17 INFO: Archiving Costs [Pipeline] sh 23:29:18 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 23:29:18 + cut -d, -f6 [Pipeline] lock 23:29:18 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] 23:29:18 Resource [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] did not exist. Created. 23:29:18 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:19 /w/workspace/device-usb-camera/1@tmp/durable-a12e861d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:29:19 + echo total: 0.10999999940395355 [Pipeline] stash 23:29:19 Warning: overwriting stash ‘stack-cost’ 23:29:19 Stashed 1 file(s) [Pipeline] } 23:29:19 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:19 $ docker stop --time=1 8f70748ce4941fa39b98ae6bdd30a654a06eecf69e5a97da8d32a3f62d416055 23:29:21 $ docker rm -f --volumes 8f70748ce4941fa39b98ae6bdd30a654a06eecf69e5a97da8d32a3f62d416055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:29:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:29:24 + [ -d /w/workspace/foundry_device-usb-camera_PR-126/archives ] 23:29:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-126/archives 23:29:24 total 16 23:29:24 drwxr-xr-x 3 root root 4096 Jan 10 23:20 . 23:29:24 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:20 .. 23:29:24 drwxr-xr-x 2 root root 4096 Jan 10 23:20 cost 23:29:24 -rw-r--r-- 1 root root 89 Jan 10 23:20 cost.csv 23:29:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-126/archives 23:29:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-126/archives 23:29:24 total 16 23:29:24 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:20 . 23:29:24 drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 23:20 .. 23:29:24 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:20 cost 23:29:24 -rw-r--r-- 1 jenkins jenkins 89 Jan 10 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:29:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:25 ---> package-listing.sh 23:29:25 ++ facter osfamily 23:29:25 ++ tr '[:upper:]' '[:lower:]' 23:29:25 + OS_FAMILY=debian 23:29:25 + workspace=/w/workspace/foundry_device-usb-camera_PR-126 23:29:25 + START_PACKAGES=/tmp/packages_start.txt 23:29:25 + END_PACKAGES=/tmp/packages_end.txt 23:29:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:25 + PACKAGES=/tmp/packages_start.txt 23:29:25 + '[' /w/workspace/foundry_device-usb-camera_PR-126 ']' 23:29:25 + PACKAGES=/tmp/packages_end.txt 23:29:25 + case "${OS_FAMILY}" in 23:29:25 + dpkg -l 23:29:25 + grep '^ii' 23:29:25 + '[' -f /tmp/packages_start.txt ']' 23:29:25 + '[' -f /tmp/packages_end.txt ']' 23:29:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:25 + '[' /w/workspace/foundry_device-usb-camera_PR-126 ']' 23:29:25 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-126/archives/ 23:29:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-126/archives/ [Pipeline] echo 23:29:25 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-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:29:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:26 prd-ubuntu20.04-docker-8c-8g-1751 does not seem to be running inside a container 23:29:26 $ 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-126/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-126 -v /w/workspace/foundry_device-usb-camera_PR-126:/w/workspace/foundry_device-usb-camera_PR-126:rw,z -v /w/workspace/foundry_device-usb-camera_PR-126@tmp:/w/workspace/foundry_device-usb-camera_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:26 $ docker top 1db4de151701afbaa698b01f62255239a0f22bf8e2d915f8032f19452525ce05 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:27 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:27 + mkdir -p /var/log/sysstat [Pipeline] sh 23:29:27 + ls /var/log/sa-host 23:29:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:27 provisioning config files... 23:29:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-126@tmp/config9517410548907351921tmp [Pipeline] { [Pipeline] echo 23:29:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:28 ---> create-netrc.sh [Pipeline] } 23:29:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:29:28 ---> python-tools-install.sh [Pipeline] echo 23:29:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:29 ---> sudo-logs.sh 23:29:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:29:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:29 ---> job-cost.sh 23:29:29 lf-activate-venv: SKIPPING 23:29:29 DEBUG: total: 0.2199999988079071 23:29:29 INFO: Retrieving Stack Cost... 23:29:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:30 INFO: Archiving Costs [Pipeline] echo 23:29:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:30 ---> logs-deploy.sh 23:29:30 lf-activate-venv: SKIPPING 23:29:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-126/1 23:29:30 INFO: archiving workspace using pattern(s): 23:29:31 Archives upload complete. 23:29:31 INFO: archiving logs to Nexus