Pull request #185 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 ed547cb9b404855c4500ba28f125032074ed2dc3 rather than fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a Obtained Jenkinsfile from ed547cb9b404855c4500ba28f125032074ed2dc3 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-ssh16019647732640103713.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11171617728013194811.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3072214156446042375.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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18316758086928152975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh2382146794705598652.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12986107971389914215.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-274’ Running on prd-ubuntu20.04-docker-8c-8g-276 in /w/workspace/foundry_device-usb-camera_PR-185 [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-185 # 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a Merge succeeded, producing fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a Checking out Revision fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a (PR-185) > git config core.sparsecheckout # timeout=10 > git checkout -f fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a # 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 ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a # timeout=10 Commit message: "docs: add warning for main branch, link to releases" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:03:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:03:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:03:26 ========================================================= 22:03:26 EdgeX Global Pipelines Version Info 22:03:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:03:27 ------------------- 22:03:27 stable info: 22:03:27 ------------------- 22:03:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:03:27 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:03:27 Message: update stable to v1.0.245 22:03:28 ------------------- 22:03:28 experimental info: 22:03:28 ------------------- 22:03:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:03:28 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:03:28 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:03:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa8e1b6 [Pipeline] echo 22:03:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:29 provisioning config files... 22:03:29 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-185@tmp/config10934291753142314280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:30 ---> docker-login.sh 22:03:30 nexus3.edgexfoundry.org:10001 22:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:30 Configure a credential helper to remove this warning. See 22:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:30 22:03:30 Login Succeeded 22:03:30 nexus3.edgexfoundry.org:10002 22:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:30 Configure a credential helper to remove this warning. See 22:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:30 22:03:30 Login Succeeded 22:03:30 nexus3.edgexfoundry.org:10003 22:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:30 Configure a credential helper to remove this warning. See 22:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:30 22:03:30 Login Succeeded 22:03:30 nexus3.edgexfoundry.org:10004 22:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:31 Configure a credential helper to remove this warning. See 22:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:31 22:03:31 Login Succeeded 22:03:31 docker.io 22:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:31 Configure a credential helper to remove this warning. See 22:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:31 22:03:31 Login Succeeded 22:03:31 ---> docker-login.sh ends [Pipeline] } 22:03:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:03:32 + git rev-list -1 --merges fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a~1..fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [Pipeline] echo 22:03:32 -----------> git rev-list -1 --merges fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a~1..fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [false] [Pipeline] sh 22:03:32 + git log --format=format:%s -1 fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [Pipeline] echo 22:03:32 ========================================================= 22:03:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:03:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:03:32 + git log --format=format:%s -1 fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [Pipeline] echo 22:03:32 [semverPrep] GIT_COMMIT: fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a, Commit Message: docs: add warning for main branch, link to releases [Pipeline] echo 22:03:32 [semverPrep] This is not a build commit. [Pipeline] sh 22:03:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:03:33 + grep -v github /etc/ssh/ssh_known_hosts 22:03:33 + [ -e /tmp/ssh_known_hosts ] 22:03:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:03:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:03:33 + sudo tee -a /etc/ssh/ssh_known_hosts 22:03:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:33 22:03:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:34 0.1.4: Pulling from edgex-devops/py-git-semver 22:03:34 b85a868b505f: Pulling fs layer 22:03:34 e2be974225ed: Pulling fs layer 22:03:34 339a4e72a1f5: Pulling fs layer 22:03:34 988bab9f4d93: Pulling fs layer 22:03:34 1469e6f7b9e6: Pulling fs layer 22:03:34 eaf3925da568: Pulling fs layer 22:03:34 bab4dde63d76: Pulling fs layer 22:03:34 bde34c3a00c8: Pulling fs layer 22:03:34 b352a97aabf1: Pulling fs layer 22:03:34 4872d77fe225: Pulling fs layer 22:03:34 5851b861e8e6: Pulling fs layer 22:03:34 1469e6f7b9e6: Waiting 22:03:34 5851b861e8e6: Waiting 22:03:34 988bab9f4d93: Waiting 22:03:34 b352a97aabf1: Waiting 22:03:34 eaf3925da568: Waiting 22:03:34 4872d77fe225: Waiting 22:03:34 bab4dde63d76: Waiting 22:03:34 bde34c3a00c8: Waiting 22:03:34 e2be974225ed: Verifying Checksum 22:03:34 e2be974225ed: Download complete 22:03:34 988bab9f4d93: Verifying Checksum 22:03:34 988bab9f4d93: Download complete 22:03:34 1469e6f7b9e6: Verifying Checksum 22:03:34 1469e6f7b9e6: Download complete 22:03:34 339a4e72a1f5: Verifying Checksum 22:03:34 339a4e72a1f5: Download complete 22:03:34 eaf3925da568: Verifying Checksum 22:03:34 eaf3925da568: Download complete 22:03:34 bde34c3a00c8: Verifying Checksum 22:03:34 bde34c3a00c8: Download complete 22:03:34 b352a97aabf1: Verifying Checksum 22:03:34 b352a97aabf1: Download complete 22:03:34 4872d77fe225: Verifying Checksum 22:03:34 4872d77fe225: Download complete 22:03:34 5851b861e8e6: Download complete 22:03:34 b85a868b505f: Download complete 22:03:35 bab4dde63d76: Verifying Checksum 22:03:35 bab4dde63d76: Download complete 22:03:36 b85a868b505f: Pull complete 22:03:37 e2be974225ed: Pull complete 22:03:38 339a4e72a1f5: Pull complete 22:03:38 988bab9f4d93: Pull complete 22:03:38 1469e6f7b9e6: Pull complete 22:03:38 eaf3925da568: Pull complete 22:03:40 bab4dde63d76: Pull complete 22:03:40 bde34c3a00c8: Pull complete 22:03:40 b352a97aabf1: Pull complete 22:03:40 4872d77fe225: Pull complete 22:03:40 5851b861e8e6: Pull complete 22:03:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:03:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:03:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:41 prd-ubuntu20.04-docker-8c-8g-276 does not seem to be running inside a container 22:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-185 -v /w/workspace/foundry_device-usb-camera_PR-185:/w/workspace/foundry_device-usb-camera_PR-185:rw,z -v /w/workspace/foundry_device-usb-camera_PR-185@tmp:/w/workspace/foundry_device-usb-camera_PR-185@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:03:44 $ docker top 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 -eo pid,comm 22:03:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:03:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:03:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:44 [ssh-agent] Looking for ssh-agent implementation... 22:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:44 $ docker exec 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 ssh-agent 22:03:44 SSH_AUTH_SOCK=/tmp/ssh-OAuL2n61GkXF/agent.32 22:03:44 SSH_AGENT_PID=38 22:03:44 Running ssh-add (command line suppressed) 22:03:44 Identity added: /w/workspace/foundry_device-usb-camera_PR-185@tmp/private_key_11489470092438666798.key (/w/workspace/foundry_device-usb-camera_PR-185@tmp/private_key_11489470092438666798.key) 22:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:45 + git tag --points-at HEAD [Pipeline] } 22:03:45 $ docker exec --env ******** --env ******** 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 ssh-agent -k 22:03:45 unset SSH_AUTH_SOCK; 22:03:45 unset SSH_AGENT_PID; 22:03:45 echo Agent pid 38 killed; 22:03:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:03:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:03:45 [ssh-agent] Looking for ssh-agent implementation... 22:03:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:03:45 $ docker exec 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 ssh-agent 22:03:45 SSH_AUTH_SOCK=/tmp/ssh-qzcg57bMXyUj/agent.70 22:03:45 SSH_AGENT_PID=76 22:03:45 Running ssh-add (command line suppressed) 22:03:45 Identity added: /w/workspace/foundry_device-usb-camera_PR-185@tmp/private_key_336409300475116090.key (/w/workspace/foundry_device-usb-camera_PR-185@tmp/private_key_336409300475116090.key) 22:03:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:03:46 + git semver init 22:03:46 2023-03-14 22:03:46,348 [run_init] DEBUG init version:0.0.0 force:False 22:03:46 2023-03-14 22:03:46,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-185/.semver 22:03:46 2023-03-14 22:03:46,349 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-185/.semver 22:03:46 2023-03-14 22:03:46,350 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-185/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-185, universal_newlines=False, shell=None, istream=None) 22:03:47 2023-03-14 22:03:47,108 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-185/.git/info/exclude 22:03:47 2023-03-14 22:03:47,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-185/.semver/PR-185 with force:False 22:03:47 2023-03-14 22:03:47,109 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-185/.semver/PR-185 22:03:47 2023-03-14 22:03:47,112 [execute] INFO git cat-file --batch-check 22:03:47 2023-03-14 22:03:47,112 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) 22:03:47 2023-03-14 22:03:47,119 [execute] INFO git cat-file --batch 22:03:47 2023-03-14 22:03:47,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) 22:03:47 2023-03-14 22:03:47,125 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-185/.semver/PR-185 22:03:47 0.0.0 [Pipeline] } 22:03:47 $ docker exec --env ******** --env ******** 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 ssh-agent -k 22:03:47 unset SSH_AUTH_SOCK; 22:03:47 unset SSH_AGENT_PID; 22:03:47 echo Agent pid 76 killed; 22:03:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:03:47 + git semver [Pipeline] } 22:03:48 $ docker stop --time=1 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 22:03:49 $ docker rm -f --volumes 3ced50e186fe87b782f6b7d7c11bee1dc9d16e8c90c61fce43cdf2fbbaee1695 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:03:50 Stashed 1 file(s) [Pipeline] echo 22:03:50 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:50 provisioning config files... 22:03:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-185@tmp/config3275318669351762201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:51 ---> docker-login.sh 22:03:51 nexus3.edgexfoundry.org:10001 22:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:51 Configure a credential helper to remove this warning. See 22:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:51 22:03:51 Login Succeeded 22:03:51 nexus3.edgexfoundry.org:10002 22:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:51 Configure a credential helper to remove this warning. See 22:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:51 22:03:51 Login Succeeded 22:03:51 nexus3.edgexfoundry.org:10003 22:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:51 Configure a credential helper to remove this warning. See 22:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:51 22:03:51 Login Succeeded 22:03:51 nexus3.edgexfoundry.org:10004 22:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:51 Configure a credential helper to remove this warning. See 22:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:51 22:03:51 Login Succeeded 22:03:51 docker.io 22:03:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:51 Configure a credential helper to remove this warning. See 22:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:51 22:03:51 Login Succeeded 22:03:51 ---> docker-login.sh ends [Pipeline] } 22:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:51 ========================================================= 22:03:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:03:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:52 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:03:52 Sending build context to Docker daemon 1.814MB 22:03:52 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:03:52 Step 2/13 : FROM ${BASE} AS builder 22:03:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:03:52 63b65145d645: Pulling fs layer 22:03:52 a2d21d5440eb: Pulling fs layer 22:03:52 935e6c44a52c: Pulling fs layer 22:03:52 94cc34f8dd06: Pulling fs layer 22:03:52 30dea6a524f1: Pulling fs layer 22:03:52 a2aff8979fd8: Pulling fs layer 22:03:52 6808be2612f2: Pulling fs layer 22:03:52 f25807f1079a: Pulling fs layer 22:03:52 94cc34f8dd06: Waiting 22:03:52 a2aff8979fd8: Waiting 22:03:52 6808be2612f2: Waiting 22:03:52 f25807f1079a: Waiting 22:03:52 a2d21d5440eb: Download complete 22:03:52 94cc34f8dd06: Verifying Checksum 22:03:52 94cc34f8dd06: Download complete 22:03:52 30dea6a524f1: Verifying Checksum 22:03:52 30dea6a524f1: Download complete 22:03:52 63b65145d645: Verifying Checksum 22:03:52 63b65145d645: Download complete 22:03:52 a2aff8979fd8: Verifying Checksum 22:03:52 a2aff8979fd8: Download complete 22:03:52 63b65145d645: Pull complete 22:03:53 a2d21d5440eb: Pull complete 22:03:53 f25807f1079a: Verifying Checksum 22:03:53 f25807f1079a: Download complete 22:03:53 935e6c44a52c: Download complete 22:03:53 6808be2612f2: Verifying Checksum 22:03:53 6808be2612f2: Download complete 22:03:56 935e6c44a52c: Pull complete 22:03:56 94cc34f8dd06: Pull complete 22:03:56 30dea6a524f1: Pull complete 22:03:56 a2aff8979fd8: Pull complete 22:03:59 6808be2612f2: Pull complete 22:03:59 f25807f1079a: Pull complete 22:03:59 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:03:59 ---> 3b553350e43f 22:03:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:04:05 ---> Running in 7aeec102e7c5 22:04:05 Removing intermediate container 7aeec102e7c5 22:04:05 ---> 84cfcb3239d4 22:04:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:04:05 ---> Running in 599f56ac5df5 22:04:05 Removing intermediate container 599f56ac5df5 22:04:05 ---> d727777a3c02 22:04:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:04:05 ---> Running in d196d5526d09 22:04:05 Still waiting to schedule task 22:04:05 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-275’ 22:04:05 Removing intermediate container d196d5526d09 22:04:05 ---> 271fde07f399 22:04:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:04:05 ---> Running in 2f06b52c1e3b 22:04:06 Removing intermediate container 2f06b52c1e3b 22:04:06 ---> b22bd1b10ae3 22:04:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:04:06 ---> Running in dc9185d1a6bb 22:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:04:07 (1/14) Installing libintl (0.21.1-r1) 22:04:07 (2/14) Installing eudev-libs (3.2.11-r4) 22:04:07 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:04:07 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:04:07 (5/14) Installing v4l-utils (1.22.1-r2) 22:04:07 (6/14) Installing udev-init-scripts (35-r1) 22:04:07 (7/14) Installing libblkid (2.38.1-r1) 22:04:07 (8/14) Installing xz-libs (5.2.9-r0) 22:04:07 (9/14) Installing zstd-libs (1.5.2-r9) 22:04:07 (10/14) Installing kmod-libs (30-r1) 22:04:07 (11/14) Installing eudev (3.2.11-r4) 22:04:07 (12/14) Installing eudev-dev (3.2.11-r4) 22:04:07 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:04:07 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:04:07 Executing busybox-1.35.0-r29.trigger 22:04:07 Executing eudev-3.2.11-r4.trigger 22:04:07 OK: 272 MiB in 67 packages 22:04:08 Removing intermediate container dc9185d1a6bb 22:04:08 ---> 39770388f448 22:04:08 Step 8/13 : WORKDIR /device-usb-camera 22:04:08 ---> Running in ceb02689291e 22:04:08 Removing intermediate container ceb02689291e 22:04:08 ---> c1f462acca37 22:04:08 Step 9/13 : COPY go.mod vendor* ./ 22:04:08 ---> a3b3a9409c4d 22:04:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:04:08 ---> Running in f38b03951e10 22:04:47 Removing intermediate container f38b03951e10 22:04:47 ---> b4be3fed66b2 22:04:47 Step 11/13 : COPY . . 22:04:47 ---> 27f53bc27e0e 22:04:47 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:04:47 ---> Running in d6f16798723a 22:04:47  % Total % Received % Xferd Average Speed Time Time Time Current 22:04:47 Dload Upload Total Spent Left Speed 22:04:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8047 0 --:--:-- --:--:-- --:--:-- 8106 22:04:48 Removing intermediate container d6f16798723a 22:04:48 ---> 0b9b817d954f 22:04:48 Step 13/13 : RUN ${MAKE} 22:04:48 ---> Running in 105131e572f5 22:04:48 noop 22:04:49 Removing intermediate container 105131e572f5 22:04:49 ---> ecddd099529e 22:04:49 Successfully built ecddd099529e 22:04:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:49 + docker inspect -f . ci-base-image-x86_64 22:04:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:49 prd-ubuntu20.04-docker-8c-8g-276 does not seem to be running inside a container 22:04:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-185 -v /w/workspace/foundry_device-usb-camera_PR-185:/w/workspace/foundry_device-usb-camera_PR-185:rw,z -v /w/workspace/foundry_device-usb-camera_PR-185@tmp:/w/workspace/foundry_device-usb-camera_PR-185@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-x86_64 cat 22:04:49 $ docker top 0c169c4cd4db70f9118650d09d784e082f581c793a962e96dc0a099127ab82e0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:50 + go version 22:04:50 go version go1.20.2 linux/amd64 [Pipeline] } 22:04:50 $ docker stop --time=1 0c169c4cd4db70f9118650d09d784e082f581c793a962e96dc0a099127ab82e0 22:04:51 $ docker rm -f --volumes 0c169c4cd4db70f9118650d09d784e082f581c793a962e96dc0a099127ab82e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:04:52 + docker inspect -f . ci-base-image-x86_64 22:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:04:52 prd-ubuntu20.04-docker-8c-8g-276 does not seem to be running inside a container 22:04:52 $ 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-185 -v /w/workspace/foundry_device-usb-camera_PR-185:/w/workspace/foundry_device-usb-camera_PR-185:rw,z -v /w/workspace/foundry_device-usb-camera_PR-185@tmp:/w/workspace/foundry_device-usb-camera_PR-185@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-x86_64 cat 22:04:52 $ docker top f0cc7ac81ea8f596d08dbd968baa627d39957f75deebf97c334a5f50a4c566eb -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:53 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-185 [Pipeline] fileExists [Pipeline] sh 22:04:53 + make test 22:04:53 go test ./... -coverprofile=coverage.out ./... 22:04:58 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:05:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:05:08 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 2.0% of statements 22:05:15 go vet ./... 22:05:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:05:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:05:17 ./bin/test-attribution-txt.sh [Pipeline] echo 22:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:05:18 $ docker stop --time=1 f0cc7ac81ea8f596d08dbd968baa627d39957f75deebf97c334a5f50a4c566eb 22:05:22 $ docker rm -f --volumes f0cc7ac81ea8f596d08dbd968baa627d39957f75deebf97c334a5f50a4c566eb [Pipeline] // withDockerContainer [Pipeline] sh 22:05:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:05:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:05:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:05:24 + ls -al . 22:05:24 total 188 22:05:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 22:04 . 22:05:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:03 .. 22:05:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 22:03 .git 22:05:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:03 .github 22:05:24 -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 22:03 .gitignore 22:05:24 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 22:03 .golangci.yml 22:05:24 -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 22:03 .hadolint.yml 22:05:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 22:03 .semver 22:05:24 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 22:03 Attribution.txt 22:05:24 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 22:03 CHANGELOG.md 22:05:24 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 22:03 Dockerfile 22:05:24 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 22:03 GOVERNANCE.md 22:05:24 -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 22:03 Jenkinsfile 22:05:24 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 22:03 LICENSE 22:05:24 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 14 22:03 Makefile 22:05:24 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 22:03 OWNERS.md 22:05:24 -rw-rw-r-- 1 jenkins jenkins 5497 Mar 14 22:03 README.md 22:05:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 22:03 VERSION 22:05:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:03 bin 22:05:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:03 cmd 22:05:24 -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 22:05 coverage.out 22:05:24 -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 22:03 docker-entrypoint.sh 22:05:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:03 docs 22:05:24 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 22:03 go.mod 22:05:24 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 22:03 go.sum 22:05:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:03 internal 22:05:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:03 snap 22:05:24 -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 22:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:24 + 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=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a --label arch=amd64 --label version=0.0.0 . 22:05:24 Sending build context to Docker daemon 1.843MB 22:05:24 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 22:05:24 Step 2/35 : FROM ${BASE} AS builder 22:05:24 ---> ecddd099529e 22:05:24 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:05:24 ---> Running in 71524ae13652 22:05:24 Removing intermediate container 71524ae13652 22:05:24 ---> ee94eea37079 22:05:24 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:05:24 ---> Running in 36a065fc62f7 22:05:24 Removing intermediate container 36a065fc62f7 22:05:24 ---> 193368a1d1da 22:05:24 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:05:24 ---> Running in 6bae275ea61d 22:05:25 Removing intermediate container 6bae275ea61d 22:05:25 ---> f52a6f88c313 22:05:25 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:05:25 ---> Running in 6723aa12198b 22:05:25 Removing intermediate container 6723aa12198b 22:05:25 ---> 3cf934aa2b7e 22:05:25 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:05:25 ---> Running in ad27ba864295 22:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:05:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:05:25 OK: 272 MiB in 67 packages 22:05:26 Removing intermediate container ad27ba864295 22:05:26 ---> 60b8bc2d9a54 22:05:26 Step 8/35 : WORKDIR /device-usb-camera 22:05:26 ---> Running in 80badb1053f1 22:05:26 Removing intermediate container 80badb1053f1 22:05:26 ---> febe91783186 22:05:26 Step 9/35 : COPY go.mod vendor* ./ 22:05:26 ---> a82e2dc16ac4 22:05:26 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:05:26 ---> Running in 1253f40505c1 22:05:27 Removing intermediate container 1253f40505c1 22:05:27 ---> ab061b7d2dfd 22:05:27 Step 11/35 : COPY . . 22:05:27 ---> 9d8c4c6b96c2 22:05:27 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:05:27 ---> Running in 07009cf07182 22:05:27  % Total % Received % Xferd Average Speed Time Time Time Current 22:05:27 Dload Upload Total Spent Left Speed 22:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 22759 0 --:--:-- --:--:-- --:--:-- 23086 22:05:28 Removing intermediate container 07009cf07182 22:05:28 ---> f1dd967e587b 22:05:28 Step 13/35 : RUN ${MAKE} 22:05:28 ---> Running in 863fd25dc4c7 22:05:28 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:05:50 Removing intermediate container 863fd25dc4c7 22:05:50 ---> b145149ec919 22:05:50 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:05:50 v0.21.6: Pulling from aler9/rtsp-simple-server 22:05:50 4acc49c71d14: Pulling fs layer 22:05:50 4acc49c71d14: Verifying Checksum 22:05:50 4acc49c71d14: Download complete 22:05:50 4acc49c71d14: Pull complete 22:05:50 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:05:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:05:50 ---> 01a2bd3e5fff 22:05:50 Step 15/35 : FROM alpine:3.16 22:05:51 3.16: Pulling from library/alpine 22:05:51 ef5531b6e74e: Pulling fs layer 22:05:51 ef5531b6e74e: Verifying Checksum 22:05:51 ef5531b6e74e: Download complete 22:05:51 ef5531b6e74e: Pull complete 22:05:51 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:05:51 Status: Downloaded newer image for alpine:3.16 22:05:51 ---> dfd21b5a31f5 22:05:51 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:05:51 ---> Running in a8b65a1c49b9 22:05:52 Removing intermediate container a8b65a1c49b9 22:05:52 ---> d04463ff6d25 22:05:52 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:05:52 ---> Running in 5db0e0f29428 22:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:05:52 (1/80) Installing dumb-init (1.2.5-r1) 22:05:52 (2/80) Installing sdl2 (2.0.22-r0) 22:05:52 (3/80) Installing libxau (1.0.9-r0) 22:05:52 (4/80) Installing libxdmcp (1.1.3-r0) 22:05:52 (5/80) Installing libxcb (1.15-r0) 22:05:53 (6/80) Installing libx11 (1.8-r0) 22:05:53 (7/80) Installing aom-libs (3.3.0-r0) 22:05:53 (8/80) Installing alsa-lib (1.2.7.2-r0) 22:05:53 (9/80) Installing expat (2.5.0-r0) 22:05:53 (10/80) Installing brotli-libs (1.0.9-r6) 22:05:53 (11/80) Installing libbz2 (1.0.8-r1) 22:05:53 (12/80) Installing libpng (1.6.37-r1) 22:05:53 (13/80) Installing freetype (2.12.1-r0) 22:05:53 (14/80) Installing fontconfig (2.14.0-r0) 22:05:53 (15/80) Installing fribidi (1.0.12-r0) 22:05:53 (16/80) Installing libffi (3.4.2-r1) 22:05:53 (17/80) Installing libintl (0.21-r2) 22:05:53 (18/80) Installing libblkid (2.38-r1) 22:05:53 (19/80) Installing libmount (2.38-r1) 22:05:53 (20/80) Installing pcre (8.45-r2) 22:05:53 (21/80) Installing glib (2.72.1-r0) 22:05:53 (22/80) Installing graphite2 (1.3.14-r1) 22:05:53 (23/80) Installing harfbuzz (4.3.0-r0) 22:05:53 (24/80) Installing libass (0.16.0-r0) 22:05:53 (25/80) Installing libdav1d (1.0.0-r0) 22:05:53 (26/80) Installing libpciaccess (0.16-r0) 22:05:53 (27/80) Installing libdrm (2.4.110-r0) 22:05:53 (28/80) Installing gmp (6.2.1-r2) 22:05:53 (29/80) Installing nettle (3.7.3-r0) 22:05:53 (30/80) Installing p11-kit (0.24.1-r0) 22:05:53 (31/80) Installing libtasn1 (4.18.0-r1) 22:05:53 (32/80) Installing libunistring (1.0-r0) 22:05:53 (33/80) Installing gnutls (3.7.7-r1) 22:05:53 (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:05:53 (35/80) Installing ncurses-libs (6.3_p20220521-r0) 22:05:53 (36/80) Installing lame (3.100-r0) 22:05:53 (37/80) Installing opus (1.3.1-r1) 22:05:53 (38/80) Installing libasyncns (0.8-r1) 22:05:53 (39/80) Installing dbus-libs (1.14.4-r0) 22:05:53 (40/80) Installing libltdl (2.4.7-r0) 22:05:53 (41/80) Installing orc (0.4.32-r0) 22:05:53 (42/80) Installing libgcc (11.2.1_git20220219-r2) 22:05:53 (43/80) Installing libogg (1.3.5-r1) 22:05:53 (44/80) Installing libstdc++ (11.2.1_git20220219-r2) 22:05:53 (45/80) Installing flac (1.3.4-r0) 22:05:53 (46/80) Installing libvorbis (1.3.7-r0) 22:05:53 (47/80) Installing libsndfile (1.1.0-r0) 22:05:53 (48/80) Installing libgomp (11.2.1_git20220219-r2) 22:05:53 (49/80) Installing soxr (0.1.3-r2) 22:05:53 (50/80) Installing speexdsp (1.2.0-r0) 22:05:53 (51/80) Installing tdb-libs (1.4.6-r0) 22:05:53 (52/80) Installing libpulse (15.0-r2) 22:05:53 (53/80) Installing cjson (1.7.15-r3) 22:05:53 (54/80) Installing mbedtls (2.28.2-r0) 22:05:53 (55/80) Installing librist (0.2.6-r1) 22:05:53 (56/80) Installing libsrt (1.4.4-r0) 22:05:53 (57/80) Installing libssh (0.9.6-r1) 22:05:53 (58/80) Installing libtheora (1.1.1-r16) 22:05:53 (59/80) Installing libjpeg-turbo (2.1.3-r1) 22:05:53 (60/80) Installing v4l-utils-libs (1.22.1-r1) 22:05:53 (61/80) Installing libxext (1.3.4-r0) 22:05:53 (62/80) Installing libxfixes (6.0.0-r0) 22:05:53 (63/80) Installing wayland-libs-client (1.20.0-r0) 22:05:53 (64/80) Installing libva (2.14.0-r0) 22:05:53 (65/80) Installing libvdpau (1.5-r0) 22:05:53 (66/80) Installing vidstab (1.1.0-r1) 22:05:53 (67/80) Installing libvpx (1.11.0-r1) 22:05:53 (68/80) Installing libwebp (1.2.3-r0) 22:05:53 (69/80) Installing x264-libs (0.163_git20210613-r0) 22:05:53 (70/80) Installing numactl (2.0.14-r0) 22:05:53 (71/80) Installing x265-libs (3.5-r3) 22:05:53 (72/80) Installing xvidcore (1.3.7-r1) 22:05:53 (73/80) Installing ffmpeg-libs (5.0.1-r1) 22:05:53 (74/80) Installing ffmpeg (5.0.1-r1) 22:05:53 (75/80) Installing udev-init-scripts (35-r0) 22:05:53 Executing udev-init-scripts-35-r0.post-install 22:05:54 (76/80) Installing eudev-libs (3.2.11-r0) 22:05:54 (77/80) Installing xz-libs (5.2.5-r1) 22:05:54 (78/80) Installing zstd-libs (1.5.2-r1) 22:05:54 (79/80) Installing kmod-libs (29-r2) 22:05:54 (80/80) Installing eudev (3.2.11-r0) 22:05:54 Executing busybox-1.35.0-r17.trigger 22:05:54 Executing eudev-3.2.11-r0.trigger 22:05:54 OK: 100 MiB in 94 packages 22:05:56 Removing intermediate container 5db0e0f29428 22:05:56 ---> 4fcfdef116dc 22:05:56 Step 18/35 : WORKDIR / 22:05:56 ---> Running in 854a53a5dfff 22:05:56 Removing intermediate container 854a53a5dfff 22:05:56 ---> a41b24a69dd3 22:05:56 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:05:57 ---> 97516b9595f1 22:05:57 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:05:57 ---> f720ebac7bda 22:05:57 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:05:57 ---> 34e37564b7d3 22:05:57 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:05:58 ---> 586c666aeb55 22:05:58 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:05:58 ---> ef0997f64a7b 22:05:58 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:05:58 ---> 72a4fd843ba0 22:05:58 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:05:59 ---> 14959557a5f9 22:05:59 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:05:59 ---> Running in 50904805f527 22:05:59 Removing intermediate container 50904805f527 22:05:59 ---> 15ac42986d7a 22:05:59 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:05:59 ---> Running in 991f7e301e1d 22:06:00 Removing intermediate container 991f7e301e1d 22:06:00 ---> 2ccab6546ba9 22:06:00 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:06:00 ---> Running in ffc091783cf9 22:06:01 Removing intermediate container ffc091783cf9 22:06:01 ---> 2eb52f662e40 22:06:01 Step 29/35 : EXPOSE 59983 22:06:01 ---> Running in fd17dd838e4a 22:06:02 Removing intermediate container fd17dd838e4a 22:06:02 ---> ae30fc61980a 22:06:02 Step 30/35 : EXPOSE 8554 22:06:02 ---> Running in 06338ef814e8 22:06:02 Removing intermediate container 06338ef814e8 22:06:02 ---> 90b22738320f 22:06:02 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:06:02 ---> Running in 14b76c531e65 22:06:02 Removing intermediate container 14b76c531e65 22:06:02 ---> be9b65b51895 22:06:02 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:06:02 ---> Running in 5b91d37f977e 22:06:02 Removing intermediate container 5b91d37f977e 22:06:02 ---> 52b208067330 22:06:02 Step 33/35 : LABEL arch=amd64 22:06:02 ---> Running in 5bdd6e06dc95 22:06:02 Removing intermediate container 5bdd6e06dc95 22:06:02 ---> faa5fae1b1ba 22:06:02 Step 34/35 : LABEL git_sha=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a 22:06:02 ---> Running in 17c872f20491 22:06:02 Removing intermediate container 17c872f20491 22:06:02 ---> 736947a76d3f 22:06:02 Step 35/35 : LABEL version=0.0.0 22:06:02 ---> Running in 42e6c86d5c38 22:06:02 Removing intermediate container 42e6c86d5c38 22:06:02 ---> 2f851e55e30a 22:06:02 [Warning] One or more build-args [ARCH] were not consumed 22:06:02 Successfully built 2f851e55e30a 22:06:02 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:03 22:06:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:06:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:03 latest: Pulling from edgex-lftools-log-publisher 22:06:03 5eb5b503b376: Pulling fs layer 22:06:03 5c69ac0246d0: Pulling fs layer 22:06:03 ec43610c2a17: Pulling fs layer 22:06:03 3a2ae6a8a46f: Pulling fs layer 22:06:03 33b1e0a273af: Pulling fs layer 22:06:03 5d3b04190fa2: Pulling fs layer 22:06:03 2f39f015ded8: Pulling fs layer 22:06:03 33b1e0a273af: Waiting 22:06:03 5d3b04190fa2: Waiting 22:06:03 2f39f015ded8: Waiting 22:06:03 3a2ae6a8a46f: Waiting 22:06:03 5c69ac0246d0: Verifying Checksum 22:06:03 5c69ac0246d0: Download complete 22:06:03 3a2ae6a8a46f: Verifying Checksum 22:06:03 3a2ae6a8a46f: Download complete 22:06:03 33b1e0a273af: Verifying Checksum 22:06:03 33b1e0a273af: Download complete 22:06:03 5d3b04190fa2: Verifying Checksum 22:06:03 5d3b04190fa2: Download complete 22:06:03 ec43610c2a17: Verifying Checksum 22:06:03 ec43610c2a17: Download complete 22:06:03 5eb5b503b376: Verifying Checksum 22:06:03 5eb5b503b376: Download complete 22:06:04 2f39f015ded8: Verifying Checksum 22:06:04 2f39f015ded8: Download complete 22:06:05 5eb5b503b376: Pull complete 22:06:05 5c69ac0246d0: Pull complete 22:06:05 ec43610c2a17: Pull complete 22:06:05 3a2ae6a8a46f: Pull complete 22:06:06 33b1e0a273af: Pull complete 22:06:06 5d3b04190fa2: Pull complete 22:06:10 2f39f015ded8: Pull complete 22:06:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:06:10 prd-ubuntu20.04-docker-8c-8g-276 does not seem to be running inside a container 22:06:10 $ 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-185 -v /w/workspace/foundry_device-usb-camera_PR-185:/w/workspace/foundry_device-usb-camera_PR-185:rw,z -v /w/workspace/foundry_device-usb-camera_PR-185@tmp:/w/workspace/foundry_device-usb-camera_PR-185@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 22:06:15 $ docker top 5d2e55f32a3bc18e2c3aebab801a66a92529e302ea7da10b4ef813bc245df5e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:06:15 ---> job-cost.sh 22:06:15 lf-activate-venv: SKIPPING 22:06:15 INFO: No Stack... 22:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:06:16 INFO: Archiving Costs [Pipeline] sh 22:06:16 + cat /w/workspace/foundry_device-usb-camera_PR-185/archives/cost.csv 22:06:16 + cut -d, -f6 [Pipeline] lock 22:06:16 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] 22:06:16 Resource [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] did not exist. Created. 22:06:16 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 22:06:17 Stashed 1 file(s) [Pipeline] } 22:06:17 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:06:17 $ docker stop --time=1 5d2e55f32a3bc18e2c3aebab801a66a92529e302ea7da10b4ef813bc245df5e0 22:06:18 $ docker rm -f --volumes 5d2e55f32a3bc18e2c3aebab801a66a92529e302ea7da10b4ef813bc245df5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:07:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-278 in /w/workspace/foundry_device-usb-camera_PR-185 [Pipeline] { [Pipeline] ws 22:07:21 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 22:07:21 Selected Git installation does not exist. Using Default 22:07:21 The recommended git tool is: NONE 22:07:28 using credential edgex-jenkins-ssh 22:07:28 Cloning the remote Git repository 22:07:28 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 22:07:28 > git init /w/workspace/device-usb-camera/1 # timeout=10 22:07:28 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:07:28 > git --version # timeout=10 22:07:28 > git --version # 'git version 2.25.1' 22:07:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:29 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:07:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:07:30 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:07:31 Merging remotes/origin/main commit ed547cb9b404855c4500ba28f125032074ed2dc3 into PR head commit fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a 22:07:32 Merge succeeded, producing fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a 22:07:32 Checking out Revision fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a (PR-185) 22:07:31 > git config core.sparsecheckout # timeout=10 22:07:31 > git checkout -f fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a # timeout=10 22:07:31 > git remote # timeout=10 22:07:31 > git config --get remote.origin.url # timeout=10 22:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:07:32 > git merge ed547cb9b404855c4500ba28f125032074ed2dc3 # timeout=10 22:07:32 > git rev-parse HEAD^{commit} # timeout=10 22:07:32 > git config core.sparsecheckout # timeout=10 22:07:32 > git checkout -f fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a # timeout=10 22:07:35 Commit message: "docs: add warning for main branch, link to releases" 22:07:35 > git --version # timeout=10 22:07:35 > git --version # 'git version 2.25.1' 22:07:35 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:07:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:07:37 % Total % Received % Xferd Average Speed Time Time Time Current 22:07:37 Dload Upload Total Spent Left Speed 22:07:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 22:07:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:07:38 + sudo tee /etc/docker/daemon.new 22:07:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:07:38 { 22:07:38 "registry-mirrors": [ 22:07:38 "https://nexus3.edgexfoundry.org:10001" 22:07:38 ], 22:07:38 "bip": "10.250.0.254/24", 22:07:38 "hosts": [ 22:07:38 "tcp://0.0.0.0:5555", 22:07:38 "unix:///var/run/docker.sock" 22:07:38 ], 22:07:38 "mtu": 1458, 22:07:38 "selinux-enabled": true, 22:07:38 "seccomp-profile": "/etc/docker/seccomp.json" 22:07:38 } [Pipeline] sh 22:07:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:07:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:07:57 provisioning config files... 22:07:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config12785632200767263765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:07:57 ---> docker-login.sh 22:07:57 nexus3.edgexfoundry.org:10001 22:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:58 Configure a credential helper to remove this warning. See 22:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:58 22:07:58 Login Succeeded 22:07:58 nexus3.edgexfoundry.org:10002 22:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:58 Configure a credential helper to remove this warning. See 22:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:58 22:07:58 Login Succeeded 22:07:58 nexus3.edgexfoundry.org:10003 22:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:59 Configure a credential helper to remove this warning. See 22:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:59 22:07:59 Login Succeeded 22:07:59 nexus3.edgexfoundry.org:10004 22:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:59 Configure a credential helper to remove this warning. See 22:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:59 22:07:59 Login Succeeded 22:07:59 docker.io 22:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:07:59 Configure a credential helper to remove this warning. See 22:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:07:59 22:07:59 Login Succeeded 22:07:59 ---> docker-login.sh ends [Pipeline] } 22:08:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:08:00 ========================================================= 22:08:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:08:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:08:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:08:01 Sending build context to Docker daemon 1.171MB 22:08:01 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:08:01 Step 2/13 : FROM ${BASE} AS builder 22:08:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:08:01 af6eaf76a39c: Pulling fs layer 22:08:01 55522c791124: Pulling fs layer 22:08:01 ce5c4a1c91eb: Pulling fs layer 22:08:01 169dfbe0d373: Pulling fs layer 22:08:01 e1ff8fa3b103: Pulling fs layer 22:08:01 52ebb69f0ebf: Pulling fs layer 22:08:01 5abe8eddf0d5: Pulling fs layer 22:08:01 e1ff8fa3b103: Waiting 22:08:01 52ebb69f0ebf: Waiting 22:08:01 5abe8eddf0d5: Waiting 22:08:01 169dfbe0d373: Waiting 22:08:01 55522c791124: Download complete 22:08:01 169dfbe0d373: Verifying Checksum 22:08:01 169dfbe0d373: Download complete 22:08:01 e1ff8fa3b103: Download complete 22:08:01 af6eaf76a39c: Verifying Checksum 22:08:01 af6eaf76a39c: Download complete 22:08:03 af6eaf76a39c: Pull complete 22:08:03 5abe8eddf0d5: Verifying Checksum 22:08:03 5abe8eddf0d5: Download complete 22:08:04 55522c791124: Pull complete 22:08:04 ce5c4a1c91eb: Verifying Checksum 22:08:04 ce5c4a1c91eb: Download complete 22:08:04 52ebb69f0ebf: Verifying Checksum 22:08:04 52ebb69f0ebf: Download complete 22:08:17 ce5c4a1c91eb: Pull complete 22:08:17 169dfbe0d373: Pull complete 22:08:17 e1ff8fa3b103: Pull complete 22:08:24 52ebb69f0ebf: Pull complete 22:08:25 5abe8eddf0d5: Pull complete 22:08:25 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:08:25 ---> 6cb57ee374ae 22:08:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:08:27 ---> Running in 1de26362c742 22:08:27 Removing intermediate container 1de26362c742 22:08:27 ---> 3dd23a4556cc 22:08:27 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:08:27 ---> Running in 9888ae193fbf 22:08:28 Removing intermediate container 9888ae193fbf 22:08:28 ---> a9d505339171 22:08:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:08:28 ---> Running in 31cbdc28ea52 22:08:28 Removing intermediate container 31cbdc28ea52 22:08:28 ---> 11cbfd396cf8 22:08:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:08:28 ---> Running in 701a7f90bfa4 22:08:29 Removing intermediate container 701a7f90bfa4 22:08:29 ---> fbb5fecd1e10 22:08:29 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:08:29 ---> Running in 4e5d4bc65b02 22:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:08:32 (1/14) Installing libintl (0.21.1-r1) 22:08:32 (2/14) Installing eudev-libs (3.2.11-r4) 22:08:32 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:08:32 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:08:32 (5/14) Installing v4l-utils (1.22.1-r2) 22:08:32 (6/14) Installing udev-init-scripts (35-r1) 22:08:32 (7/14) Installing libblkid (2.38.1-r1) 22:08:32 (8/14) Installing xz-libs (5.2.9-r0) 22:08:32 (9/14) Installing zstd-libs (1.5.2-r9) 22:08:32 (10/14) Installing kmod-libs (30-r1) 22:08:32 (11/14) Installing eudev (3.2.11-r4) 22:08:32 (12/14) Installing eudev-dev (3.2.11-r4) 22:08:32 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:08:32 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:08:32 Executing busybox-1.35.0-r29.trigger 22:08:32 Executing eudev-3.2.11-r4.trigger 22:08:32 OK: 271 MiB in 67 packages 22:08:34 Removing intermediate container 4e5d4bc65b02 22:08:34 ---> 66fec2b5c7b6 22:08:34 Step 8/13 : WORKDIR /device-usb-camera 22:08:34 ---> Running in 8132704392f7 22:08:34 Removing intermediate container 8132704392f7 22:08:34 ---> 96e665ded7a5 22:08:34 Step 9/13 : COPY go.mod vendor* ./ 22:08:35 ---> f1f38c5ea03c 22:08:35 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:08:35 ---> Running in c6440575b738 22:09:43 Removing intermediate container c6440575b738 22:09:43 ---> ad42a6aa9779 22:09:43 Step 11/13 : COPY . . 22:09:43 ---> 160b6d69482e 22:09:43 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:09:43 ---> Running in 9d0b61862c1b 22:09:43  % Total % Received % Xferd Average Speed Time Time Time Current 22:09:43 Dload Upload Total Spent Left Speed 22:09:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 3226 0 --:--:-- --:--:-- --:--:-- 3237 22:09:44 Removing intermediate container 9d0b61862c1b 22:09:44 ---> 861d438ac24c 22:09:44 Step 13/13 : RUN ${MAKE} 22:09:44 ---> Running in 55eaef887dd7 22:09:45 noop 22:09:45 Removing intermediate container 55eaef887dd7 22:09:45 ---> 736e6d53b5cf 22:09:45 Successfully built 736e6d53b5cf 22:09:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:46 + docker inspect -f . ci-base-image-arm64 22:09:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:46 prd-ubuntu20.04-docker-arm64-4c-16g-278 does not seem to be running inside a container 22:09:46 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:09:48 $ docker top 70ede36ad641755d774b1ac670b42d560fa0c2d0de269364f01366fedced2901 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:49 + go version 22:09:49 go version go1.20.2 linux/arm64 [Pipeline] } 22:09:49 $ docker stop --time=1 70ede36ad641755d774b1ac670b42d560fa0c2d0de269364f01366fedced2901 22:09:51 $ docker rm -f --volumes 70ede36ad641755d774b1ac670b42d560fa0c2d0de269364f01366fedced2901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:52 + docker inspect -f . ci-base-image-arm64 22:09:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:09:52 prd-ubuntu20.04-docker-arm64-4c-16g-278 does not seem to be running inside a container 22:09:52 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:09:54 $ docker top a66754a0cda3d79e89bb15e22bba6a520407bdfc826fec78081d537bd4829d92 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:54 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 22:09:55 + make test 22:09:55 go test ./... -coverprofile=coverage.out ./... 22:10:34 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:13:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:13:11 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.074s coverage: 2.0% of statements 22:13:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:13:11 go vet ./... 22:13:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:38 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:13:38 $ docker stop --time=1 a66754a0cda3d79e89bb15e22bba6a520407bdfc826fec78081d537bd4829d92 22:13:40 $ docker rm -f --volumes a66754a0cda3d79e89bb15e22bba6a520407bdfc826fec78081d537bd4829d92 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:41 Warning: overwriting stash ‘coverage-report’ 22:13:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:42 + ls -al . 22:13:42 total 184 22:13:42 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 22:09 . 22:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:07 .. 22:13:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 22:07 .git 22:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:07 .github 22:13:42 -rw-rw-r-- 1 jenkins jenkins 414 Mar 14 22:07 .gitignore 22:13:42 -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 22:07 .golangci.yml 22:13:42 -rw-rw-r-- 1 jenkins jenkins 77 Mar 14 22:07 .hadolint.yml 22:13:42 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 14 22:07 Attribution.txt 22:13:42 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 14 22:07 CHANGELOG.md 22:13:42 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 14 22:07 Dockerfile 22:13:42 -rw-rw-r-- 1 jenkins jenkins 678 Mar 14 22:07 GOVERNANCE.md 22:13:42 -rw-rw-r-- 1 jenkins jenkins 659 Mar 14 22:07 Jenkinsfile 22:13:42 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 14 22:07 LICENSE 22:13:42 -rw-rw-r-- 1 jenkins jenkins 2329 Mar 14 22:07 Makefile 22:13:42 -rw-rw-r-- 1 jenkins jenkins 622 Mar 14 22:07 OWNERS.md 22:13:42 -rw-rw-r-- 1 jenkins jenkins 5497 Mar 14 22:07 README.md 22:13:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 22:03 VERSION 22:13:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 22:07 bin 22:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:07 cmd 22:13:42 -rw-r--r-- 1 jenkins jenkins 28352 Mar 14 22:13 coverage.out 22:13:42 -rwxrwxr-x 1 jenkins jenkins 140 Mar 14 22:07 docker-entrypoint.sh 22:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:07 docs 22:13:42 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 14 22:07 go.mod 22:13:42 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 14 22:07 go.sum 22:13:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 22:07 internal 22:13:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 22:07 snap 22:13:42 -rw-rw-r-- 1 jenkins jenkins 231 Mar 14 22:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:43 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a --label arch=arm64 --label version=0.0.0 . 22:13:43 Sending build context to Docker daemon 1.2MB 22:13:43 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 22:13:43 Step 2/35 : FROM ${BASE} AS builder 22:13:43 ---> 736e6d53b5cf 22:13:43 Step 3/35 : ARG ADD_BUILD_TAGS="" 22:13:43 ---> Running in 3d15c9fede48 22:13:43 Removing intermediate container 3d15c9fede48 22:13:43 ---> 300f8e99754c 22:13:43 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:43 ---> Running in b23889d777aa 22:13:44 Removing intermediate container b23889d777aa 22:13:44 ---> 66b296efa863 22:13:44 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:13:44 ---> Running in a67e1a8596bb 22:13:44 Removing intermediate container a67e1a8596bb 22:13:44 ---> 62f28d2de268 22:13:44 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:13:44 ---> Running in 1b46a7945c0c 22:13:44 Removing intermediate container 1b46a7945c0c 22:13:44 ---> cdaad294342d 22:13:44 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:44 ---> Running in 9f258ff996d1 22:13:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:47 OK: 271 MiB in 67 packages 22:13:48 Removing intermediate container 9f258ff996d1 22:13:48 ---> a2fdf342f9d9 22:13:48 Step 8/35 : WORKDIR /device-usb-camera 22:13:48 ---> Running in 661061005c03 22:13:48 Removing intermediate container 661061005c03 22:13:48 ---> 62007f36c63f 22:13:48 Step 9/35 : COPY go.mod vendor* ./ 22:13:49 ---> 0b4f89443719 22:13:49 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:49 ---> Running in 6fc0218af63d 22:13:51 Removing intermediate container 6fc0218af63d 22:13:51 ---> d4f393b55ba0 22:13:51 Step 11/35 : COPY . . 22:13:52 ---> 77824384866b 22:13:52 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:13:53 ---> Running in 5c713108e233 22:13:54  % Total % Received % Xferd Average Speed Time Time Time Current 22:13:54 Dload Upload Total Spent Left Speed 22:13:54  0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3059 0 --:--:-- --:--:-- --:--:-- 3060 22:13:54 Removing intermediate container 5c713108e233 22:13:54 ---> f6081cdec096 22:13:54 Step 13/35 : RUN ${MAKE} 22:13:54 ---> Running in 01f3726eb7a3 22:13:55 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:16:47 Removing intermediate container 01f3726eb7a3 22:16:47 ---> 61fc221ab27e 22:16:47 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 22:16:47 v0.21.6: Pulling from aler9/rtsp-simple-server 22:16:47 8766b47fe142: Pulling fs layer 22:16:47 8766b47fe142: Verifying Checksum 22:16:47 8766b47fe142: Download complete 22:16:47 8766b47fe142: Pull complete 22:16:47 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 22:16:47 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 22:16:47 ---> 69d40e2cb93c 22:16:47 Step 15/35 : FROM alpine:3.16 22:16:47 3.16: Pulling from library/alpine 22:16:47 3760b48202b3: Pulling fs layer 22:16:47 3760b48202b3: Verifying Checksum 22:16:47 3760b48202b3: Download complete 22:16:47 3760b48202b3: Pull complete 22:16:47 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:16:47 Status: Downloaded newer image for alpine:3.16 22:16:47 ---> 4c81e5bf8899 22:16:47 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:16:47 ---> Running in 78ddc64984f9 22:16:47 Removing intermediate container 78ddc64984f9 22:16:47 ---> aac411e2e52a 22:16:47 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 22:16:47 ---> Running in 471d103770a6 22:16:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:16:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:16:47 (1/79) Installing dumb-init (1.2.5-r1) 22:16:47 (2/79) Installing sdl2 (2.0.22-r0) 22:16:47 (3/79) Installing libxau (1.0.9-r0) 22:16:47 (4/79) Installing libxdmcp (1.1.3-r0) 22:16:47 (5/79) Installing libxcb (1.15-r0) 22:16:47 (6/79) Installing libx11 (1.8-r0) 22:16:47 (7/79) Installing aom-libs (3.3.0-r0) 22:16:47 (8/79) Installing alsa-lib (1.2.7.2-r0) 22:16:47 (9/79) Installing expat (2.5.0-r0) 22:16:47 (10/79) Installing brotli-libs (1.0.9-r6) 22:16:47 (11/79) Installing libbz2 (1.0.8-r1) 22:16:47 (12/79) Installing libpng (1.6.37-r1) 22:16:47 (13/79) Installing freetype (2.12.1-r0) 22:16:47 (14/79) Installing fontconfig (2.14.0-r0) 22:16:47 (15/79) Installing fribidi (1.0.12-r0) 22:16:47 (16/79) Installing libffi (3.4.2-r1) 22:16:47 (17/79) Installing libintl (0.21-r2) 22:16:47 (18/79) Installing libblkid (2.38-r1) 22:16:47 (19/79) Installing libmount (2.38-r1) 22:16:47 (20/79) Installing pcre (8.45-r2) 22:16:47 (21/79) Installing glib (2.72.1-r0) 22:16:47 (22/79) Installing graphite2 (1.3.14-r1) 22:16:47 (23/79) Installing harfbuzz (4.3.0-r0) 22:16:47 (24/79) Installing libass (0.16.0-r0) 22:16:47 (25/79) Installing libdav1d (1.0.0-r0) 22:16:47 (26/79) Installing libdrm (2.4.110-r0) 22:16:47 (27/79) Installing gmp (6.2.1-r2) 22:16:47 (28/79) Installing nettle (3.7.3-r0) 22:16:47 (29/79) Installing p11-kit (0.24.1-r0) 22:16:47 (30/79) Installing libtasn1 (4.18.0-r1) 22:16:47 (31/79) Installing libunistring (1.0-r0) 22:16:47 (32/79) Installing gnutls (3.7.7-r1) 22:16:47 (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) 22:16:47 (34/79) Installing ncurses-libs (6.3_p20220521-r0) 22:16:47 (35/79) Installing lame (3.100-r0) 22:16:47 (36/79) Installing opus (1.3.1-r1) 22:16:47 (37/79) Installing libasyncns (0.8-r1) 22:16:47 (38/79) Installing dbus-libs (1.14.4-r0) 22:16:47 (39/79) Installing libltdl (2.4.7-r0) 22:16:47 (40/79) Installing orc (0.4.32-r0) 22:16:47 (41/79) Installing libgcc (11.2.1_git20220219-r2) 22:16:47 (42/79) Installing libogg (1.3.5-r1) 22:16:47 (43/79) Installing libstdc++ (11.2.1_git20220219-r2) 22:16:47 (44/79) Installing flac (1.3.4-r0) 22:16:47 (45/79) Installing libvorbis (1.3.7-r0) 22:16:47 (46/79) Installing libsndfile (1.1.0-r0) 22:16:47 (47/79) Installing libgomp (11.2.1_git20220219-r2) 22:16:47 (48/79) Installing soxr (0.1.3-r2) 22:16:47 (49/79) Installing speexdsp (1.2.0-r0) 22:16:47 (50/79) Installing tdb-libs (1.4.6-r0) 22:16:47 (51/79) Installing libpulse (15.0-r2) 22:16:47 (52/79) Installing cjson (1.7.15-r3) 22:16:47 (53/79) Installing mbedtls (2.28.2-r0) 22:16:47 (54/79) Installing librist (0.2.6-r1) 22:16:47 (55/79) Installing libsrt (1.4.4-r0) 22:16:47 (56/79) Installing libssh (0.9.6-r1) 22:16:47 (57/79) Installing libtheora (1.1.1-r16) 22:16:47 (58/79) Installing libjpeg-turbo (2.1.3-r1) 22:16:47 (59/79) Installing v4l-utils-libs (1.22.1-r1) 22:16:47 (60/79) Installing libxext (1.3.4-r0) 22:16:47 (61/79) Installing libxfixes (6.0.0-r0) 22:16:47 (62/79) Installing wayland-libs-client (1.20.0-r0) 22:16:47 (63/79) Installing libva (2.14.0-r0) 22:16:47 (64/79) Installing libvdpau (1.5-r0) 22:16:47 (65/79) Installing vidstab (1.1.0-r1) 22:16:47 (66/79) Installing libvpx (1.11.0-r1) 22:16:47 (67/79) Installing libwebp (1.2.3-r0) 22:16:47 (68/79) Installing x264-libs (0.163_git20210613-r0) 22:16:47 (69/79) Installing numactl (2.0.14-r0) 22:16:47 (70/79) Installing x265-libs (3.5-r3) 22:16:47 (71/79) Installing xvidcore (1.3.7-r1) 22:16:47 (72/79) Installing ffmpeg-libs (5.0.1-r1) 22:16:47 (73/79) Installing ffmpeg (5.0.1-r1) 22:16:47 (74/79) Installing udev-init-scripts (35-r0) 22:16:47 Executing udev-init-scripts-35-r0.post-install 22:16:47 (75/79) Installing eudev-libs (3.2.11-r0) 22:16:47 (76/79) Installing xz-libs (5.2.5-r1) 22:16:47 (77/79) Installing zstd-libs (1.5.2-r1) 22:16:47 (78/79) Installing kmod-libs (29-r2) 22:16:47 (79/79) Installing eudev (3.2.11-r0) 22:16:47 Executing busybox-1.35.0-r17.trigger 22:16:47 Executing eudev-3.2.11-r0.trigger 22:16:47 OK: 77 MiB in 93 packages 22:16:47 Removing intermediate container 471d103770a6 22:16:47 ---> d066ad49f16c 22:16:47 Step 18/35 : WORKDIR / 22:16:47 ---> Running in 911d2d9e9d7d 22:16:47 Removing intermediate container 911d2d9e9d7d 22:16:47 ---> a349d372a556 22:16:47 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 22:16:49 ---> 964703839bf4 22:16:49 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 22:16:49 ---> ae8bff9c71bb 22:16:49 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 22:16:50 ---> 6088c6aba42a 22:16:50 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 22:16:50 ---> e80aea4480ff 22:16:50 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 22:16:51 ---> 610dcefb99d4 22:16:51 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 22:16:51 ---> b691712b4e5c 22:16:51 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 22:16:53 ---> 44f0804ece4c 22:16:53 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 22:16:53 ---> Running in 02836288247d 22:16:55 Removing intermediate container 02836288247d 22:16:55 ---> 362e4c60c14c 22:16:55 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 22:16:55 ---> Running in c3f6ffbb443d 22:17:00 Removing intermediate container c3f6ffbb443d 22:17:00 ---> 3bce251a059a 22:17:00 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 22:17:00 ---> Running in 151eddab9355 22:17:02 Removing intermediate container 151eddab9355 22:17:02 ---> 59fee14f2965 22:17:02 Step 29/35 : EXPOSE 59983 22:17:02 ---> Running in d909080fef6f 22:17:02 Removing intermediate container d909080fef6f 22:17:02 ---> d3f3167f27bd 22:17:02 Step 30/35 : EXPOSE 8554 22:17:02 ---> Running in 96b05f884d1e 22:17:02 Removing intermediate container 96b05f884d1e 22:17:02 ---> c209a6dfcc02 22:17:02 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 22:17:02 ---> Running in 906f914d517c 22:17:03 Removing intermediate container 906f914d517c 22:17:03 ---> 82938f743ade 22:17:03 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 22:17:03 ---> Running in c1cc97267914 22:17:03 Removing intermediate container c1cc97267914 22:17:03 ---> 7f75cb24d110 22:17:03 Step 33/35 : LABEL arch=arm64 22:17:03 ---> Running in 4bc611fc4016 22:17:03 Removing intermediate container 4bc611fc4016 22:17:03 ---> bf3739df8af7 22:17:03 Step 34/35 : LABEL git_sha=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a 22:17:03 ---> Running in b7ddf3945c74 22:17:04 Removing intermediate container b7ddf3945c74 22:17:04 ---> d2217a0460f5 22:17:04 Step 35/35 : LABEL version=0.0.0 22:17:04 ---> Running in f3c46893a55a 22:17:04 Removing intermediate container f3c46893a55a 22:17:04 ---> 164742b9cdce 22:17:04 [Warning] One or more build-args [ARCH] were not consumed 22:17:04 Successfully built 164742b9cdce 22:17:04 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:05 22:17:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:06 arm64: Pulling from edgex-lftools-log-publisher 22:17:06 8998bd30e6a1: Pulling fs layer 22:17:06 04944245beec: Pulling fs layer 22:17:06 699f458cf7ca: Pulling fs layer 22:17:06 765212b225bb: Pulling fs layer 22:17:06 f23df028b6ca: Pulling fs layer 22:17:06 765212b225bb: Waiting 22:17:06 d65c8cfc05b1: Pulling fs layer 22:17:06 2437ff75d9bd: Pulling fs layer 22:17:06 f23df028b6ca: Waiting 22:17:06 d65c8cfc05b1: Waiting 22:17:06 2437ff75d9bd: Waiting 22:17:06 04944245beec: Verifying Checksum 22:17:06 04944245beec: Download complete 22:17:06 765212b225bb: Verifying Checksum 22:17:06 765212b225bb: Download complete 22:17:06 f23df028b6ca: Verifying Checksum 22:17:06 f23df028b6ca: Download complete 22:17:06 d65c8cfc05b1: Verifying Checksum 22:17:06 d65c8cfc05b1: Download complete 22:17:06 699f458cf7ca: Verifying Checksum 22:17:06 699f458cf7ca: Download complete 22:17:06 8998bd30e6a1: Verifying Checksum 22:17:06 8998bd30e6a1: Download complete 22:17:09 2437ff75d9bd: Verifying Checksum 22:17:09 2437ff75d9bd: Download complete 22:17:11 8998bd30e6a1: Pull complete 22:17:13 04944245beec: Pull complete 22:17:14 699f458cf7ca: Pull complete 22:17:14 765212b225bb: Pull complete 22:17:15 f23df028b6ca: Pull complete 22:17:15 d65c8cfc05b1: Pull complete 22:17:30 2437ff75d9bd: Pull complete 22:17:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:17:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:31 prd-ubuntu20.04-docker-arm64-4c-16g-278 does not seem to be running inside a container 22:17:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:17:33 $ docker top 003d395af76822738164945d5f7103aa148eb3ee162c726da46aca7732ebb844 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:34 ---> job-cost.sh 22:17:34 lf-activate-venv: SKIPPING 22:17:34 INFO: No Stack... 22:17:35 INFO: Retrieving Pricing Info for: v3-standard-4 22:17:36 INFO: Archiving Costs [Pipeline] sh 22:17:36 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 22:17:36 + cut -d, -f6 [Pipeline] lock 22:17:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] 22:17:36 Resource [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] did not exist. Created. 22:17:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:17:37 /w/workspace/device-usb-camera/1@tmp/durable-b381fb1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:17:37 + echo total: 0.10999999940395355 [Pipeline] stash 22:17:37 Warning: overwriting stash ‘stack-cost’ 22:17:37 Stashed 1 file(s) [Pipeline] } 22:17:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-185-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:17:37 $ docker stop --time=1 003d395af76822738164945d5f7103aa148eb3ee162c726da46aca7732ebb844 22:17:39 $ docker rm -f --volumes 003d395af76822738164945d5f7103aa148eb3ee162c726da46aca7732ebb844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:17:40 provisioning config files... 22:17:40 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-185@tmp/config3972097038569045492tmp [Pipeline] { [Pipeline] sh 22:17:40 + set +x 22:17:40 + bash -s -- 22:17:40 + curl -s https://codecov.io/bash 22:17:40 22:17:40 _____ _ 22:17:40 / ____| | | 22:17:40 | | ___ __| | ___ ___ _____ __ 22:17:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:17:40 | |___| (_) | (_| | __/ (_| (_) \ V / 22:17:40 \_____\___/ \__,_|\___|\___\___/ \_/ 22:17:40 Bash-1.0.6 22:17:40 22:17:40 22:17:40 ==> git version 2.25.1 found 22:17:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:17:40 Release-Date: 2020-01-08 22:17:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:17:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:17:40 ==> Jenkins CI detected. 22:17:40 current dir:  /w/workspace/foundry_device-usb-camera_PR-185 22:17:40 project root: . 22:17:40 --> token set from env 22:17:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:17:40 ==> Running gcov in . (disable via -X gcov) 22:17:40 ==> Python coveragepy not found 22:17:40 ==> Searching for coverage reports in: 22:17:40 + . 22:17:40 -> Found 1 reports 22:17:40 ==> Detecting git/mercurial file structure 22:17:40 ==> Reading reports 22:17:40 + ./coverage.out bytes=28352 22:17:40 ==> Appending adjustments 22:17:40 https://docs.codecov.io/docs/fixing-reports 22:17:40 + Found adjustments 22:17:40 ==> Gzipping contents 22:17:40 4.0K /tmp/codecov.0i4Ubu.gz 22:17:40 ==> Uploading reports 22:17:40 url: https://codecov.io 22:17:40 query: branch=PR-185&commit=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=185&job=&cmd_args= 22:17:40 -> Pinging Codecov 22:17:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-185&commit=fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=185&job=&cmd_args= 22:17:41 -> Uploading to 22:17:41 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/73D8F5FF140700D3E01443B452E23636/fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a/30f93a93-2f82-4e9c-9846-3add4077a150.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T221741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9c632dfbbb7ee8f382db4512774fce5884d3429822e9f50835a05180de65838 22:17:41 % Total % Received % Xferd Average Speed Time Time Time Current 22:17:41 Dload Upload Total Spent Left Speed 22:17:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 17733 --:--:-- --:--:-- --:--:-- 17653 100 3919 0 0 100 3919 0 15738 --:--:-- --:--:-- --:--:-- 15676 22:17:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/fa8e1b6781dda5090e6b2fffd8c2914ce9f79e7a [Pipeline] } 22:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:17:43 + [ -d /w/workspace/foundry_device-usb-camera_PR-185/archives ] 22:17:43 + ls -al /w/workspace/foundry_device-usb-camera_PR-185/archives 22:17:43 total 16 22:17:43 drwxr-xr-x 3 root root 4096 Mar 14 22:06 . 22:17:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 22:06 .. 22:17:43 drwxr-xr-x 2 root root 4096 Mar 14 22:06 cost 22:17:43 -rw-r--r-- 1 root root 89 Mar 14 22:06 cost.csv 22:17:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-185/archives 22:17:43 + ls -al /w/workspace/foundry_device-usb-camera_PR-185/archives 22:17:43 total 16 22:17:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 22:06 . 22:17:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 22:06 .. 22:17:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 22:06 cost 22:17:43 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 22:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:17:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:17:44 ---> package-listing.sh 22:17:44 ++ facter osfamily 22:17:44 ++ tr '[:upper:]' '[:lower:]' 22:17:44 + OS_FAMILY=debian 22:17:44 + workspace=/w/workspace/foundry_device-usb-camera_PR-185 22:17:44 + START_PACKAGES=/tmp/packages_start.txt 22:17:44 + END_PACKAGES=/tmp/packages_end.txt 22:17:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:17:44 + PACKAGES=/tmp/packages_start.txt 22:17:44 + '[' /w/workspace/foundry_device-usb-camera_PR-185 ']' 22:17:44 + PACKAGES=/tmp/packages_end.txt 22:17:44 + case "${OS_FAMILY}" in 22:17:44 + dpkg -l 22:17:44 + grep '^ii' 22:17:44 + '[' -f /tmp/packages_start.txt ']' 22:17:44 + '[' -f /tmp/packages_end.txt ']' 22:17:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:17:44 + '[' /w/workspace/foundry_device-usb-camera_PR-185 ']' 22:17:44 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-185/archives/ 22:17:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-185/archives/ [Pipeline] echo 22:17:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:17:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:17:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:45 prd-ubuntu20.04-docker-8c-8g-276 does not seem to be running inside a container 22:17:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-185/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-185 -v /w/workspace/foundry_device-usb-camera_PR-185:/w/workspace/foundry_device-usb-camera_PR-185:rw,z -v /w/workspace/foundry_device-usb-camera_PR-185@tmp:/w/workspace/foundry_device-usb-camera_PR-185@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:17:46 $ docker top 153933f33b5823cfffcd6efaf786aaf546a091784199daea63a5fe3fb0ccecd9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:46 + touch /tmp/pre-build-complete [Pipeline] sh 22:17:46 + mkdir -p /var/log/sysstat [Pipeline] sh 22:17:47 + ls /var/log/sa-host 22:17:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:47 provisioning config files... 22:17:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-185@tmp/config9442199067595752634tmp [Pipeline] { [Pipeline] echo 22:17:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:17:47 ---> create-netrc.sh [Pipeline] } 22:17:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:17:47 ---> python-tools-install.sh [Pipeline] echo 22:17:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:17:48 ---> sudo-logs.sh 22:17:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:17:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:17:48 ---> job-cost.sh 22:17:48 lf-activate-venv: SKIPPING 22:17:48 DEBUG: total: 0.2199999988079071 22:17:48 INFO: Retrieving Stack Cost... 22:17:48 INFO: Retrieving Pricing Info for: v3-standard-8 22:17:49 INFO: Archiving Costs [Pipeline] echo 22:17:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:17:49 ---> logs-deploy.sh 22:17:49 lf-activate-venv: SKIPPING 22:17:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-185/1 22:17:49 INFO: archiving workspace using pattern(s): 22:17:50 Archives upload complete. 22:17:50 INFO: archiving logs to Nexus