Pull request #279 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 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff rather than b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Obtained Jenkinsfile from 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff 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-ssh1279842637876130448.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11468731107024850741.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-279/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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17645072008615129997.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-279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14444282133625956113.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7526162217019200518.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-279/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-279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6094112062917124414.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5074 in /w/workspace/foundry_device-usb-camera_PR-279 [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-279 # 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/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff into PR head commit b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Merge succeeded, producing b4f076200ad522f26ded58b02d7fbcdf9e9be4eb Checking out Revision b4f076200ad522f26ded58b02d7fbcdf9e9be4eb (PR-279) > git config core.sparsecheckout # timeout=10 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # 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 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 Commit message: "fix: rtsp auth server router not initialized properly" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:03:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:03:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:03:33 ========================================================= 01:03:33 EdgeX Global Pipelines Version Info 01:03:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:03:34 ------------------- 01:03:34 stable info: 01:03:34 ------------------- 01:03:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:03:34 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:03:34 Message: update stable to v1.0.253 01:03:34 ------------------- 01:03:34 experimental info: 01:03:34 ------------------- 01:03:34 Commited By: **** collab-it+edgex@linuxfoundation.org 01:03:34 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 01:03:34 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:03:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-279 [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-279 [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-279 [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4f0762 [Pipeline] echo 01:03:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:36 provisioning config files... 01:03:36 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config17224679491900521329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:36 ---> docker-login.sh 01:03:36 nexus3.edgexfoundry.org:10001 01:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:37 Configure a credential helper to remove this warning. See 01:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:37 01:03:37 Login Succeeded 01:03:37 nexus3.edgexfoundry.org:10002 01:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:37 Configure a credential helper to remove this warning. See 01:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:37 01:03:37 Login Succeeded 01:03:37 nexus3.edgexfoundry.org:10003 01:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:37 Configure a credential helper to remove this warning. See 01:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:37 01:03:37 Login Succeeded 01:03:37 nexus3.edgexfoundry.org:10004 01:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:37 Configure a credential helper to remove this warning. See 01:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:37 01:03:37 Login Succeeded 01:03:37 docker.io 01:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:38 Configure a credential helper to remove this warning. See 01:03:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:38 01:03:38 Login Succeeded 01:03:38 ---> docker-login.sh ends [Pipeline] } 01:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:03:38 + git rev-list -1 --merges b4f076200ad522f26ded58b02d7fbcdf9e9be4eb~1..b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo 01:03:38 -----------> git rev-list -1 --merges b4f076200ad522f26ded58b02d7fbcdf9e9be4eb~1..b4f076200ad522f26ded58b02d7fbcdf9e9be4eb b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [false] [Pipeline] sh 01:03:39 + git log --format=format:%s -1 b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo 01:03:39 ========================================================= 01:03:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:03:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:39 + git log --format=format:%s -1 b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] echo 01:03:39 [semverPrep] GIT_COMMIT: b4f076200ad522f26ded58b02d7fbcdf9e9be4eb, Commit Message: fix: rtsp auth server router not initialized properly [Pipeline] echo 01:03:39 [semverPrep] This is not a build commit. [Pipeline] sh 01:03:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:03:39 + grep -v github /etc/ssh/ssh_known_hosts 01:03:39 + [ -e /tmp/ssh_known_hosts ] 01:03:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:03:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:03:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:03:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:03:40 01:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:03:40 0.1.4: Pulling from edgex-devops/py-git-semver 01:03:40 b85a868b505f: Pulling fs layer 01:03:40 e2be974225ed: Pulling fs layer 01:03:40 339a4e72a1f5: Pulling fs layer 01:03:40 988bab9f4d93: Pulling fs layer 01:03:40 1469e6f7b9e6: Pulling fs layer 01:03:40 eaf3925da568: Pulling fs layer 01:03:40 bab4dde63d76: Pulling fs layer 01:03:40 bde34c3a00c8: Pulling fs layer 01:03:40 b352a97aabf1: Pulling fs layer 01:03:40 4872d77fe225: Pulling fs layer 01:03:40 5851b861e8e6: Pulling fs layer 01:03:40 eaf3925da568: Waiting 01:03:40 988bab9f4d93: Waiting 01:03:40 bab4dde63d76: Waiting 01:03:40 1469e6f7b9e6: Waiting 01:03:40 4872d77fe225: Waiting 01:03:40 5851b861e8e6: Waiting 01:03:40 b352a97aabf1: Waiting 01:03:40 bde34c3a00c8: Waiting 01:03:40 e2be974225ed: Download complete 01:03:40 988bab9f4d93: Verifying Checksum 01:03:40 988bab9f4d93: Download complete 01:03:40 1469e6f7b9e6: Verifying Checksum 01:03:40 1469e6f7b9e6: Download complete 01:03:40 eaf3925da568: Verifying Checksum 01:03:40 eaf3925da568: Download complete 01:03:41 339a4e72a1f5: Verifying Checksum 01:03:41 339a4e72a1f5: Download complete 01:03:41 bde34c3a00c8: Download complete 01:03:41 b352a97aabf1: Download complete 01:03:41 4872d77fe225: Download complete 01:03:41 5851b861e8e6: Verifying Checksum 01:03:41 5851b861e8e6: Download complete 01:03:41 b85a868b505f: Verifying Checksum 01:03:41 b85a868b505f: Download complete 01:03:41 bab4dde63d76: Verifying Checksum 01:03:41 bab4dde63d76: Download complete 01:03:42 b85a868b505f: Pull complete 01:03:42 e2be974225ed: Pull complete 01:03:43 339a4e72a1f5: Pull complete 01:03:43 988bab9f4d93: Pull complete 01:03:43 1469e6f7b9e6: Pull complete 01:03:43 eaf3925da568: Pull complete 01:03:45 bab4dde63d76: Pull complete 01:03:45 bde34c3a00c8: Pull complete 01:03:45 b352a97aabf1: Pull complete 01:03:45 4872d77fe225: Pull complete 01:03:45 5851b861e8e6: Pull complete 01:03:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:03:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:45 prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container 01:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 01:03:49 $ docker top ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 -eo pid,comm 01:03:49 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). 01:03:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:49 [ssh-agent] Looking for ssh-agent implementation... 01:03:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:49 $ docker exec ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent 01:03:49 SSH_AUTH_SOCK=/tmp/ssh-xDMe5lfC6F2n/agent.33 01:03:49 SSH_AGENT_PID=40 01:03:49 Running ssh-add (command line suppressed) 01:03:49 Identity added: /w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_17228351436310673877.key (/w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_17228351436310673877.key) 01:03:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:49 + git tag --points-at HEAD [Pipeline] } 01:03:50 $ docker exec --env ******** --env ******** ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent -k 01:03:50 unset SSH_AUTH_SOCK; 01:03:50 unset SSH_AGENT_PID; 01:03:50 echo Agent pid 40 killed; 01:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:03:50 [ssh-agent] Looking for ssh-agent implementation... 01:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:03:50 $ docker exec ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent 01:03:50 SSH_AUTH_SOCK=/tmp/ssh-LuojYenQGE7N/agent.72 01:03:50 SSH_AGENT_PID=78 01:03:50 Running ssh-add (command line suppressed) 01:03:50 Identity added: /w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_11508412040572007714.key (/w/workspace/foundry_device-usb-camera_PR-279@tmp/private_key_11508412040572007714.key) 01:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:03:50 + git semver init 01:03:51 2023-09-01 01:03:51,132 [run_init] DEBUG init version:0.0.0 force:False 01:03:51 2023-09-01 01:03:51,133 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-279/.semver 01:03:51 2023-09-01 01:03:51,133 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-279/.semver 01:03:51 2023-09-01 01:03:51,134 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-279/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-279, universal_newlines=False, shell=None, istream=None) 01:03:52 2023-09-01 01:03:51,816 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-279/.git/info/exclude 01:03:52 2023-09-01 01:03:51,817 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 with force:False 01:03:52 2023-09-01 01:03:51,817 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 01:03:52 2023-09-01 01:03:51,822 [execute] INFO git cat-file --batch-check 01:03:52 2023-09-01 01:03:51,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) 01:03:52 2023-09-01 01:03:51,828 [execute] INFO git cat-file --batch 01:03:52 2023-09-01 01:03:51,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-279/.semver, universal_newlines=False, shell=None, istream=) 01:03:52 2023-09-01 01:03:51,834 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-279/.semver/PR-279 01:03:52 0.0.0 [Pipeline] } 01:03:52 $ docker exec --env ******** --env ******** ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 ssh-agent -k 01:03:52 unset SSH_AUTH_SOCK; 01:03:52 unset SSH_AGENT_PID; 01:03:52 echo Agent pid 78 killed; 01:03:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:03:52 + git semver [Pipeline] } 01:03:52 $ docker stop --time=1 ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 01:03:54 $ docker rm -f --volumes ebc44b2008b517c091a8582d9890f3a01aab8ba916d44a8e40db6937369fe200 [Pipeline] // withDockerContainer [Pipeline] sh 01:03:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:03:55 Stashed 1 file(s) [Pipeline] echo 01:03:55 [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 01:03:55 provisioning config files... 01:03:55 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config10621695125550060845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:56 ---> docker-login.sh 01:03:56 nexus3.edgexfoundry.org:10001 01:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:56 Configure a credential helper to remove this warning. See 01:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:56 01:03:56 Login Succeeded 01:03:56 nexus3.edgexfoundry.org:10002 01:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:56 Configure a credential helper to remove this warning. See 01:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:56 01:03:56 Login Succeeded 01:03:56 nexus3.edgexfoundry.org:10003 01:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:56 Configure a credential helper to remove this warning. See 01:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:56 01:03:56 Login Succeeded 01:03:56 nexus3.edgexfoundry.org:10004 01:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:56 Configure a credential helper to remove this warning. See 01:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:56 01:03:56 Login Succeeded 01:03:56 docker.io 01:03:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:56 Configure a credential helper to remove this warning. See 01:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:56 01:03:56 Login Succeeded 01:03:56 ---> docker-login.sh ends [Pipeline] } 01:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:03:57 ========================================================= 01:03:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:03:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:57 + 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 . 01:03:57 Sending build context to Docker daemon 2.17MB 01:03:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:03:57 Step 2/13 : FROM ${BASE} AS builder 01:03:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:03:57 4db1b89c0bd1: Pulling fs layer 01:03:57 6911f1a30b25: Pulling fs layer 01:03:57 e194b8c5c2a9: Pulling fs layer 01:03:57 6863d3e3a2b1: Pulling fs layer 01:03:57 ec0bb842ea78: Pulling fs layer 01:03:57 40a00589a448: Pulling fs layer 01:03:57 6c08303d61cc: Pulling fs layer 01:03:57 798269fcf238: Pulling fs layer 01:03:57 ec0bb842ea78: Waiting 01:03:57 40a00589a448: Waiting 01:03:57 6c08303d61cc: Waiting 01:03:57 798269fcf238: Waiting 01:03:57 6863d3e3a2b1: Waiting 01:03:57 6911f1a30b25: Download complete 01:03:57 6863d3e3a2b1: Verifying Checksum 01:03:57 6863d3e3a2b1: Download complete 01:03:57 ec0bb842ea78: Verifying Checksum 01:03:57 ec0bb842ea78: Download complete 01:03:57 4db1b89c0bd1: Verifying Checksum 01:03:57 4db1b89c0bd1: Download complete 01:03:58 40a00589a448: Verifying Checksum 01:03:58 40a00589a448: Download complete 01:03:58 4db1b89c0bd1: Pull complete 01:03:58 6911f1a30b25: Pull complete 01:03:58 798269fcf238: Verifying Checksum 01:03:58 798269fcf238: Download complete 01:03:58 e194b8c5c2a9: Verifying Checksum 01:03:58 e194b8c5c2a9: Download complete 01:03:58 6c08303d61cc: Verifying Checksum 01:03:58 6c08303d61cc: Download complete 01:04:02 e194b8c5c2a9: Pull complete 01:04:02 6863d3e3a2b1: Pull complete 01:04:02 ec0bb842ea78: Pull complete 01:04:02 40a00589a448: Pull complete 01:04:04 6c08303d61cc: Pull complete 01:04:05 798269fcf238: Pull complete 01:04:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 01:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:04:05 ---> ec979cd7f677 01:04:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:04:10 Still waiting to schedule task 01:04:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:04:14 ---> Running in 504fd40c3415 01:04:14 Removing intermediate container 504fd40c3415 01:04:14 ---> 62b7d36aeef1 01:04:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:14 ---> Running in f4ebb7b907a2 01:04:14 Removing intermediate container f4ebb7b907a2 01:04:14 ---> 46b36cd34917 01:04:14 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:04:14 ---> Running in d8f7a6a1fa86 01:04:14 Removing intermediate container d8f7a6a1fa86 01:04:14 ---> 6159dc407cff 01:04:14 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:04:14 ---> Running in 8be365db0564 01:04:14 Removing intermediate container 8be365db0564 01:04:14 ---> 8b0dc0e4e86a 01:04:14 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:14 ---> Running in 8cd77cd32a5d 01:04:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:14 (1/14) Installing libintl (0.21.1-r1) 01:04:14 (2/14) Installing eudev-libs (3.2.11-r4) 01:04:14 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:04:14 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:04:14 (5/14) Installing v4l-utils (1.22.1-r2) 01:04:14 (6/14) Installing udev-init-scripts (35-r1) 01:04:14 (7/14) Installing libblkid (2.38.1-r1) 01:04:14 (8/14) Installing xz-libs (5.2.9-r0) 01:04:14 (9/14) Installing zstd-libs (1.5.5-r0) 01:04:14 (10/14) Installing kmod-libs (30-r1) 01:04:14 (11/14) Installing eudev (3.2.11-r4) 01:04:14 (12/14) Installing eudev-dev (3.2.11-r4) 01:04:14 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:04:14 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:04:14 Executing busybox-1.35.0-r29.trigger 01:04:14 Executing eudev-3.2.11-r4.trigger 01:04:14 OK: 272 MiB in 67 packages 01:04:14 Removing intermediate container 8cd77cd32a5d 01:04:14 ---> d2a9548b96b3 01:04:14 Step 8/13 : WORKDIR /device-usb-camera 01:04:14 ---> Running in e97dcb0d891b 01:04:14 Removing intermediate container e97dcb0d891b 01:04:14 ---> c42166e051d7 01:04:14 Step 9/13 : COPY go.mod vendor* ./ 01:04:14 ---> ea5b2d1d15b4 01:04:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:14 ---> Running in 3794ff39ed5d 01:05:01 Removing intermediate container 3794ff39ed5d 01:05:01 ---> 58d48c9b96bc 01:05:01 Step 11/13 : COPY . . 01:05:01 ---> 7932112e0e8c 01:05:01 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:05:01 ---> Running in 91d2713af9f5 01:05:01  % Total % Received % Xferd Average Speed Time Time Time Current 01:05:01 Dload Upload Total Spent Left Speed 01:05:01 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3645 0 --:--:-- --:--:-- --:--:-- 3653 01:05:01 Removing intermediate container 91d2713af9f5 01:05:01 ---> 83f8aa19e899 01:05:01 Step 13/13 : RUN ${MAKE} 01:05:01 ---> Running in 08d3e4ce7359 01:05:01 noop 01:05:01 Removing intermediate container 08d3e4ce7359 01:05:01 ---> 2acbf191f06c 01:05:01 Successfully built 2acbf191f06c 01:05:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:02 + docker inspect -f . ci-base-image-x86_64 01:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:02 prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container 01:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 01:05:02 $ docker top 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:03 + go version 01:05:03 go version go1.20.6 linux/amd64 [Pipeline] } 01:05:03 $ docker stop --time=1 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 01:05:04 $ docker rm -f --volumes 32db8a767eed1bd83c4146b37a6094e1d6d36c74817ac5c6102871c82dcd5806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:05 + docker inspect -f . ci-base-image-x86_64 01:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:05 prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container 01:05:05 $ 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-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 01:05:05 $ docker top 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:06 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-279 [Pipeline] fileExists [Pipeline] sh 01:05:06 + make test 01:05:06 go test ./... -coverprofile=coverage.out ./... 01:05:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:05:24 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:05:24 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.4% of statements 01:05:32 go vet ./... 01:05:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:35 $ docker stop --time=1 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 01:05:39 $ docker rm -f --volumes 978dbea866c60d4fc7ad6d09131e668ede2ec73df8894ae097e4413637cb74d4 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:05:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:40 + ls -al . 01:05:40 total 220 01:05:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 1 01:05 . 01:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:03 .. 01:05:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:03 .git 01:05:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 .github 01:05:40 -rw-rw-r-- 1 jenkins jenkins 468 Sep 1 01:03 .gitignore 01:05:40 -rw-rw-r-- 1 jenkins jenkins 45 Sep 1 01:03 .golangci.yml 01:05:40 -rw-rw-r-- 1 jenkins jenkins 77 Sep 1 01:03 .hadolint.yml 01:05:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 01:03 .semver 01:05:40 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 1 01:03 Attribution.txt 01:05:40 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 1 01:03 CHANGELOG.md 01:05:40 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 1 01:03 Dockerfile 01:05:40 -rw-rw-r-- 1 jenkins jenkins 678 Sep 1 01:03 GOVERNANCE.md 01:05:40 -rw-rw-r-- 1 jenkins jenkins 659 Sep 1 01:03 Jenkinsfile 01:05:40 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 01:03 LICENSE 01:05:40 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 1 01:03 Makefile 01:05:40 -rw-rw-r-- 1 jenkins jenkins 622 Sep 1 01:03 OWNERS.md 01:05:40 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 1 01:03 README.md 01:05:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:03 VERSION 01:05:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:03 bin 01:05:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 cmd 01:05:40 -rw-r--r-- 1 jenkins jenkins 53856 Sep 1 01:05 coverage.out 01:05:40 -rwxrwxr-x 1 jenkins jenkins 140 Sep 1 01:03 docker-entrypoint.sh 01:05:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:03 docs 01:05:40 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 1 01:03 go.mod 01:05:40 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 1 01:03 go.sum 01:05:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:03 internal 01:05:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:03 snap 01:05:40 -rw-rw-r-- 1 jenkins jenkins 231 Sep 1 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:41 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb --label arch=amd64 --label version=0.0.0 . 01:05:41 Sending build context to Docker daemon 2.225MB 01:05:41 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 01:05:41 Step 2/36 : FROM ${BASE} AS builder 01:05:41 ---> 2acbf191f06c 01:05:41 Step 3/36 : ARG ADD_BUILD_TAGS="" 01:05:41 ---> Running in f9a403d13979 01:05:41 Removing intermediate container f9a403d13979 01:05:41 ---> f491934cd123 01:05:41 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:41 ---> Running in c73259eeb3a0 01:05:41 Removing intermediate container c73259eeb3a0 01:05:41 ---> 2da013dadea2 01:05:41 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:05:41 ---> Running in 08883ee7c467 01:05:41 Removing intermediate container 08883ee7c467 01:05:41 ---> 82b720f7ccea 01:05:41 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:05:41 ---> Running in 29b2515d0317 01:05:41 Removing intermediate container 29b2515d0317 01:05:41 ---> 2a69414522df 01:05:41 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:41 ---> Running in aa9028feac43 01:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:05:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:05:42 OK: 272 MiB in 67 packages 01:05:42 Removing intermediate container aa9028feac43 01:05:42 ---> 250a954d3d06 01:05:42 Step 8/36 : WORKDIR /device-usb-camera 01:05:42 ---> Running in 2424e3bdf636 01:05:42 Removing intermediate container 2424e3bdf636 01:05:42 ---> 091a11ac3db4 01:05:42 Step 9/36 : COPY go.mod vendor* ./ 01:05:43 ---> e44a5254687e 01:05:43 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:43 ---> Running in e7fe5e12cabf 01:05:44 Removing intermediate container e7fe5e12cabf 01:05:44 ---> 02e8efa04b48 01:05:44 Step 11/36 : COPY . . 01:05:44 ---> 37dd1c86e4e2 01:05:44 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:05:44 ---> Running in 4b7f69748562 01:05:44  % Total % Received % Xferd Average Speed Time Time Time Current 01:05:44 Dload Upload Total Spent Left Speed 01:05:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 23372 0 --:--:-- --:--:-- --:--:-- 23641 01:05:44 Removing intermediate container 4b7f69748562 01:05:44 ---> 1fee4078fb8f 01:05:44 Step 13/36 : RUN ${MAKE} 01:05:44 ---> Running in e3ab72ef8f91 01:05:45 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:06:12 Removing intermediate container e3ab72ef8f91 01:06:12 ---> 1834d099e47a 01:06:12 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:06:12 v0.21.6: Pulling from aler9/rtsp-simple-server 01:06:12 4acc49c71d14: Pulling fs layer 01:06:12 4acc49c71d14: Verifying Checksum 01:06:12 4acc49c71d14: Download complete 01:06:12 4acc49c71d14: Pull complete 01:06:12 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:06:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:06:12 ---> 01a2bd3e5fff 01:06:12 Step 15/36 : FROM alpine:3.17 01:06:12 3.17: Pulling from library/alpine 01:06:12 9398808236ff: Pulling fs layer 01:06:12 9398808236ff: Verifying Checksum 01:06:12 9398808236ff: Download complete 01:06:12 9398808236ff: Pull complete 01:06:12 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:06:12 Status: Downloaded newer image for alpine:3.17 01:06:12 ---> 1e0b8b5322fc 01:06:12 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:06:12 ---> Running in e04500b489b4 01:06:12 Removing intermediate container e04500b489b4 01:06:12 ---> 2e5e40090001 01:06:12 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:06:12 ---> Running in 18da43ad38be 01:06:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:06:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:06:12 (1/86) Installing dumb-init (1.2.5-r2) 01:06:12 (2/86) Installing sdl2 (2.26.5-r0) 01:06:12 (3/86) Installing svt-av1-libs (1.3.0-r0) 01:06:12 (4/86) Installing libxau (1.0.10-r0) 01:06:12 (5/86) Installing libmd (1.0.4-r0) 01:06:12 (6/86) Installing libbsd (0.11.7-r0) 01:06:12 (7/86) Installing libxdmcp (1.1.4-r0) 01:06:12 (8/86) Installing libxcb (1.15-r0) 01:06:12 (9/86) Installing libx11 (1.8.4-r1) 01:06:12 (10/86) Installing aom-libs (3.5.0-r0) 01:06:12 (11/86) Installing alsa-lib (1.2.8-r0) 01:06:12 (12/86) Installing libexpat (2.5.0-r0) 01:06:12 (13/86) Installing brotli-libs (1.0.9-r9) 01:06:12 (14/86) Installing libbz2 (1.0.8-r4) 01:06:12 (15/86) Installing libpng (1.6.39-r0) 01:06:12 (16/86) Installing freetype (2.12.1-r0) 01:06:12 (17/86) Installing fontconfig (2.14.1-r0) 01:06:12 (18/86) Installing fribidi (1.0.12-r0) 01:06:12 (19/86) Installing libffi (3.4.4-r0) 01:06:12 (20/86) Installing libintl (0.21.1-r1) 01:06:12 (21/86) Installing libblkid (2.38.1-r1) 01:06:12 (22/86) Installing libmount (2.38.1-r1) 01:06:12 (23/86) Installing pcre2 (10.42-r0) 01:06:12 (24/86) Installing glib (2.74.7-r0) 01:06:13 (25/86) Installing graphite2 (1.3.14-r2) 01:06:13 (26/86) Installing harfbuzz (5.3.1-r1) 01:06:13 (27/86) Installing libass (0.16.0-r1) 01:06:13 (28/86) Installing libdav1d (1.0.0-r2) 01:06:13 (29/86) Installing hwdata-pci (0.364-r0) 01:06:13 (30/86) Installing libpciaccess (0.17-r0) 01:06:13 (31/86) Installing libdrm (2.4.114-r0) 01:06:13 (32/86) Installing gmp (6.2.1-r2) 01:06:13 (33/86) Installing nettle (3.8.1-r0) 01:06:13 (34/86) Installing p11-kit (0.24.1-r1) 01:06:13 (35/86) Installing libtasn1 (4.19.0-r0) 01:06:13 (36/86) Installing libunistring (1.1-r0) 01:06:14 (37/86) Installing gnutls (3.7.8-r3) 01:06:14 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 01:06:14 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 01:06:14 (40/86) Installing lame (3.100-r2) 01:06:14 (41/86) Installing opus (1.3.1-r1) 01:06:14 (42/86) Installing libasyncns (0.8-r1) 01:06:14 (43/86) Installing dbus-libs (1.14.8-r0) 01:06:14 (44/86) Installing libltdl (2.4.7-r1) 01:06:14 (45/86) Installing orc (0.4.33-r0) 01:06:14 (46/86) Installing libgcc (12.2.1_git20220924-r4) 01:06:14 (47/86) Installing libogg (1.3.5-r2) 01:06:14 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 01:06:14 (49/86) Installing flac-libs (1.4.2-r0) 01:06:14 (50/86) Installing libvorbis (1.3.7-r0) 01:06:14 (51/86) Installing libsndfile (1.1.0-r2) 01:06:14 (52/86) Installing libgomp (12.2.1_git20220924-r4) 01:06:14 (53/86) Installing soxr (0.1.3-r3) 01:06:14 (54/86) Installing speexdsp (1.2.1-r0) 01:06:14 (55/86) Installing tdb-libs (1.4.6-r0) 01:06:14 (56/86) Installing libpulse (16.1-r6) 01:06:14 (57/86) Installing cjson (1.7.15-r3) 01:06:14 (58/86) Installing mbedtls (2.28.4-r0) 01:06:14 (59/86) Installing librist (0.2.7-r0) 01:06:14 (60/86) Installing libsrt (1.5.1-r0) 01:06:14 (61/86) Installing libssh (0.10.5-r0) 01:06:14 (62/86) Installing libtheora (1.1.1-r16) 01:06:14 (63/86) Installing libjpeg-turbo (2.1.4-r0) 01:06:14 (64/86) Installing v4l-utils-libs (1.22.1-r2) 01:06:14 (65/86) Installing libxext (1.3.5-r0) 01:06:14 (66/86) Installing libxfixes (6.0.0-r0) 01:06:14 (67/86) Installing wayland-libs-client (1.21.0-r1) 01:06:14 (68/86) Installing libva (2.16.0-r0) 01:06:14 (69/86) Installing libvdpau (1.5-r0) 01:06:14 (70/86) Installing vidstab (1.1.0-r2) 01:06:14 (71/86) Installing libvpx (1.12.0-r1) 01:06:14 (72/86) Installing libwebp (1.2.4-r2) 01:06:14 (73/86) Installing x264-libs (0.164_git20220602-r0) 01:06:14 (74/86) Installing numactl (2.0.16-r1) 01:06:14 (75/86) Installing x265-libs (3.5-r3) 01:06:15 (76/86) Installing xvidcore (1.3.7-r1) 01:06:15 (77/86) Installing libsodium (1.0.18-r2) 01:06:15 (78/86) Installing libzmq (4.3.4-r1) 01:06:15 (79/86) Installing ffmpeg-libs (5.1.3-r0) 01:06:15 (80/86) Installing ffmpeg (5.1.3-r0) 01:06:15 (81/86) Installing udev-init-scripts (35-r1) 01:06:15 (82/86) Installing eudev-libs (3.2.11-r4) 01:06:15 (83/86) Installing xz-libs (5.2.9-r0) 01:06:15 (84/86) Installing zstd-libs (1.5.5-r0) 01:06:15 (85/86) Installing kmod-libs (30-r1) 01:06:15 (86/86) Installing eudev (3.2.11-r4) 01:06:15 Executing busybox-1.35.0-r29.trigger 01:06:15 Executing eudev-3.2.11-r4.trigger 01:06:15 OK: 112 MiB in 101 packages 01:06:18 Removing intermediate container 18da43ad38be 01:06:18 ---> 3ac5f8e683a2 01:06:18 Step 18/36 : WORKDIR / 01:06:18 ---> Running in e6837b8067a8 01:06:18 Removing intermediate container e6837b8067a8 01:06:18 ---> 912337f6e72a 01:06:18 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 01:06:19 ---> f8348cb94d28 01:06:19 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 01:06:19 ---> f8598fdc345e 01:06:19 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:06:19 ---> f52db54755b9 01:06:19 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:06:19 ---> 1600cfc03d85 01:06:19 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:06:19 ---> b4f3773b426c 01:06:19 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 01:06:19 ---> a27b1cf45ab8 01:06:19 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 01:06:20 ---> 8e439af9c5dd 01:06:20 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:06:20 ---> Running in b35d24015407 01:06:21 Removing intermediate container b35d24015407 01:06:21 ---> 15280963cc54 01:06:21 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:06:21 ---> Running in 51a03b1306b1 01:06:21 Removing intermediate container 51a03b1306b1 01:06:21 ---> b38a08948936 01:06:21 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:06:21 ---> Running in cb6e806a44c4 01:06:22 Removing intermediate container cb6e806a44c4 01:06:22 ---> ec91410dd89b 01:06:22 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 01:06:22 ---> Running in a547bdf2027b 01:06:22 Removing intermediate container a547bdf2027b 01:06:22 ---> cdd2c921255c 01:06:22 Step 30/36 : EXPOSE 59983 01:06:22 ---> Running in e43a599ac04d 01:06:23 Removing intermediate container e43a599ac04d 01:06:23 ---> 358c992d38ed 01:06:23 Step 31/36 : EXPOSE 8554 01:06:23 ---> Running in c6d752ff19ea 01:06:23 Removing intermediate container c6d752ff19ea 01:06:23 ---> a7e00d81b73e 01:06:23 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:06:23 ---> Running in 85cac16fcb56 01:06:23 Removing intermediate container 85cac16fcb56 01:06:23 ---> 2d57b3e06a92 01:06:23 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:06:23 ---> Running in 14331b3daeab 01:06:23 Removing intermediate container 14331b3daeab 01:06:23 ---> d069608f6db0 01:06:23 Step 34/36 : LABEL arch=amd64 01:06:23 ---> Running in 924788917ab7 01:06:23 Removing intermediate container 924788917ab7 01:06:23 ---> 41e5771c6813 01:06:23 Step 35/36 : LABEL git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb 01:06:23 ---> Running in 83a23c0c8ed8 01:06:23 Removing intermediate container 83a23c0c8ed8 01:06:23 ---> 594127f23d41 01:06:23 Step 36/36 : LABEL version=0.0.0 01:06:23 ---> Running in ed15e624ebed 01:06:23 Removing intermediate container ed15e624ebed 01:06:23 ---> de4c2cd038ea 01:06:23 [Warning] One or more build-args [ARCH] were not consumed 01:06:23 Successfully built de4c2cd038ea 01:06:23 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 01:06:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:24 01:06:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:24 latest: Pulling from edgex-lftools-log-publisher 01:06:24 5eb5b503b376: Pulling fs layer 01:06:24 5c69ac0246d0: Pulling fs layer 01:06:24 ec43610c2a17: Pulling fs layer 01:06:24 3a2ae6a8a46f: Pulling fs layer 01:06:24 33b1e0a273af: Pulling fs layer 01:06:24 5d3b04190fa2: Pulling fs layer 01:06:24 2f39f015ded8: Pulling fs layer 01:06:24 3a2ae6a8a46f: Waiting 01:06:24 33b1e0a273af: Waiting 01:06:24 5d3b04190fa2: Waiting 01:06:24 2f39f015ded8: Waiting 01:06:24 5c69ac0246d0: Verifying Checksum 01:06:24 5c69ac0246d0: Download complete 01:06:24 3a2ae6a8a46f: Download complete 01:06:25 33b1e0a273af: Verifying Checksum 01:06:25 33b1e0a273af: Download complete 01:06:25 ec43610c2a17: Verifying Checksum 01:06:25 ec43610c2a17: Download complete 01:06:25 5d3b04190fa2: Verifying Checksum 01:06:25 5d3b04190fa2: Download complete 01:06:25 5eb5b503b376: Verifying Checksum 01:06:25 5eb5b503b376: Download complete 01:06:25 2f39f015ded8: Download complete 01:06:26 5eb5b503b376: Pull complete 01:06:26 5c69ac0246d0: Pull complete 01:06:26 ec43610c2a17: Pull complete 01:06:27 3a2ae6a8a46f: Pull complete 01:06:27 33b1e0a273af: Pull complete 01:06:27 5d3b04190fa2: Pull complete 01:06:31 2f39f015ded8: Pull complete 01:06:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:31 prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container 01:06: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/foundry_device-usb-camera_PR-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 01:06:36 $ docker top 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:37 ---> job-cost.sh 01:06:37 lf-activate-venv: SKIPPING 01:06:37 INFO: No Stack... 01:06:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:38 INFO: Archiving Costs [Pipeline] sh 01:06:38 + cat /w/workspace/foundry_device-usb-camera_PR-279/archives/cost.csv 01:06:38 + cut -d, -f6 [Pipeline] lock 01:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] 01:06:38 Resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] did not exist. Created. 01:06:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:38 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:38 Stashed 1 file(s) [Pipeline] } 01:06:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:38 $ docker stop --time=1 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 01:06:40 $ docker rm -f --volumes 3605cfe45e135167741a6e54b602e21c8d1833a470a53ad165ea681bd772e4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:06:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5076 in /w/workspace/foundry_device-usb-camera_PR-279 [Pipeline] { [Pipeline] ws 01:06:52 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 01:06:52 Selected Git installation does not exist. Using Default 01:06:52 The recommended git tool is: NONE 01:07:01 using credential edgex-jenkins-ssh 01:07:01 Cloning the remote Git repository 01:07:01 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 01:07:01 > git init /w/workspace/device-usb-camera/1 # timeout=10 01:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:07:01 > git --version # timeout=10 01:07:01 > git --version # 'git version 2.25.1' 01:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:02 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:07:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:03 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:07:03 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/279/head:refs/remotes/origin/PR-279 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:07:04 Merging remotes/origin/main commit 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff into PR head commit b4f076200ad522f26ded58b02d7fbcdf9e9be4eb 01:07:04 Merge succeeded, producing b4f076200ad522f26ded58b02d7fbcdf9e9be4eb 01:07:04 Checking out Revision b4f076200ad522f26ded58b02d7fbcdf9e9be4eb (PR-279) 01:07:04 > git config core.sparsecheckout # timeout=10 01:07:04 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 01:07:04 > git remote # timeout=10 01:07:04 > git config --get remote.origin.url # timeout=10 01:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:04 > git merge 81f7519a5e11d213d4b8be8bc1b3982fbaa373ff # timeout=10 01:07:04 > git rev-parse HEAD^{commit} # timeout=10 01:07:04 > git config core.sparsecheckout # timeout=10 01:07:04 > git checkout -f b4f076200ad522f26ded58b02d7fbcdf9e9be4eb # timeout=10 01:07:08 Commit message: "fix: rtsp auth server router not initialized properly" 01:07:08 > git --version # timeout=10 01:07:08 > git --version # 'git version 2.25.1' 01:07:08 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:07:09 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:09 Dload Upload Total Spent Left Speed 01:07:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 01:07:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:07:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:07:10 + sudo tee /etc/docker/daemon.new 01:07:10 { 01:07:10 "registry-mirrors": [ 01:07:10 "https://nexus3.edgexfoundry.org:10001" 01:07:10 ], 01:07:10 "bip": "10.250.0.254/24", 01:07:10 "hosts": [ 01:07:10 "tcp://0.0.0.0:5555", 01:07:10 "unix:///var/run/docker.sock" 01:07:10 ], 01:07:10 "mtu": 1458, 01:07:10 "selinux-enabled": true, 01:07:10 "seccomp-profile": "/etc/docker/seccomp.json" 01:07:10 } [Pipeline] sh 01:07:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:07:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:07:33 provisioning config files... 01:07:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config15019258208331120489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:34 ---> docker-login.sh 01:07:34 nexus3.edgexfoundry.org:10001 01:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:34 Configure a credential helper to remove this warning. See 01:07:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:34 01:07:34 Login Succeeded 01:07:34 nexus3.edgexfoundry.org:10002 01:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:35 Configure a credential helper to remove this warning. See 01:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:35 01:07:35 Login Succeeded 01:07:35 nexus3.edgexfoundry.org:10003 01:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:35 Configure a credential helper to remove this warning. See 01:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:35 01:07:35 Login Succeeded 01:07:35 nexus3.edgexfoundry.org:10004 01:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:35 Configure a credential helper to remove this warning. See 01:07:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:35 01:07:35 Login Succeeded 01:07:35 docker.io 01:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:07:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:07:36 Configure a credential helper to remove this warning. See 01:07:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:07:36 01:07:36 Login Succeeded 01:07:36 ---> docker-login.sh ends [Pipeline] } 01:07:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:07:36 ========================================================= 01:07:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:07:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:37 + 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 . 01:07:37 Sending build context to Docker daemon 1.302MB 01:07:37 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:07:37 Step 2/13 : FROM ${BASE} AS builder 01:07:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:07:37 edb6bdbacee9: Pulling fs layer 01:07:37 5f9638ab2659: Pulling fs layer 01:07:37 8d51d6327a98: Pulling fs layer 01:07:37 8b374f2dd631: Pulling fs layer 01:07:37 ec14aa9079de: Pulling fs layer 01:07:37 2f466654f4bb: Pulling fs layer 01:07:37 554e91adad29: Pulling fs layer 01:07:37 ec14aa9079de: Waiting 01:07:37 8b374f2dd631: Waiting 01:07:37 2f466654f4bb: Waiting 01:07:37 554e91adad29: Waiting 01:07:37 5f9638ab2659: Download complete 01:07:37 8b374f2dd631: Verifying Checksum 01:07:37 8b374f2dd631: Download complete 01:07:37 ec14aa9079de: Verifying Checksum 01:07:37 ec14aa9079de: Download complete 01:07:37 edb6bdbacee9: Download complete 01:07:39 edb6bdbacee9: Pull complete 01:07:39 554e91adad29: Verifying Checksum 01:07:39 554e91adad29: Download complete 01:07:39 5f9638ab2659: Pull complete 01:07:40 8d51d6327a98: Verifying Checksum 01:07:40 8d51d6327a98: Download complete 01:07:40 2f466654f4bb: Verifying Checksum 01:07:40 2f466654f4bb: Download complete 01:07:51 8d51d6327a98: Pull complete 01:07:51 8b374f2dd631: Pull complete 01:07:51 ec14aa9079de: Pull complete 01:07:57 2f466654f4bb: Pull complete 01:07:59 554e91adad29: Pull complete 01:07:59 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 01:07:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:07:59 ---> 1e15ea492957 01:07:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:08:01 ---> Running in 732311ee8e75 01:08:01 Removing intermediate container 732311ee8e75 01:08:01 ---> a52d8c1955c0 01:08:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:08:01 ---> Running in 944f8c688906 01:08:01 Removing intermediate container 944f8c688906 01:08:01 ---> 77e3301b29d8 01:08:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:08:01 ---> Running in dc868935c3c6 01:08:02 Removing intermediate container dc868935c3c6 01:08:02 ---> 7f10ed457c26 01:08:02 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:08:02 ---> Running in d336e5d16b6d 01:08:02 Removing intermediate container d336e5d16b6d 01:08:02 ---> 708d81047f40 01:08:02 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:02 ---> Running in 6716877857c5 01:08:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:08:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:08:05 (1/14) Installing libintl (0.21.1-r1) 01:08:05 (2/14) Installing eudev-libs (3.2.11-r4) 01:08:05 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:08:05 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:08:05 (5/14) Installing v4l-utils (1.22.1-r2) 01:08:05 (6/14) Installing udev-init-scripts (35-r1) 01:08:05 (7/14) Installing libblkid (2.38.1-r1) 01:08:05 (8/14) Installing xz-libs (5.2.9-r0) 01:08:05 (9/14) Installing zstd-libs (1.5.5-r0) 01:08:05 (10/14) Installing kmod-libs (30-r1) 01:08:05 (11/14) Installing eudev (3.2.11-r4) 01:08:05 (12/14) Installing eudev-dev (3.2.11-r4) 01:08:05 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:08:05 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:08:05 Executing busybox-1.35.0-r29.trigger 01:08:05 Executing eudev-3.2.11-r4.trigger 01:08:05 OK: 271 MiB in 67 packages 01:08:07 Removing intermediate container 6716877857c5 01:08:07 ---> f1e7d47e900d 01:08:07 Step 8/13 : WORKDIR /device-usb-camera 01:08:07 ---> Running in 09004dbdb2f6 01:08:07 Removing intermediate container 09004dbdb2f6 01:08:07 ---> aa9ac11eab90 01:08:07 Step 9/13 : COPY go.mod vendor* ./ 01:08:07 ---> da923de1f42a 01:08:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:07 ---> Running in 5c5dfe586ecb 01:09:15 Removing intermediate container 5c5dfe586ecb 01:09:15 ---> a98a9e8cf066 01:09:15 Step 11/13 : COPY . . 01:09:15 ---> 61f9ccadb610 01:09:15 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:09:15 ---> Running in 2a7ff86b83f8 01:09:15  % Total % Received % Xferd Average Speed Time Time Time Current 01:09:15 Dload Upload Total Spent Left Speed 01:09:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1253  100  1253    0     0   3949      0 --:--:-- --:--:-- --:--:-- 3965 01:09:18 Removing intermediate container 2a7ff86b83f8 01:09:18 ---> c9f89b8322ab 01:09:18 Step 13/13 : RUN ${MAKE} 01:09:18 ---> Running in 904c68fa576e 01:09:19 noop 01:09:20 Removing intermediate container 904c68fa576e 01:09:20 ---> db114b4bacc3 01:09:20 Successfully built db114b4bacc3 01:09:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:21 + docker inspect -f . ci-base-image-arm64 01:09:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container 01:09:21 $ 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 01:09:22 $ docker top c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:23 + go version 01:09:23 go version go1.20.6 linux/arm64 [Pipeline] } 01:09:23 $ docker stop --time=1 c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 01:09:25 $ docker rm -f --volumes c3ebe427e70a3fc40a0ba240cb640145cb122324620f6a6bbc658842183768f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:26 + docker inspect -f . ci-base-image-arm64 01:09:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:09:26 prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container 01:09:26 $ 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 01:09:27 $ docker top 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 01:09:28 + make test 01:09:28 go test ./... -coverprofile=coverage.out ./... 01:10:07 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:12:14 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:12:17 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.095s coverage: 4.4% of statements 01:12:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:18 go vet ./... 01:12:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:50 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:50 $ docker stop --time=1 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 01:12:52 $ docker rm -f --volumes 6bae50cff824515fe2e0db9d6a3e6911bfd16664dddb8bfd9bf0c76a04117b70 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:53 Warning: overwriting stash ‘coverage-report’ 01:12:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:55 + ls -al . 01:12:55 total 216 01:12:55 drwxrwxr-x 9 jenkins jenkins 4096 Sep 1 01:09 . 01:12:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:07 .. 01:12:55 drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 01:07 .git 01:12:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 .github 01:12:55 -rw-rw-r-- 1 jenkins jenkins 468 Sep 1 01:07 .gitignore 01:12:55 -rw-rw-r-- 1 jenkins jenkins 45 Sep 1 01:07 .golangci.yml 01:12:55 -rw-rw-r-- 1 jenkins jenkins 77 Sep 1 01:07 .hadolint.yml 01:12:55 -rw-rw-r-- 1 jenkins jenkins 10851 Sep 1 01:07 Attribution.txt 01:12:55 -rw-rw-r-- 1 jenkins jenkins 11903 Sep 1 01:07 CHANGELOG.md 01:12:55 -rw-rw-r-- 1 jenkins jenkins 2453 Sep 1 01:07 Dockerfile 01:12:55 -rw-rw-r-- 1 jenkins jenkins 678 Sep 1 01:07 GOVERNANCE.md 01:12:55 -rw-rw-r-- 1 jenkins jenkins 659 Sep 1 01:07 Jenkinsfile 01:12:55 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 1 01:07 LICENSE 01:12:55 -rw-rw-r-- 1 jenkins jenkins 2611 Sep 1 01:07 Makefile 01:12:55 -rw-rw-r-- 1 jenkins jenkins 622 Sep 1 01:07 OWNERS.md 01:12:55 -rw-rw-r-- 1 jenkins jenkins 2575 Sep 1 01:07 README.md 01:12:55 -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 01:03 VERSION 01:12:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:07 bin 01:12:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 cmd 01:12:55 -rw-r--r-- 1 jenkins jenkins 53856 Sep 1 01:12 coverage.out 01:12:55 -rwxrwxr-x 1 jenkins jenkins 140 Sep 1 01:07 docker-entrypoint.sh 01:12:55 drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 01:07 docs 01:12:55 -rw-rw-r-- 1 jenkins jenkins 3951 Sep 1 01:07 go.mod 01:12:55 -rw-rw-r-- 1 jenkins jenkins 34252 Sep 1 01:07 go.sum 01:12:55 drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 01:07 internal 01:12:55 drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 01:07 snap 01:12:55 -rw-rw-r-- 1 jenkins jenkins 231 Sep 1 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:55 + 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=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb --label arch=arm64 --label version=0.0.0 . 01:12:56 Sending build context to Docker daemon 1.356MB 01:12:56 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 01:12:56 Step 2/36 : FROM ${BASE} AS builder 01:12:56 ---> db114b4bacc3 01:12:56 Step 3/36 : ARG ADD_BUILD_TAGS="" 01:12:59 ---> Running in 28f0a07a41b6 01:12:59 Removing intermediate container 28f0a07a41b6 01:12:59 ---> 651c319fb0dc 01:12:59 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:59 ---> Running in 09cab237f8dd 01:13:00 Removing intermediate container 09cab237f8dd 01:13:00 ---> 93f818005257 01:13:00 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:13:00 ---> Running in a7c2fc7a28af 01:13:00 Removing intermediate container a7c2fc7a28af 01:13:00 ---> cc10a6971f2f 01:13:00 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:13:00 ---> Running in 5fe1d77cf691 01:13:00 Removing intermediate container 5fe1d77cf691 01:13:00 ---> 70e06eb1a174 01:13:00 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:00 ---> Running in 7b00e9ba3277 01:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:13:03 OK: 271 MiB in 67 packages 01:13:04 Removing intermediate container 7b00e9ba3277 01:13:04 ---> a3586f9184b0 01:13:04 Step 8/36 : WORKDIR /device-usb-camera 01:13:04 ---> Running in be4f480d99b0 01:13:04 Removing intermediate container be4f480d99b0 01:13:04 ---> 6a093619e192 01:13:04 Step 9/36 : COPY go.mod vendor* ./ 01:13:05 ---> 63ca8e69a5ad 01:13:05 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:05 ---> Running in 09085c5f7255 01:13:07 Removing intermediate container 09085c5f7255 01:13:07 ---> ba7f7d088420 01:13:07 Step 11/36 : COPY . . 01:13:08 ---> 4a316cff608e 01:13:08 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:13:08 ---> Running in 355ba2876fe0 01:13:09  % Total % Received % Xferd Average Speed Time Time Time Current 01:13:09  Dload Upload Total Spent Left Speed 01:13:09 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 3588 0 --:--:-- --:--:-- --:--:-- 3590 100 1253 100 1253 0 0 3579  0 --:--:-- --:--:-- --:--:-- 3580 01:13:14 Removing intermediate container 355ba2876fe0 01:13:14 ---> 3a7733182409 01:13:14 Step 13/36 : RUN ${MAKE} 01:13:14 ---> Running in 4579855287cb 01:13:14 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:15:51 Removing intermediate container 4579855287cb 01:15:51 ---> de96d1d8534e 01:15:51 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:15:51 v0.21.6: Pulling from aler9/rtsp-simple-server 01:15:51 8766b47fe142: Pulling fs layer 01:15:51 8766b47fe142: Verifying Checksum 01:15:51 8766b47fe142: Download complete 01:15:51 8766b47fe142: Pull complete 01:15:51 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:15:51 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:15:51 ---> 69d40e2cb93c 01:15:51 Step 15/36 : FROM alpine:3.17 01:15:51 3.17: Pulling from library/alpine 01:15:51 4060ece20d7a: Pulling fs layer 01:15:51 4060ece20d7a: Verifying Checksum 01:15:51 4060ece20d7a: Download complete 01:15:51 4060ece20d7a: Pull complete 01:15:51 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:15:51 Status: Downloaded newer image for alpine:3.17 01:15:51 ---> 8650cd65339b 01:15:51 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:15:51 ---> Running in 146b7d0d8998 01:15:51 Removing intermediate container 146b7d0d8998 01:15:51 ---> 0a60120d7e26 01:15:51 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:15:51 ---> Running in d96a41d76c65 01:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:15:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:15:52 (1/83) Installing dumb-init (1.2.5-r2) 01:15:52 (2/83) Installing sdl2 (2.26.5-r0) 01:15:52 (3/83) Installing libxau (1.0.10-r0) 01:15:52 (4/83) Installing libmd (1.0.4-r0) 01:15:52 (5/83) Installing libbsd (0.11.7-r0) 01:15:52 (6/83) Installing libxdmcp (1.1.4-r0) 01:15:52 (7/83) Installing libxcb (1.15-r0) 01:15:52 (8/83) Installing libx11 (1.8.4-r1) 01:15:52 (9/83) Installing aom-libs (3.5.0-r0) 01:15:52 (10/83) Installing alsa-lib (1.2.8-r0) 01:15:52 (11/83) Installing libexpat (2.5.0-r0) 01:15:52 (12/83) Installing brotli-libs (1.0.9-r9) 01:15:52 (13/83) Installing libbz2 (1.0.8-r4) 01:15:52 (14/83) Installing libpng (1.6.39-r0) 01:15:52 (15/83) Installing freetype (2.12.1-r0) 01:15:52 (16/83) Installing fontconfig (2.14.1-r0) 01:15:52 (17/83) Installing fribidi (1.0.12-r0) 01:15:52 (18/83) Installing libffi (3.4.4-r0) 01:15:52 (19/83) Installing libintl (0.21.1-r1) 01:15:52 (20/83) Installing libblkid (2.38.1-r1) 01:15:52 (21/83) Installing libmount (2.38.1-r1) 01:15:52 (22/83) Installing pcre2 (10.42-r0) 01:15:52 (23/83) Installing glib (2.74.7-r0) 01:15:52 (24/83) Installing graphite2 (1.3.14-r2) 01:15:52 (25/83) Installing harfbuzz (5.3.1-r1) 01:15:52 (26/83) Installing libass (0.16.0-r1) 01:15:52 (27/83) Installing libdav1d (1.0.0-r2) 01:15:53 (28/83) Installing libdrm (2.4.114-r0) 01:15:53 (29/83) Installing gmp (6.2.1-r2) 01:15:53 (30/83) Installing nettle (3.8.1-r0) 01:15:53 (31/83) Installing p11-kit (0.24.1-r1) 01:15:53 (32/83) Installing libtasn1 (4.19.0-r0) 01:15:53 (33/83) Installing libunistring (1.1-r0) 01:15:53 (34/83) Installing gnutls (3.7.8-r3) 01:15:53 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 01:15:53 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 01:15:53 (37/83) Installing lame (3.100-r2) 01:15:53 (38/83) Installing opus (1.3.1-r1) 01:15:53 (39/83) Installing libasyncns (0.8-r1) 01:15:53 (40/83) Installing dbus-libs (1.14.8-r0) 01:15:53 (41/83) Installing libltdl (2.4.7-r1) 01:15:53 (42/83) Installing orc (0.4.33-r0) 01:15:53 (43/83) Installing libgcc (12.2.1_git20220924-r4) 01:15:53 (44/83) Installing libogg (1.3.5-r2) 01:15:53 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 01:15:53 (46/83) Installing flac-libs (1.4.2-r0) 01:15:53 (47/83) Installing libvorbis (1.3.7-r0) 01:15:53 (48/83) Installing libsndfile (1.1.0-r2) 01:15:53 (49/83) Installing libgomp (12.2.1_git20220924-r4) 01:15:53 (50/83) Installing soxr (0.1.3-r3) 01:15:53 (51/83) Installing speexdsp (1.2.1-r0) 01:15:53 (52/83) Installing tdb-libs (1.4.6-r0) 01:15:53 (53/83) Installing libpulse (16.1-r6) 01:15:53 (54/83) Installing cjson (1.7.15-r3) 01:15:53 (55/83) Installing mbedtls (2.28.4-r0) 01:15:53 (56/83) Installing librist (0.2.7-r0) 01:15:53 (57/83) Installing libsrt (1.5.1-r0) 01:15:53 (58/83) Installing libssh (0.10.5-r0) 01:15:53 (59/83) Installing libtheora (1.1.1-r16) 01:15:53 (60/83) Installing libjpeg-turbo (2.1.4-r0) 01:15:53 (61/83) Installing v4l-utils-libs (1.22.1-r2) 01:15:53 (62/83) Installing libxext (1.3.5-r0) 01:15:53 (63/83) Installing libxfixes (6.0.0-r0) 01:15:53 (64/83) Installing wayland-libs-client (1.21.0-r1) 01:15:53 (65/83) Installing libva (2.16.0-r0) 01:15:53 (66/83) Installing libvdpau (1.5-r0) 01:15:53 (67/83) Installing vidstab (1.1.0-r2) 01:15:53 (68/83) Installing libvpx (1.12.0-r1) 01:15:54 (69/83) Installing libwebp (1.2.4-r2) 01:15:54 (70/83) Installing x264-libs (0.164_git20220602-r0) 01:15:54 (71/83) Installing numactl (2.0.16-r1) 01:15:54 (72/83) Installing x265-libs (3.5-r3) 01:15:54 (73/83) Installing xvidcore (1.3.7-r1) 01:15:54 (74/83) Installing libsodium (1.0.18-r2) 01:15:54 (75/83) Installing libzmq (4.3.4-r1) 01:15:54 (76/83) Installing ffmpeg-libs (5.1.3-r0) 01:15:54 (77/83) Installing ffmpeg (5.1.3-r0) 01:15:54 (78/83) Installing udev-init-scripts (35-r1) 01:15:54 (79/83) Installing eudev-libs (3.2.11-r4) 01:15:54 (80/83) Installing xz-libs (5.2.9-r0) 01:15:54 (81/83) Installing zstd-libs (1.5.5-r0) 01:15:54 (82/83) Installing kmod-libs (30-r1) 01:15:54 (83/83) Installing eudev (3.2.11-r4) 01:15:54 Executing busybox-1.35.0-r29.trigger 01:15:55 Executing eudev-3.2.11-r4.trigger 01:15:55 OK: 86 MiB in 98 packages 01:15:59 Removing intermediate container d96a41d76c65 01:15:59 ---> 1fd24027ffb3 01:15:59 Step 18/36 : WORKDIR / 01:15:59 ---> Running in 98f4a17cfd2c 01:15:59 Removing intermediate container 98f4a17cfd2c 01:15:59 ---> 6ba6b43bfc0a 01:15:59 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 01:16:00 ---> ac01d6f2bd23 01:16:00 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 01:16:01 ---> 8b7686702107 01:16:01 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:16:01 ---> 63ef2f73fab3 01:16:01 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:16:01 ---> 99aaa7a73d3d 01:16:01 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:16:02 ---> 09fc6f041232 01:16:02 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 01:16:03 ---> 9fc231dc45a2 01:16:03 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 01:16:04 ---> e8407f6c7296 01:16:04 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:16:04 ---> Running in dbc453946a00 01:16:05 Removing intermediate container dbc453946a00 01:16:05 ---> 64de22db48d7 01:16:05 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:16:05 ---> Running in 3048093b9409 01:16:07 Removing intermediate container 3048093b9409 01:16:07 ---> a21b43834cf8 01:16:07 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:16:07 ---> Running in f0bcf48cf947 01:16:09 Removing intermediate container f0bcf48cf947 01:16:09 ---> 149c6c8172d8 01:16:09 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 01:16:09 ---> Running in 51f3b242749b 01:16:11 Removing intermediate container 51f3b242749b 01:16:11 ---> 6510b2ebe6dc 01:16:11 Step 30/36 : EXPOSE 59983 01:16:11 ---> Running in f8173fccb6d2 01:16:11 Removing intermediate container f8173fccb6d2 01:16:11 ---> 9569bf078c46 01:16:11 Step 31/36 : EXPOSE 8554 01:16:11 ---> Running in 54008818afda 01:16:11 Removing intermediate container 54008818afda 01:16:11 ---> 2874384f3662 01:16:11 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:16:11 ---> Running in 4601b8488040 01:16:12 Removing intermediate container 4601b8488040 01:16:12 ---> c617e57ea3e9 01:16:12 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:16:12 ---> Running in eb44a94d2732 01:16:12 Removing intermediate container eb44a94d2732 01:16:12 ---> 1640d40bfcc0 01:16:12 Step 34/36 : LABEL arch=arm64 01:16:12 ---> Running in 65782a482aeb 01:16:12 Removing intermediate container 65782a482aeb 01:16:12 ---> 55d40b5ba11c 01:16:12 Step 35/36 : LABEL git_sha=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb 01:16:12 ---> Running in d775789b0562 01:16:13 Removing intermediate container d775789b0562 01:16:13 ---> 62d840a68191 01:16:13 Step 36/36 : LABEL version=0.0.0 01:16:13 ---> Running in e237d9d30054 01:16:13 Removing intermediate container e237d9d30054 01:16:13 ---> 16c47e535cb6 01:16:13 [Warning] One or more build-args [ARCH] were not consumed 01:16:13 Successfully built 16c47e535cb6 01:16:13 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 01:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:14 01:16:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:14 arm64: Pulling from edgex-lftools-log-publisher 01:16:14 8998bd30e6a1: Pulling fs layer 01:16:14 04944245beec: Pulling fs layer 01:16:14 699f458cf7ca: Pulling fs layer 01:16:14 765212b225bb: Pulling fs layer 01:16:14 f23df028b6ca: Pulling fs layer 01:16:14 d65c8cfc05b1: Pulling fs layer 01:16:14 2437ff75d9bd: Pulling fs layer 01:16:14 765212b225bb: Waiting 01:16:14 f23df028b6ca: Waiting 01:16:14 d65c8cfc05b1: Waiting 01:16:14 2437ff75d9bd: Waiting 01:16:14 04944245beec: Verifying Checksum 01:16:14 04944245beec: Download complete 01:16:14 765212b225bb: Download complete 01:16:14 f23df028b6ca: Verifying Checksum 01:16:14 f23df028b6ca: Download complete 01:16:14 d65c8cfc05b1: Verifying Checksum 01:16:14 d65c8cfc05b1: Download complete 01:16:15 699f458cf7ca: Verifying Checksum 01:16:15 699f458cf7ca: Download complete 01:16:15 8998bd30e6a1: Verifying Checksum 01:16:15 8998bd30e6a1: Download complete 01:16:17 2437ff75d9bd: Download complete 01:16:19 8998bd30e6a1: Pull complete 01:16:19 04944245beec: Pull complete 01:16:22 699f458cf7ca: Pull complete 01:16:22 765212b225bb: Pull complete 01:16:23 f23df028b6ca: Pull complete 01:16:23 d65c8cfc05b1: Pull complete 01:16:38 2437ff75d9bd: Pull complete 01:16:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:38 prd-ubuntu20.04-docker-arm64-4c-16g-5076 does not seem to be running inside a container 01:16:38 $ 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 01:16:41 $ docker top 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:42 ---> job-cost.sh 01:16:42 lf-activate-venv: SKIPPING 01:16:42 INFO: No Stack... 01:16:42 INFO: Retrieving Pricing Info for: v3-standard-4 01:16:43 INFO: Archiving Costs [Pipeline] sh 01:16:43 + + cutcat -d, /w/workspace/device-usb-camera/1/archives/cost.csv -f6 01:16:43 [Pipeline] lock 01:16:44 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] 01:16:44 Resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] did not exist. Created. 01:16:44 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:44 /w/workspace/device-usb-camera/1@tmp/durable-f26de728/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:45 Warning: overwriting stash ‘stack-cost’ 01:16:45 Stashed 1 file(s) [Pipeline] } 01:16:45 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-279-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:45 $ docker stop --time=1 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 01:16:46 $ docker rm -f --volumes 5a262cb85abdd5443b5f8ebf22a9699af651092fe994e4b393b121748b86d882 [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 01:16:47 provisioning config files... 01:16:47 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config7926357958351209826tmp [Pipeline] { [Pipeline] sh 01:16:48 + set +x 01:16:48 + curl -s https://codecov.io/bash 01:16:48 + bash -s -- 01:16:48 01:16:48 _____ _ 01:16:48 / ____| | | 01:16:48 | | ___ __| | ___ ___ _____ __ 01:16:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:48 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:48 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:48 Bash-1.0.6 01:16:48 01:16:48 01:16:48 ==> git version 2.25.1 found 01:16:48 ==> 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 01:16:48 Release-Date: 2020-01-08 01:16:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:48 ==> Jenkins CI detected. 01:16:48 current dir:  /w/workspace/foundry_device-usb-camera_PR-279 01:16:48 project root: . 01:16:48 --> token set from env 01:16:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:48 ==> Running gcov in . (disable via -X gcov) 01:16:48 ==> Python coveragepy not found 01:16:48 ==> Searching for coverage reports in: 01:16:48 + . 01:16:48 -> Found 1 reports 01:16:48 ==> Detecting git/mercurial file structure 01:16:48 ==> Reading reports 01:16:48 + ./coverage.out bytes=53856 01:16:48 ==> Appending adjustments 01:16:48 https://docs.codecov.io/docs/fixing-reports 01:16:48 + Found adjustments 01:16:48 ==> Gzipping contents 01:16:48 8.0K /tmp/codecov.c7ucPY.gz 01:16:48 ==> Uploading reports 01:16:48 url: https://codecov.io 01:16:48 query: branch=PR-279&commit=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=279&job=&cmd_args= 01:16:48 -> Pinging Codecov 01:16:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-279&commit=b4f076200ad522f26ded58b02d7fbcdf9e9be4eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=279&job=&cmd_args= 01:16:48 -> Uploading to 01:16:48 https://storage.googleapis.com/codecov/v4/raw/2023-09-01/73D8F5FF140700D3E01443B452E23636/b4f076200ad522f26ded58b02d7fbcdf9e9be4eb/2d72d435-31d9-457f-b9b5-ee62d5d12640.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230901%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230901T011648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c95753e4e5d1a190f0b598a6ecf9e003f57cf5694a990e4236c910b74ab3c60 01:16:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:48 Dload Upload Total Spent Left Speed 01:16:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6883 0 0 100 6883 0 35663 --:--:-- --:--:-- --:--:-- 35663 01:16:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/b4f076200ad522f26ded58b02d7fbcdf9e9be4eb [Pipeline] } 01:16:48 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 01:16:50 + [ -d /w/workspace/foundry_device-usb-camera_PR-279/archives ] 01:16:50 + ls -al /w/workspace/foundry_device-usb-camera_PR-279/archives 01:16:50 total 16 01:16:50 drwxr-xr-x 3 root root 4096 Sep 1 01:06 . 01:16:50 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:06 .. 01:16:50 drwxr-xr-x 2 root root 4096 Sep 1 01:06 cost 01:16:50 -rw-r--r-- 1 root root 89 Sep 1 01:06 cost.csv 01:16:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-279/archives 01:16:50 + ls -al /w/workspace/foundry_device-usb-camera_PR-279/archives 01:16:50 total 16 01:16:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 1 01:06 . 01:16:50 drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 01:06 .. 01:16:50 drwxr-xr-x 2 jenkins jenkins 4096 Sep 1 01:06 cost 01:16:50 -rw-r--r-- 1 jenkins jenkins 89 Sep 1 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:51 ---> package-listing.sh 01:16:51 ++ facter osfamily 01:16:51 ++ tr '[:upper:]' '[:lower:]' 01:16:51 + OS_FAMILY=debian 01:16:51 + workspace=/w/workspace/foundry_device-usb-camera_PR-279 01:16:51 + START_PACKAGES=/tmp/packages_start.txt 01:16:51 + END_PACKAGES=/tmp/packages_end.txt 01:16:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:51 + PACKAGES=/tmp/packages_start.txt 01:16:51 + '[' /w/workspace/foundry_device-usb-camera_PR-279 ']' 01:16:51 + PACKAGES=/tmp/packages_end.txt 01:16:51 + case "${OS_FAMILY}" in 01:16:51 + dpkg -l 01:16:51 + grep '^ii' 01:16:51 + '[' -f /tmp/packages_start.txt ']' 01:16:51 + '[' -f /tmp/packages_end.txt ']' 01:16:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:51 + '[' /w/workspace/foundry_device-usb-camera_PR-279 ']' 01:16:51 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-279/archives/ 01:16:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-279/archives/ [Pipeline] echo 01:16:52 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-279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:53 prd-ubuntu20.04-docker-8c-8g-5074 does not seem to be running inside a container 01:16:53 $ 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-279/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-279 -v /w/workspace/foundry_device-usb-camera_PR-279:/w/workspace/foundry_device-usb-camera_PR-279:rw,z -v /w/workspace/foundry_device-usb-camera_PR-279@tmp:/w/workspace/foundry_device-usb-camera_PR-279@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 01:16:53 $ docker top 1cbd82f05e4c77d9019c096e857f7ed9c8acde9d4a39b631f678e8dc641019f5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:53 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:53 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:54 + ls /var/log/sa-host 01:16:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:54 provisioning config files... 01:16:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-279@tmp/config4202206752358056576tmp [Pipeline] { [Pipeline] echo 01:16:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:54 ---> create-netrc.sh [Pipeline] } 01:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:55 ---> python-tools-install.sh [Pipeline] echo 01:16:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:55 ---> sudo-logs.sh 01:16:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:55 ---> job-cost.sh 01:16:55 lf-activate-venv: SKIPPING 01:16:55 DEBUG: total: 0.2199999988079071 01:16:55 INFO: Retrieving Stack Cost... 01:16:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:56 INFO: Archiving Costs [Pipeline] echo 01:16:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:57 ---> logs-deploy.sh 01:16:57 lf-activate-venv: SKIPPING 01:16:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-279/1 01:16:57 INFO: archiving workspace using pattern(s): 01:16:58 Archives upload complete. 01:16:58 INFO: archiving logs to Nexus