Pull request #251 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 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 rather than 890f983fecd1497bd13a158ae51900a3e12b6bc9 Obtained Jenkinsfile from 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 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-ssh1015078528664799416.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9590548904519315862.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-251/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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5442182623161587869.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-251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17376142888111547274.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3839485230353842751.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-251/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-251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11876158925261384177.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16033’ Running on prd-ubuntu20.04-docker-8c-8g-16035 in /w/workspace/foundry_device-usb-camera_PR-251 [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-251 # 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/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 into PR head commit 890f983fecd1497bd13a158ae51900a3e12b6bc9 Merge succeeded, producing 890f983fecd1497bd13a158ae51900a3e12b6bc9 Checking out Revision 890f983fecd1497bd13a158ae51900a3e12b6bc9 (PR-251) > git config core.sparsecheckout # timeout=10 > git checkout -f 890f983fecd1497bd13a158ae51900a3e12b6bc9 # 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 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 890f983fecd1497bd13a158ae51900a3e12b6bc9 # timeout=10 Commit message: "docs: updated collection from v2 to v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:53:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:53:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:53:03 ========================================================= 18:53:03 EdgeX Global Pipelines Version Info 18:53:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:53:04 ------------------- 18:53:04 stable info: 18:53:04 ------------------- 18:53:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:53:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:53:04 Message: update stable to v1.0.249 18:53:05 ------------------- 18:53:05 experimental info: 18:53:05 ------------------- 18:53:05 Commited By: **** collab-it+edgex@linuxfoundation.org 18:53:05 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:53:05 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:53:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-251 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-251 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-251 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 890f983fecd1497bd13a158ae51900a3e12b6bc9 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 890f983 [Pipeline] echo 18:53:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:06 provisioning config files... 18:53:06 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-251@tmp/config10638633177244507870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:07 ---> docker-login.sh 18:53:07 nexus3.edgexfoundry.org:10001 18:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:07 Configure a credential helper to remove this warning. See 18:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:07 18:53:07 Login Succeeded 18:53:07 nexus3.edgexfoundry.org:10002 18:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:07 Configure a credential helper to remove this warning. See 18:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:07 18:53:07 Login Succeeded 18:53:07 nexus3.edgexfoundry.org:10003 18:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:07 Configure a credential helper to remove this warning. See 18:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:07 18:53:07 Login Succeeded 18:53:07 nexus3.edgexfoundry.org:10004 18:53:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:07 Configure a credential helper to remove this warning. See 18:53:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:07 18:53:07 Login Succeeded 18:53:07 docker.io 18:53:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:08 Configure a credential helper to remove this warning. See 18:53:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:08 18:53:08 Login Succeeded 18:53:08 ---> docker-login.sh ends [Pipeline] } 18:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:53:08 + git rev-list -1 --merges 890f983fecd1497bd13a158ae51900a3e12b6bc9~1..890f983fecd1497bd13a158ae51900a3e12b6bc9 [Pipeline] echo 18:53:08 -----------> git rev-list -1 --merges 890f983fecd1497bd13a158ae51900a3e12b6bc9~1..890f983fecd1497bd13a158ae51900a3e12b6bc9 890f983fecd1497bd13a158ae51900a3e12b6bc9 [false] [Pipeline] sh 18:53:09 + git log --format=format:%s -1 890f983fecd1497bd13a158ae51900a3e12b6bc9 [Pipeline] echo 18:53:09 ========================================================= 18:53:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:53:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:53:09 + git log --format=format:%s -1 890f983fecd1497bd13a158ae51900a3e12b6bc9 [Pipeline] echo 18:53:09 [semverPrep] GIT_COMMIT: 890f983fecd1497bd13a158ae51900a3e12b6bc9, Commit Message: docs: updated collection from v2 to v3 [Pipeline] echo 18:53:09 [semverPrep] This is not a build commit. [Pipeline] sh 18:53:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:53:10 + grep -v github /etc/ssh/ssh_known_hosts 18:53:10 + [ -e /tmp/ssh_known_hosts ] 18:53:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:53:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:53:10 + sudo tee -a /etc/ssh/ssh_known_hosts 18:53:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:10 18:53:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:10 0.1.4: Pulling from edgex-devops/py-git-semver 18:53:10 b85a868b505f: Pulling fs layer 18:53:10 e2be974225ed: Pulling fs layer 18:53:10 339a4e72a1f5: Pulling fs layer 18:53:10 988bab9f4d93: Pulling fs layer 18:53:10 1469e6f7b9e6: Pulling fs layer 18:53:10 eaf3925da568: Pulling fs layer 18:53:10 bab4dde63d76: Pulling fs layer 18:53:10 bde34c3a00c8: Pulling fs layer 18:53:10 b352a97aabf1: Pulling fs layer 18:53:10 4872d77fe225: Pulling fs layer 18:53:10 5851b861e8e6: Pulling fs layer 18:53:10 1469e6f7b9e6: Waiting 18:53:10 eaf3925da568: Waiting 18:53:10 bab4dde63d76: Waiting 18:53:10 bde34c3a00c8: Waiting 18:53:10 988bab9f4d93: Waiting 18:53:10 b352a97aabf1: Waiting 18:53:10 5851b861e8e6: Waiting 18:53:10 e2be974225ed: Verifying Checksum 18:53:10 e2be974225ed: Download complete 18:53:10 988bab9f4d93: Verifying Checksum 18:53:10 988bab9f4d93: Download complete 18:53:10 1469e6f7b9e6: Verifying Checksum 18:53:10 1469e6f7b9e6: Download complete 18:53:11 339a4e72a1f5: Verifying Checksum 18:53:11 339a4e72a1f5: Download complete 18:53:11 eaf3925da568: Verifying Checksum 18:53:11 eaf3925da568: Download complete 18:53:11 bde34c3a00c8: Download complete 18:53:11 b352a97aabf1: Download complete 18:53:11 4872d77fe225: Download complete 18:53:11 5851b861e8e6: Verifying Checksum 18:53:11 5851b861e8e6: Download complete 18:53:11 b85a868b505f: Download complete 18:53:11 bab4dde63d76: Verifying Checksum 18:53:11 bab4dde63d76: Download complete 18:53:12 b85a868b505f: Pull complete 18:53:12 e2be974225ed: Pull complete 18:53:13 339a4e72a1f5: Pull complete 18:53:13 988bab9f4d93: Pull complete 18:53:13 1469e6f7b9e6: Pull complete 18:53:13 eaf3925da568: Pull complete 18:53:15 bab4dde63d76: Pull complete 18:53:15 bde34c3a00c8: Pull complete 18:53:15 b352a97aabf1: Pull complete 18:53:15 4872d77fe225: Pull complete 18:53:15 5851b861e8e6: Pull complete 18:53:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:53:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:53:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:15 prd-ubuntu20.04-docker-8c-8g-16035 does not seem to be running inside a container 18:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-251 -v /w/workspace/foundry_device-usb-camera_PR-251:/w/workspace/foundry_device-usb-camera_PR-251:rw,z -v /w/workspace/foundry_device-usb-camera_PR-251@tmp:/w/workspace/foundry_device-usb-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:53:18 $ docker top 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a -eo pid,comm 18:53:18 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). 18:53:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:53:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:18 [ssh-agent] Looking for ssh-agent implementation... 18:53:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:18 $ docker exec 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a ssh-agent 18:53:18 SSH_AUTH_SOCK=/tmp/ssh-McHt2E735l3m/agent.32 18:53:18 SSH_AGENT_PID=38 18:53:18 Running ssh-add (command line suppressed) 18:53:19 Identity added: /w/workspace/foundry_device-usb-camera_PR-251@tmp/private_key_7088605019379836913.key (/w/workspace/foundry_device-usb-camera_PR-251@tmp/private_key_7088605019379836913.key) 18:53:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:19 + git tag --points-at HEAD [Pipeline] } 18:53:19 $ docker exec --env ******** --env ******** 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a ssh-agent -k 18:53:19 unset SSH_AUTH_SOCK; 18:53:19 unset SSH_AGENT_PID; 18:53:19 echo Agent pid 38 killed; 18:53:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:53:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:53:19 [ssh-agent] Looking for ssh-agent implementation... 18:53:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:53:19 $ docker exec 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a ssh-agent 18:53:19 SSH_AUTH_SOCK=/tmp/ssh-3Zi4oOAwUn39/agent.70 18:53:19 SSH_AGENT_PID=76 18:53:19 Running ssh-add (command line suppressed) 18:53:19 Identity added: /w/workspace/foundry_device-usb-camera_PR-251@tmp/private_key_12673536861733387947.key (/w/workspace/foundry_device-usb-camera_PR-251@tmp/private_key_12673536861733387947.key) 18:53:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:53:20 + git semver init 18:53:20 2023-05-18 18:53:20,520 [run_init] DEBUG init version:0.0.0 force:False 18:53:20 2023-05-18 18:53:20,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-251/.semver 18:53:20 2023-05-18 18:53:20,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-251/.semver 18:53:20 2023-05-18 18:53:20,521 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-251/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-251, universal_newlines=False, shell=None, istream=None) 18:53:21 2023-05-18 18:53:21,158 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-251/.git/info/exclude 18:53:21 2023-05-18 18:53:21,159 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-251/.semver/PR-251 with force:False 18:53:21 2023-05-18 18:53:21,159 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-251/.semver/PR-251 18:53:21 2023-05-18 18:53:21,163 [execute] INFO git cat-file --batch-check 18:53:21 2023-05-18 18:53:21,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-251/.semver, universal_newlines=False, shell=None, istream=) 18:53:21 2023-05-18 18:53:21,170 [execute] INFO git cat-file --batch 18:53:21 2023-05-18 18:53:21,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-251/.semver, universal_newlines=False, shell=None, istream=) 18:53:21 2023-05-18 18:53:21,178 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-251/.semver/PR-251 18:53:21 0.0.0 [Pipeline] } 18:53:21 $ docker exec --env ******** --env ******** 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a ssh-agent -k 18:53:21 unset SSH_AUTH_SOCK; 18:53:21 unset SSH_AGENT_PID; 18:53:21 echo Agent pid 76 killed; 18:53:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:53:22 + git semver [Pipeline] } 18:53:22 $ docker stop --time=1 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a 18:53:23 $ docker rm -f --volumes 26136cee67bed07a9473ee072b7c95b2a56caa50b9730fd50d833aba8f73cd6a [Pipeline] // withDockerContainer [Pipeline] sh 18:53:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:53:24 Stashed 1 file(s) [Pipeline] echo 18:53:24 [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 18:53:24 provisioning config files... 18:53:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-251@tmp/config18101229843091328533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:25 ---> docker-login.sh 18:53:25 nexus3.edgexfoundry.org:10001 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 nexus3.edgexfoundry.org:10002 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 nexus3.edgexfoundry.org:10003 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 nexus3.edgexfoundry.org:10004 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 docker.io 18:53:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:53:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:53:25 Configure a credential helper to remove this warning. See 18:53:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:53:25 18:53:25 Login Succeeded 18:53:25 ---> docker-login.sh ends [Pipeline] } 18:53:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:53:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:53:26 ========================================================= 18:53:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:53:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:26 + 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 . 18:53:26 Sending build context to Docker daemon 1.883MB 18:53:26 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:53:26 Step 2/13 : FROM ${BASE} AS builder 18:53:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:53:26 f56be85fc22e: Pulling fs layer 18:53:26 85791d961cd3: Pulling fs layer 18:53:26 d694b5ae8c79: Pulling fs layer 18:53:26 9f32a84ed3da: Pulling fs layer 18:53:26 4d19c01a9841: Pulling fs layer 18:53:26 9325e15d5711: Pulling fs layer 18:53:26 556b6ee489ea: Pulling fs layer 18:53:26 c5a4b2cf53e6: Pulling fs layer 18:53:26 9f32a84ed3da: Waiting 18:53:26 4d19c01a9841: Waiting 18:53:26 9325e15d5711: Waiting 18:53:26 c5a4b2cf53e6: Waiting 18:53:26 556b6ee489ea: Waiting 18:53:26 85791d961cd3: Download complete 18:53:26 9f32a84ed3da: Verifying Checksum 18:53:26 9f32a84ed3da: Download complete 18:53:26 4d19c01a9841: Verifying Checksum 18:53:26 4d19c01a9841: Download complete 18:53:26 f56be85fc22e: Verifying Checksum 18:53:26 f56be85fc22e: Download complete 18:53:26 9325e15d5711: Verifying Checksum 18:53:26 9325e15d5711: Download complete 18:53:26 f56be85fc22e: Pull complete 18:53:27 85791d961cd3: Pull complete 18:53:27 c5a4b2cf53e6: Verifying Checksum 18:53:27 c5a4b2cf53e6: Download complete 18:53:27 d694b5ae8c79: Verifying Checksum 18:53:27 d694b5ae8c79: Download complete 18:53:27 556b6ee489ea: Verifying Checksum 18:53:27 556b6ee489ea: Download complete 18:53:30 d694b5ae8c79: Pull complete 18:53:30 9f32a84ed3da: Pull complete 18:53:30 4d19c01a9841: Pull complete 18:53:30 9325e15d5711: Pull complete 18:53:33 556b6ee489ea: Pull complete 18:53:34 c5a4b2cf53e6: Pull complete 18:53:34 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:53:34 ---> c4be618373d6 18:53:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:53:38 ---> Running in 65022be2a2ac 18:53:38 Removing intermediate container 65022be2a2ac 18:53:38 ---> 0a2d83a51b01 18:53:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:38 ---> Running in 9d7aa79988c1 18:53:38 Removing intermediate container 9d7aa79988c1 18:53:38 ---> b7afb8715a14 18:53:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:53:38 ---> Running in b7a64f74af05 18:53:38 Removing intermediate container b7a64f74af05 18:53:38 ---> 44b55d148460 18:53:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:53:38 ---> Running in c9ddc34f1f25 18:53:38 Removing intermediate container c9ddc34f1f25 18:53:38 ---> 1de8fe9b8e02 18:53:38 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:38 ---> Running in dde00a4ed559 18:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:39 (1/14) Installing libintl (0.21.1-r1) 18:53:39 (2/14) Installing eudev-libs (3.2.11-r4) 18:53:39 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:53:39 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:53:39 (5/14) Installing v4l-utils (1.22.1-r2) 18:53:39 (6/14) Installing udev-init-scripts (35-r1) 18:53:39 (7/14) Installing libblkid (2.38.1-r1) 18:53:39 (8/14) Installing xz-libs (5.2.9-r0) 18:53:39 (9/14) Installing zstd-libs (1.5.5-r0) 18:53:39 (10/14) Installing kmod-libs (30-r1) 18:53:39 (11/14) Installing eudev (3.2.11-r4) 18:53:39 (12/14) Installing eudev-dev (3.2.11-r4) 18:53:39 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:53:39 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:53:39 Executing busybox-1.35.0-r29.trigger 18:53:39 Executing eudev-3.2.11-r4.trigger 18:53:39 OK: 272 MiB in 67 packages 18:53:39 Still waiting to schedule task 18:53:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16034’ is offline 18:53:39 Removing intermediate container dde00a4ed559 18:53:39 ---> 8a9ed8a453ff 18:53:39 Step 8/13 : WORKDIR /device-usb-camera 18:53:40 ---> Running in c960966192f6 18:53:40 Removing intermediate container c960966192f6 18:53:40 ---> 2d88c14af754 18:53:40 Step 9/13 : COPY go.mod vendor* ./ 18:53:40 ---> e8892eb272f5 18:53:40 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:40 ---> Running in 4456c26b7830 18:54:18 Removing intermediate container 4456c26b7830 18:54:18 ---> 038f7291212a 18:54:18 Step 11/13 : COPY . . 18:54:18 ---> 58224b6ca35d 18:54:18 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:54:18 ---> Running in 3a11d4e71b2a 18:54:18  % Total % Received % Xferd Average Speed Time Time Time Current 18:54:18 Dload Upload Total Spent Left Speed 18:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5779 0 --:--:-- --:--:-- --:--:-- 5803 18:54:18 Removing intermediate container 3a11d4e71b2a 18:54:18 ---> b32b502791fc 18:54:18 Step 13/13 : RUN ${MAKE} 18:54:18 ---> Running in 3243bfd7b9c6 18:54:18 noop 18:54:18 Removing intermediate container 3243bfd7b9c6 18:54:18 ---> 7771bf671250 18:54:18 Successfully built 7771bf671250 18:54:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:19 + docker inspect -f . ci-base-image-x86_64 18:54:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:19 prd-ubuntu20.04-docker-8c-8g-16035 does not seem to be running inside a container 18:54:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-251 -v /w/workspace/foundry_device-usb-camera_PR-251:/w/workspace/foundry_device-usb-camera_PR-251:rw,z -v /w/workspace/foundry_device-usb-camera_PR-251@tmp:/w/workspace/foundry_device-usb-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:19 $ docker top 6c59f5affbc27b8ab02e60cc474ff695ff4535a91517bc94d16b3e818110f980 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:20 + go version 18:54:20 go version go1.20.2 linux/amd64 [Pipeline] } 18:54:20 $ docker stop --time=1 6c59f5affbc27b8ab02e60cc474ff695ff4535a91517bc94d16b3e818110f980 18:54:21 $ docker rm -f --volumes 6c59f5affbc27b8ab02e60cc474ff695ff4535a91517bc94d16b3e818110f980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:22 + docker inspect -f . ci-base-image-x86_64 18:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:22 prd-ubuntu20.04-docker-8c-8g-16035 does not seem to be running inside a container 18:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-251 -v /w/workspace/foundry_device-usb-camera_PR-251:/w/workspace/foundry_device-usb-camera_PR-251:rw,z -v /w/workspace/foundry_device-usb-camera_PR-251@tmp:/w/workspace/foundry_device-usb-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:54:22 $ docker top 752d2c24a0ac0ce7cc75d01ec18c608a017c98deac98739818789443baaae82d -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:23 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-251 [Pipeline] fileExists [Pipeline] sh 18:54:23 + make test 18:54:23 go test ./... -coverprofile=coverage.out ./... 18:54:28 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:54:44 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:54:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.8% of statements 18:54:51 go vet ./... 18:54:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:55 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:55 $ docker stop --time=1 752d2c24a0ac0ce7cc75d01ec18c608a017c98deac98739818789443baaae82d 18:54:58 $ docker rm -f --volumes 752d2c24a0ac0ce7cc75d01ec18c608a017c98deac98739818789443baaae82d [Pipeline] // withDockerContainer [Pipeline] sh 18:54:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:55:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:00 + ls -al . 18:55:00 total 188 18:55:00 drwxrwxr-x 10 jenkins jenkins 4096 May 18 18:54 . 18:55:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:52 .. 18:55:00 drwxrwxr-x 8 jenkins jenkins 4096 May 18 18:53 .git 18:55:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:52 .github 18:55:00 -rw-rw-r-- 1 jenkins jenkins 414 May 18 18:52 .gitignore 18:55:00 -rw-rw-r-- 1 jenkins jenkins 42 May 18 18:52 .golangci.yml 18:55:00 -rw-rw-r-- 1 jenkins jenkins 77 May 18 18:52 .hadolint.yml 18:55:00 drwxr-xr-x 3 jenkins jenkins 4096 May 18 18:53 .semver 18:55:00 -rw-rw-r-- 1 jenkins jenkins 9665 May 18 18:52 Attribution.txt 18:55:00 -rw-rw-r-- 1 jenkins jenkins 6219 May 18 18:52 CHANGELOG.md 18:55:00 -rw-rw-r-- 1 jenkins jenkins 2453 May 18 18:52 Dockerfile 18:55:00 -rw-rw-r-- 1 jenkins jenkins 678 May 18 18:52 GOVERNANCE.md 18:55:00 -rw-rw-r-- 1 jenkins jenkins 659 May 18 18:52 Jenkinsfile 18:55:00 -rw-rw-r-- 1 jenkins jenkins 11348 May 18 18:52 LICENSE 18:55:00 -rw-rw-r-- 1 jenkins jenkins 2364 May 18 18:52 Makefile 18:55:00 -rw-rw-r-- 1 jenkins jenkins 622 May 18 18:52 OWNERS.md 18:55:00 -rw-rw-r-- 1 jenkins jenkins 2477 May 18 18:52 README.md 18:55:00 -rw-rw-r-- 1 jenkins jenkins 5 May 18 18:53 VERSION 18:55:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:52 bin 18:55:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:52 cmd 18:55:00 -rw-r--r-- 1 jenkins jenkins 31522 May 18 18:54 coverage.out 18:55:00 -rwxrwxr-x 1 jenkins jenkins 140 May 18 18:52 docker-entrypoint.sh 18:55:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:52 docs 18:55:00 -rw-rw-r-- 1 jenkins jenkins 3419 May 18 18:52 go.mod 18:55:00 -rw-rw-r-- 1 jenkins jenkins 31488 May 18 18:52 go.sum 18:55:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:52 internal 18:55:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:52 snap 18:55:00 -rw-rw-r-- 1 jenkins jenkins 231 May 18 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:00 + 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=890f983fecd1497bd13a158ae51900a3e12b6bc9 --label arch=amd64 --label version=0.0.0 . 18:55:00 Sending build context to Docker daemon 1.915MB 18:55:00 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:55:00 Step 2/36 : FROM ${BASE} AS builder 18:55:00 ---> 7771bf671250 18:55:00 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:55:00 ---> Running in 66cdbea7cab8 18:55:01 Removing intermediate container 66cdbea7cab8 18:55:01 ---> b0bb28fa70a4 18:55:01 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:01 ---> Running in 9bf26f993ecd 18:55:01 Removing intermediate container 9bf26f993ecd 18:55:01 ---> b6a4c48e8531 18:55:01 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:55:01 ---> Running in 8df1f7aa674c 18:55:01 Removing intermediate container 8df1f7aa674c 18:55:01 ---> 93b17ce18b16 18:55:01 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:55:01 ---> Running in 5e058ceb6899 18:55:01 Removing intermediate container 5e058ceb6899 18:55:01 ---> e67083afa0d1 18:55:01 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:01 ---> Running in 18a19470c061 18:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:01 OK: 272 MiB in 67 packages 18:55:02 Removing intermediate container 18a19470c061 18:55:02 ---> 1b324442c2fe 18:55:02 Step 8/36 : WORKDIR /device-usb-camera 18:55:02 ---> Running in d8d4ca8d8da8 18:55:02 Removing intermediate container d8d4ca8d8da8 18:55:02 ---> cc1e3f97f1f8 18:55:02 Step 9/36 : COPY go.mod vendor* ./ 18:55:02 ---> f376bd33ae78 18:55:02 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:02 ---> Running in fe51f8ad0080 18:55:02 Removing intermediate container fe51f8ad0080 18:55:02 ---> fcb5ec146c8a 18:55:02 Step 11/36 : COPY . . 18:55:03 ---> ca62dcecaa42 18:55:03 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:55:03 ---> Running in ff8d1b1c53aa 18:55:03  % Total % Received % Xferd Average Speed Time Time Time Current 18:55:03 Dload Upload Total Spent Left Speed 18:55:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0    0  20009     0 --:--:-- --:--:-- --:--:-- 20423 18:55:03 Removing intermediate container ff8d1b1c53aa 18:55:03 ---> eaaf4f2174b6 18:55:03 Step 13/36 : RUN ${MAKE} 18:55:03 ---> Running in 12a1d26b3308 18:55:04 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:55:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16036 in /w/workspace/foundry_device-usb-camera_PR-251 [Pipeline] { [Pipeline] ws 18:55:26 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:55:26 Selected Git installation does not exist. Using Default 18:55:26 The recommended git tool is: NONE 18:55:30 Removing intermediate container 12a1d26b3308 18:55:30 ---> f25624e99af5 18:55:30 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:55:30 v0.21.6: Pulling from aler9/rtsp-simple-server 18:55:30 4acc49c71d14: Pulling fs layer 18:55:30 4acc49c71d14: Download complete 18:55:30 4acc49c71d14: Pull complete 18:55:30 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:55:30 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:55:30 ---> 01a2bd3e5fff 18:55:30 Step 15/36 : FROM alpine:3.17 18:55:30 3.17: Pulling from library/alpine 18:55:30 f56be85fc22e: Already exists 18:55:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:55:30 Status: Downloaded newer image for alpine:3.17 18:55:30 ---> 9ed4aefc74f6 18:55:30 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:55:30 ---> Running in 9d07e21ef20b 18:55:30 Removing intermediate container 9d07e21ef20b 18:55:30 ---> 2b543fa3ca70 18:55:30 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:55:30 ---> Running in 479ee4b5d393 18:55:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:30 (1/86) Installing dumb-init (1.2.5-r2) 18:55:30 (2/86) Installing sdl2 (2.26.5-r0) 18:55:30 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:55:30 (4/86) Installing libxau (1.0.10-r0) 18:55:30 (5/86) Installing libmd (1.0.4-r0) 18:55:30 (6/86) Installing libbsd (0.11.7-r0) 18:55:30 (7/86) Installing libxdmcp (1.1.4-r0) 18:55:30 (8/86) Installing libxcb (1.15-r0) 18:55:30 (9/86) Installing libx11 (1.8.4-r0) 18:55:30 (10/86) Installing aom-libs (3.5.0-r0) 18:55:30 (11/86) Installing alsa-lib (1.2.8-r0) 18:55:30 (12/86) Installing libexpat (2.5.0-r0) 18:55:30 (13/86) Installing brotli-libs (1.0.9-r9) 18:55:30 (14/86) Installing libbz2 (1.0.8-r4) 18:55:30 (15/86) Installing libpng (1.6.38-r0) 18:55:30 (16/86) Installing freetype (2.12.1-r0) 18:55:30 (17/86) Installing fontconfig (2.14.1-r0) 18:55:30 (18/86) Installing fribidi (1.0.12-r0) 18:55:30 (19/86) Installing libffi (3.4.4-r0) 18:55:30 (20/86) Installing libintl (0.21.1-r1) 18:55:30 (21/86) Installing libblkid (2.38.1-r1) 18:55:30 (22/86) Installing libmount (2.38.1-r1) 18:55:30 (23/86) Installing pcre2 (10.42-r0) 18:55:30 (24/86) Installing glib (2.74.6-r0) 18:55:30 (25/86) Installing graphite2 (1.3.14-r2) 18:55:30 (26/86) Installing harfbuzz (5.3.1-r1) 18:55:30 (27/86) Installing libass (0.16.0-r1) 18:55:30 (28/86) Installing libdav1d (1.0.0-r2) 18:55:30 (29/86) Installing hwdata-pci (0.364-r0) 18:55:30 (30/86) Installing libpciaccess (0.17-r0) 18:55:30 (31/86) Installing libdrm (2.4.114-r0) 18:55:30 (32/86) Installing gmp (6.2.1-r2) 18:55:30 (33/86) Installing nettle (3.8.1-r0) 18:55:30 (34/86) Installing p11-kit (0.24.1-r1) 18:55:30 (35/86) Installing libtasn1 (4.19.0-r0) 18:55:30 (36/86) Installing libunistring (1.1-r0) 18:55:30 (37/86) Installing gnutls (3.7.8-r3) 18:55:30 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:55:30 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 18:55:30 (40/86) Installing lame (3.100-r2) 18:55:30 (41/86) Installing opus (1.3.1-r1) 18:55:30 (42/86) Installing libasyncns (0.8-r1) 18:55:30 (43/86) Installing dbus-libs (1.14.4-r0) 18:55:30 (44/86) Installing libltdl (2.4.7-r1) 18:55:30 (45/86) Installing orc (0.4.33-r0) 18:55:30 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:55:30 (47/86) Installing libogg (1.3.5-r2) 18:55:30 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:55:30 (49/86) Installing flac-libs (1.4.2-r0) 18:55:30 (50/86) Installing libvorbis (1.3.7-r0) 18:55:30 (51/86) Installing libsndfile (1.1.0-r2) 18:55:30 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:55:30 (53/86) Installing soxr (0.1.3-r3) 18:55:30 (54/86) Installing speexdsp (1.2.1-r0) 18:55:30 (55/86) Installing tdb-libs (1.4.6-r0) 18:55:30 (56/86) Installing libpulse (16.1-r6) 18:55:30 (57/86) Installing cjson (1.7.15-r3) 18:55:30 (58/86) Installing mbedtls (2.28.3-r0) 18:55:30 (59/86) Installing librist (0.2.7-r0) 18:55:30 (60/86) Installing libsrt (1.5.1-r0) 18:55:30 (61/86) Installing libssh (0.10.5-r0) 18:55:30 (62/86) Installing libtheora (1.1.1-r16) 18:55:30 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:55:30 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:55:30 (65/86) Installing libxext (1.3.5-r0) 18:55:30 (66/86) Installing libxfixes (6.0.0-r0) 18:55:30 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:55:30 (68/86) Installing libva (2.16.0-r0) 18:55:30 (69/86) Installing libvdpau (1.5-r0) 18:55:30 (70/86) Installing vidstab (1.1.0-r2) 18:55:30 (71/86) Installing libvpx (1.12.0-r1) 18:55:30 (72/86) Installing libwebp (1.2.4-r1) 18:55:30 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:55:30 (74/86) Installing numactl (2.0.16-r1) 18:55:30 (75/86) Installing x265-libs (3.5-r3) 18:55:30 (76/86) Installing xvidcore (1.3.7-r1) 18:55:30 (77/86) Installing libsodium (1.0.18-r2) 18:55:30 (78/86) Installing libzmq (4.3.4-r1) 18:55:30 (79/86) Installing ffmpeg-libs (5.1.3-r0) 18:55:30 (80/86) Installing ffmpeg (5.1.3-r0) 18:55:30 (81/86) Installing udev-init-scripts (35-r1) 18:55:30 (82/86) Installing eudev-libs (3.2.11-r4) 18:55:30 (83/86) Installing xz-libs (5.2.9-r0) 18:55:30 (84/86) Installing zstd-libs (1.5.5-r0) 18:55:30 (85/86) Installing kmod-libs (30-r1) 18:55:30 (86/86) Installing eudev (3.2.11-r4) 18:55:30 Executing busybox-1.35.0-r29.trigger 18:55:30 Executing eudev-3.2.11-r4.trigger 18:55:30 OK: 112 MiB in 101 packages 18:55:32 using credential edgex-jenkins-ssh 18:55:32 Cloning the remote Git repository 18:55:32 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:55:33 Removing intermediate container 479ee4b5d393 18:55:33 ---> 990279477ff5 18:55:33 Step 18/36 : WORKDIR / 18:55:33 ---> Running in 3d2785bcebf9 18:55:33 Removing intermediate container 3d2785bcebf9 18:55:33 ---> 9c62c993a612 18:55:33 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:55:32 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:55:32 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:55:32 > git --version # timeout=10 18:55:32 > git --version # 'git version 2.25.1' 18:55:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:33 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:55:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:55:33 ---> 3b50bc4e99fc 18:55:33 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:55:33 ---> aacb532fe173 18:55:33 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:55:34 ---> 047ca2b91c6e 18:55:34 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:55:34 ---> 24edd2ac90f7 18:55:34 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:55:34 ---> 2789104592e8 18:55:34 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:55:34 ---> 0bdab9b1d4f7 18:55:34 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:55:34 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:55:34 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/251/head:refs/remotes/origin/PR-251 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:55:35 Merging remotes/origin/main commit 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 into PR head commit 890f983fecd1497bd13a158ae51900a3e12b6bc9 18:55:35 ---> cd4d93976b45 18:55:35 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:55:35 ---> Running in b45feb71cee5 18:55:35 Merge succeeded, producing 890f983fecd1497bd13a158ae51900a3e12b6bc9 18:55:35 Checking out Revision 890f983fecd1497bd13a158ae51900a3e12b6bc9 (PR-251) 18:55:35 Removing intermediate container b45feb71cee5 18:55:35 ---> 3be6ce5e710a 18:55:35 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:55:35 ---> Running in 0d8e91c0379b 18:55:35 > git config core.sparsecheckout # timeout=10 18:55:35 > git checkout -f 890f983fecd1497bd13a158ae51900a3e12b6bc9 # timeout=10 18:55:35 > git remote # timeout=10 18:55:35 > git config --get remote.origin.url # timeout=10 18:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:55:35 > git merge 23ab5d3232aae9ebcc980b480ff01f5cb77cb5c1 # timeout=10 18:55:35 > git rev-parse HEAD^{commit} # timeout=10 18:55:35 > git config core.sparsecheckout # timeout=10 18:55:35 > git checkout -f 890f983fecd1497bd13a158ae51900a3e12b6bc9 # timeout=10 18:55:36 Removing intermediate container 0d8e91c0379b 18:55:36 ---> c00dcfbd760f 18:55:36 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:55:36 ---> Running in f5228661320d 18:55:37 Removing intermediate container f5228661320d 18:55:37 ---> e9260dc3deb3 18:55:37 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:55:37 ---> Running in 1f9655bdeb9b 18:55:37 Removing intermediate container 1f9655bdeb9b 18:55:37 ---> a61017997163 18:55:37 Step 30/36 : EXPOSE 59983 18:55:37 ---> Running in a4c27babff6d 18:55:37 Removing intermediate container a4c27babff6d 18:55:37 ---> 66770754e258 18:55:37 Step 31/36 : EXPOSE 8554 18:55:37 ---> Running in a55914dd11e9 18:55:37 Removing intermediate container a55914dd11e9 18:55:37 ---> 927fe857d95c 18:55:37 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:55:37 ---> Running in 975226d65885 18:55:37 Removing intermediate container 975226d65885 18:55:37 ---> 9439f7e49346 18:55:37 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:55:37 ---> Running in 4f52463cfe98 18:55:37 Removing intermediate container 4f52463cfe98 18:55:37 ---> 06c02d12e854 18:55:37 Step 34/36 : LABEL arch=amd64 18:55:37 ---> Running in 93cee98bdc83 18:55:37 Removing intermediate container 93cee98bdc83 18:55:37 ---> 23f525b8e0be 18:55:37 Step 35/36 : LABEL git_sha=890f983fecd1497bd13a158ae51900a3e12b6bc9 18:55:37 ---> Running in f60625ea069d 18:55:38 Removing intermediate container f60625ea069d 18:55:38 ---> 3b9a3b8b88be 18:55:38 Step 36/36 : LABEL version=0.0.0 18:55:38 ---> Running in 63e1b8b98fa6 18:55:38 Removing intermediate container 63e1b8b98fa6 18:55:38 ---> cf635119ca82 18:55:38 [Warning] One or more build-args [ARCH] were not consumed 18:55:38 Successfully built cf635119ca82 18:55:38 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 18:55:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:39 18:55:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 18:55:39 Commit message: "docs: updated collection from v2 to v3" [Pipeline] sh 18:55:39 > git --version # timeout=10 18:55:39 > git --version # 'git version 2.25.1' 18:55:39 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:55:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:39 latest: Pulling from edgex-lftools-log-publisher 18:55:39 5eb5b503b376: Pulling fs layer 18:55:39 5c69ac0246d0: Pulling fs layer 18:55:39 ec43610c2a17: Pulling fs layer 18:55:39 3a2ae6a8a46f: Pulling fs layer 18:55:39 33b1e0a273af: Pulling fs layer 18:55:39 5d3b04190fa2: Pulling fs layer 18:55:39 2f39f015ded8: Pulling fs layer 18:55:39 33b1e0a273af: Waiting 18:55:39 5d3b04190fa2: Waiting 18:55:39 2f39f015ded8: Waiting 18:55:39 3a2ae6a8a46f: Waiting 18:55:39 5c69ac0246d0: Download complete 18:55:39 3a2ae6a8a46f: Verifying Checksum 18:55:39 3a2ae6a8a46f: Download complete 18:55:39 33b1e0a273af: Verifying Checksum 18:55:39 33b1e0a273af: Download complete 18:55:39 5d3b04190fa2: Download complete 18:55:39 ec43610c2a17: Verifying Checksum 18:55:39 ec43610c2a17: Download complete 18:55:39 18:55:39 GitHub has been notified of this commit’s build result 18:55:39 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 18:55:39 5eb5b503b376: Verifying Checksum 18:55:39 5eb5b503b376: Download complete [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:40 2f39f015ded8: Download complete 18:55:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:55:40 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:40 Dload Upload Total Spent Left Speed 18:55:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 18:55:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 18:55:41 5eb5b503b376: Pull complete 18:55:41 5c69ac0246d0: Pull complete [Pipeline] sh 18:55:41 ec43610c2a17: Pull complete 18:55:41 + sudo tee /etc/docker/daemon.new 18:55:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:55:41 { 18:55:41 "registry-mirrors": [ 18:55:41 "https://nexus3.edgexfoundry.org:10001" 18:55:41 ], 18:55:41 "bip": "10.250.0.254/24", 18:55:41 "hosts": [ 18:55:41 "tcp://0.0.0.0:5555", 18:55:41 "unix:///var/run/docker.sock" 18:55:41 ], 18:55:41 "mtu": 1458, 18:55:41 "selinux-enabled": true, 18:55:41 "seccomp-profile": "/etc/docker/seccomp.json" 18:55:41 } [Pipeline] sh 18:55:41 3a2ae6a8a46f: Pull complete 18:55:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:55:41 33b1e0a273af: Pull complete 18:55:41 5d3b04190fa2: Pull complete 18:55:42 + sudo service docker restart 18:55:46 2f39f015ded8: Pull complete 18:55:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:46 prd-ubuntu20.04-docker-8c-8g-16035 does not seem to be running inside a container 18:55:46 $ 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-251 -v /w/workspace/foundry_device-usb-camera_PR-251:/w/workspace/foundry_device-usb-camera_PR-251:rw,z -v /w/workspace/foundry_device-usb-camera_PR-251@tmp:/w/workspace/foundry_device-usb-camera_PR-251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:55:51 $ docker top bf023663579acf8e89ceec72f37d96d710e7faa09a475122b96a3fd27efc4d8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:51 ---> job-cost.sh 18:55:51 lf-activate-venv: SKIPPING 18:55:51 INFO: No Stack... 18:55:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:52 INFO: Archiving Costs [Pipeline] sh 18:55:52 + cat /w/workspace/foundry_device-usb-camera_PR-251/archives/cost.csv 18:55:52 + cut -d, -f6 [Pipeline] lock 18:55:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] 18:55:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] did not exist. Created. 18:55:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:53 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:53 Stashed 1 file(s) [Pipeline] } 18:55:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:53 $ docker stop --time=1 bf023663579acf8e89ceec72f37d96d710e7faa09a475122b96a3fd27efc4d8a 18:55:54 $ docker rm -f --volumes bf023663579acf8e89ceec72f37d96d710e7faa09a475122b96a3fd27efc4d8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:00 provisioning config files... 18:56:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config266223116765089905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> docker-login.sh 18:56:01 nexus3.edgexfoundry.org:10001 18:56:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:01 Configure a credential helper to remove this warning. See 18:56:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:01 18:56:01 Login Succeeded 18:56:01 nexus3.edgexfoundry.org:10002 18:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:02 Configure a credential helper to remove this warning. See 18:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:02 18:56:02 Login Succeeded 18:56:02 nexus3.edgexfoundry.org:10003 18:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:02 Configure a credential helper to remove this warning. See 18:56:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:02 18:56:02 Login Succeeded 18:56:02 nexus3.edgexfoundry.org:10004 18:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:03 Configure a credential helper to remove this warning. See 18:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:03 18:56:03 Login Succeeded 18:56:03 docker.io 18:56:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:03 Configure a credential helper to remove this warning. See 18:56:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:03 18:56:03 Login Succeeded 18:56:03 ---> docker-login.sh ends [Pipeline] } 18:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:56:04 ========================================================= 18:56:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:56:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:04 + 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 . 18:56:04 Sending build context to Docker daemon 1.112MB 18:56:04 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:56:04 Step 2/13 : FROM ${BASE} AS builder 18:56:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:56:05 c41833b44d91: Pulling fs layer 18:56:05 ed15518f5707: Pulling fs layer 18:56:05 feae8fd75edb: Pulling fs layer 18:56:05 242c74f7c9fa: Pulling fs layer 18:56:05 3cdef696dda3: Pulling fs layer 18:56:05 2ced38df9373: Pulling fs layer 18:56:05 58f1dce35555: Pulling fs layer 18:56:05 242c74f7c9fa: Waiting 18:56:05 3cdef696dda3: Waiting 18:56:05 2ced38df9373: Waiting 18:56:05 58f1dce35555: Waiting 18:56:05 ed15518f5707: Verifying Checksum 18:56:05 ed15518f5707: Download complete 18:56:05 242c74f7c9fa: Download complete 18:56:05 3cdef696dda3: Verifying Checksum 18:56:05 3cdef696dda3: Download complete 18:56:05 c41833b44d91: Verifying Checksum 18:56:05 c41833b44d91: Download complete 18:56:06 c41833b44d91: Pull complete 18:56:06 58f1dce35555: Verifying Checksum 18:56:06 58f1dce35555: Download complete 18:56:06 ed15518f5707: Pull complete 18:56:07 feae8fd75edb: Verifying Checksum 18:56:07 feae8fd75edb: Download complete 18:56:07 2ced38df9373: Verifying Checksum 18:56:07 2ced38df9373: Download complete 18:56:20 feae8fd75edb: Pull complete 18:56:20 242c74f7c9fa: Pull complete 18:56:20 3cdef696dda3: Pull complete 18:56:25 2ced38df9373: Pull complete 18:56:27 58f1dce35555: Pull complete 18:56:27 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:56:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:56:27 ---> fadd8f120f05 18:56:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:56:28 ---> Running in 83694ddabb3c 18:56:29 Removing intermediate container 83694ddabb3c 18:56:29 ---> 52a0f027ef8d 18:56:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:29 ---> Running in 98a2d932cc36 18:56:29 Removing intermediate container 98a2d932cc36 18:56:29 ---> 9206d0595898 18:56:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:56:29 ---> Running in 856de4109b9a 18:56:30 Removing intermediate container 856de4109b9a 18:56:30 ---> 06f33ca06cea 18:56:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:56:30 ---> Running in d5038bb44711 18:56:30 Removing intermediate container d5038bb44711 18:56:30 ---> d7f17b9383ee 18:56:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:30 ---> Running in 886808dcf02b 18:56:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:56:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:56:33 (1/14) Installing libintl (0.21.1-r1) 18:56:33 (2/14) Installing eudev-libs (3.2.11-r4) 18:56:33 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:56:33 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:56:33 (5/14) Installing v4l-utils (1.22.1-r2) 18:56:33 (6/14) Installing udev-init-scripts (35-r1) 18:56:33 (7/14) Installing libblkid (2.38.1-r1) 18:56:33 (8/14) Installing xz-libs (5.2.9-r0) 18:56:33 (9/14) Installing zstd-libs (1.5.5-r0) 18:56:33 (10/14) Installing kmod-libs (30-r1) 18:56:33 (11/14) Installing eudev (3.2.11-r4) 18:56:33 (12/14) Installing eudev-dev (3.2.11-r4) 18:56:33 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:56:33 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:56:33 Executing busybox-1.35.0-r29.trigger 18:56:33 Executing eudev-3.2.11-r4.trigger 18:56:33 OK: 271 MiB in 67 packages 18:56:36 Removing intermediate container 886808dcf02b 18:56:36 ---> 4e986b850660 18:56:36 Step 8/13 : WORKDIR /device-usb-camera 18:56:36 ---> Running in fcd859959af9 18:56:36 Removing intermediate container fcd859959af9 18:56:36 ---> 9eff080d729d 18:56:36 Step 9/13 : COPY go.mod vendor* ./ 18:56:37 ---> d93b90335985 18:56:37 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:56:37 ---> Running in e4821992c99a 18:57:45 Removing intermediate container e4821992c99a 18:57:45 ---> 3cdc2d5c03fc 18:57:45 Step 11/13 : COPY . . 18:57:45 ---> 8baae07682a1 18:57:45 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:57:45 ---> Running in e6a056b2edc4 18:57:45  % Total % Received % Xferd Average Speed Time Time Time Current 18:57:45 Dload Upload Total Spent Left Speed 18:57:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3714 0 --:--:-- --:--:-- --:--:-- 3726 18:57:45 Removing intermediate container e6a056b2edc4 18:57:45 ---> 2ae94e6a36ff 18:57:45 Step 13/13 : RUN ${MAKE} 18:57:45 ---> Running in 01b489d341bc 18:57:45 noop 18:57:46 Removing intermediate container 01b489d341bc 18:57:46 ---> de28a31fc78f 18:57:46 Successfully built de28a31fc78f 18:57:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:46 + docker inspect -f . ci-base-image-arm64 18:57:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:46 prd-ubuntu20.04-docker-arm64-4c-16g-16036 does not seem to be running inside a container 18:57:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:57:48 $ docker top 7eca57d79bb1ff427d4ba289d715d5381f52902629350636a7079cfabcac88b3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:49 + go version 18:57:49 go version go1.20.2 linux/arm64 [Pipeline] } 18:57:49 $ docker stop --time=1 7eca57d79bb1ff427d4ba289d715d5381f52902629350636a7079cfabcac88b3 18:57:50 $ docker rm -f --volumes 7eca57d79bb1ff427d4ba289d715d5381f52902629350636a7079cfabcac88b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:51 + docker inspect -f . ci-base-image-arm64 18:57:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:52 prd-ubuntu20.04-docker-arm64-4c-16g-16036 does not seem to be running inside a container 18:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:57:53 $ docker top 5a9bae0bf65ae5da0c4f612be098bc25aaefa5edab4205c00b366393240d192c -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:54 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:57:55 + make test 18:57:55 go test ./... -coverprofile=coverage.out ./... 18:58:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 19:00:40 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 19:00:44 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.079s coverage: 1.8% of statements 19:00:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:00:44 go vet ./... 19:01:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:17 $ docker stop --time=1 5a9bae0bf65ae5da0c4f612be098bc25aaefa5edab4205c00b366393240d192c 19:01:19 $ docker rm -f --volumes 5a9bae0bf65ae5da0c4f612be098bc25aaefa5edab4205c00b366393240d192c [Pipeline] // withDockerContainer [Pipeline] sh 19:01:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:21 Warning: overwriting stash ‘coverage-report’ 19:01:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:01:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:23 + ls -al . 19:01:23 total 184 19:01:23 drwxrwxr-x 9 jenkins jenkins 4096 May 18 18:57 . 19:01:23 drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:55 .. 19:01:23 drwxrwxr-x 8 jenkins jenkins 4096 May 18 18:55 .git 19:01:23 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:55 .github 19:01:23 -rw-rw-r-- 1 jenkins jenkins 414 May 18 18:55 .gitignore 19:01:23 -rw-rw-r-- 1 jenkins jenkins 42 May 18 18:55 .golangci.yml 19:01:23 -rw-rw-r-- 1 jenkins jenkins 77 May 18 18:55 .hadolint.yml 19:01:23 -rw-rw-r-- 1 jenkins jenkins 9665 May 18 18:55 Attribution.txt 19:01:23 -rw-rw-r-- 1 jenkins jenkins 6219 May 18 18:55 CHANGELOG.md 19:01:23 -rw-rw-r-- 1 jenkins jenkins 2453 May 18 18:55 Dockerfile 19:01:23 -rw-rw-r-- 1 jenkins jenkins 678 May 18 18:55 GOVERNANCE.md 19:01:23 -rw-rw-r-- 1 jenkins jenkins 659 May 18 18:55 Jenkinsfile 19:01:23 -rw-rw-r-- 1 jenkins jenkins 11348 May 18 18:55 LICENSE 19:01:23 -rw-rw-r-- 1 jenkins jenkins 2364 May 18 18:55 Makefile 19:01:23 -rw-rw-r-- 1 jenkins jenkins 622 May 18 18:55 OWNERS.md 19:01:23 -rw-rw-r-- 1 jenkins jenkins 2477 May 18 18:55 README.md 19:01:23 -rw-rw-r-- 1 jenkins jenkins 5 May 18 18:53 VERSION 19:01:23 drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:55 bin 19:01:23 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:55 cmd 19:01:23 -rw-r--r-- 1 jenkins jenkins 31522 May 18 19:00 coverage.out 19:01:23 -rwxrwxr-x 1 jenkins jenkins 140 May 18 18:55 docker-entrypoint.sh 19:01:23 drwxrwxr-x 2 jenkins jenkins 4096 May 18 18:55 docs 19:01:23 -rw-rw-r-- 1 jenkins jenkins 3419 May 18 18:55 go.mod 19:01:23 -rw-rw-r-- 1 jenkins jenkins 31488 May 18 18:55 go.sum 19:01:23 drwxrwxr-x 3 jenkins jenkins 4096 May 18 18:55 internal 19:01:23 drwxrwxr-x 4 jenkins jenkins 4096 May 18 18:55 snap 19:01:23 -rw-rw-r-- 1 jenkins jenkins 231 May 18 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:23 + 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=890f983fecd1497bd13a158ae51900a3e12b6bc9 --label arch=arm64 --label version=0.0.0 . 19:01:24 Sending build context to Docker daemon 1.144MB 19:01:24 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 19:01:24 Step 2/36 : FROM ${BASE} AS builder 19:01:24 ---> de28a31fc78f 19:01:24 Step 3/36 : ARG ADD_BUILD_TAGS="" 19:01:24 ---> Running in 1ae19e24c05f 19:01:24 Removing intermediate container 1ae19e24c05f 19:01:24 ---> c0043bf7c2da 19:01:24 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:24 ---> Running in 458e0cd04973 19:01:24 Removing intermediate container 458e0cd04973 19:01:24 ---> fec5483b392f 19:01:24 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 19:01:25 ---> Running in 537a86da09d2 19:01:25 Removing intermediate container 537a86da09d2 19:01:25 ---> 8ae9f499ff7b 19:01:25 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 19:01:25 ---> Running in ea012b81ac8f 19:01:25 Removing intermediate container ea012b81ac8f 19:01:25 ---> bd1829994dd9 19:01:25 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:25 ---> Running in 7111f9a4c295 19:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:01:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:01:28 OK: 271 MiB in 67 packages 19:01:29 Removing intermediate container 7111f9a4c295 19:01:29 ---> ba600c6305b0 19:01:29 Step 8/36 : WORKDIR /device-usb-camera 19:01:29 ---> Running in 31e93c195d43 19:01:30 Removing intermediate container 31e93c195d43 19:01:30 ---> 7bc26f70caa5 19:01:30 Step 9/36 : COPY go.mod vendor* ./ 19:01:30 ---> ad8680493264 19:01:30 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:30 ---> Running in 65d6ae0a2b8a 19:01:35 Removing intermediate container 65d6ae0a2b8a 19:01:35 ---> 4cbe2d3e54f4 19:01:35 Step 11/36 : COPY . . 19:01:35 ---> af7d2421ac1b 19:01:35 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 19:01:35 ---> Running in cad55fb3df65 19:01:36  % Total % Received % Xferd Average Speed Time Time Time Current 19:01:36 Dload Upload Total  Spent Left Speed 19:01:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2699 0 --:--:-- --:--:-- --:--:-- 2709 19:01:38 Removing intermediate container cad55fb3df65 19:01:38 ---> 49e90719889d 19:01:38 Step 13/36 : RUN ${MAKE} 19:01:38 ---> Running in 34bdbc6961f3 19:01:38 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 19:04:30 Removing intermediate container 34bdbc6961f3 19:04:30 ---> 5c2fb155a6a6 19:04:30 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 19:04:30 v0.21.6: Pulling from aler9/rtsp-simple-server 19:04:30 8766b47fe142: Pulling fs layer 19:04:30 8766b47fe142: Verifying Checksum 19:04:30 8766b47fe142: Download complete 19:04:30 8766b47fe142: Pull complete 19:04:30 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 19:04:30 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 19:04:30 ---> 69d40e2cb93c 19:04:30 Step 15/36 : FROM alpine:3.17 19:04:30 3.17: Pulling from library/alpine 19:04:30 c41833b44d91: Already exists 19:04:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:04:30 Status: Downloaded newer image for alpine:3.17 19:04:30 ---> 51e60588ff2c 19:04:30 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:04:30 ---> Running in 63be68f88e0d 19:04:30 Removing intermediate container 63be68f88e0d 19:04:30 ---> d43eaabcdf03 19:04:30 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 19:04:30 ---> Running in d7116a46fe6a 19:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:04:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:04:30 (1/83) Installing dumb-init (1.2.5-r2) 19:04:30 (2/83) Installing sdl2 (2.26.5-r0) 19:04:30 (3/83) Installing libxau (1.0.10-r0) 19:04:30 (4/83) Installing libmd (1.0.4-r0) 19:04:30 (5/83) Installing libbsd (0.11.7-r0) 19:04:30 (6/83) Installing libxdmcp (1.1.4-r0) 19:04:30 (7/83) Installing libxcb (1.15-r0) 19:04:30 (8/83) Installing libx11 (1.8.4-r0) 19:04:30 (9/83) Installing aom-libs (3.5.0-r0) 19:04:30 (10/83) Installing alsa-lib (1.2.8-r0) 19:04:30 (11/83) Installing libexpat (2.5.0-r0) 19:04:30 (12/83) Installing brotli-libs (1.0.9-r9) 19:04:30 (13/83) Installing libbz2 (1.0.8-r4) 19:04:30 (14/83) Installing libpng (1.6.38-r0) 19:04:30 (15/83) Installing freetype (2.12.1-r0) 19:04:30 (16/83) Installing fontconfig (2.14.1-r0) 19:04:30 (17/83) Installing fribidi (1.0.12-r0) 19:04:30 (18/83) Installing libffi (3.4.4-r0) 19:04:30 (19/83) Installing libintl (0.21.1-r1) 19:04:30 (20/83) Installing libblkid (2.38.1-r1) 19:04:30 (21/83) Installing libmount (2.38.1-r1) 19:04:30 (22/83) Installing pcre2 (10.42-r0) 19:04:30 (23/83) Installing glib (2.74.6-r0) 19:04:30 (24/83) Installing graphite2 (1.3.14-r2) 19:04:30 (25/83) Installing harfbuzz (5.3.1-r1) 19:04:30 (26/83) Installing libass (0.16.0-r1) 19:04:31 (27/83) Installing libdav1d (1.0.0-r2) 19:04:31 (28/83) Installing libdrm (2.4.114-r0) 19:04:31 (29/83) Installing gmp (6.2.1-r2) 19:04:31 (30/83) Installing nettle (3.8.1-r0) 19:04:31 (31/83) Installing p11-kit (0.24.1-r1) 19:04:31 (32/83) Installing libtasn1 (4.19.0-r0) 19:04:31 (33/83) Installing libunistring (1.1-r0) 19:04:31 (34/83) Installing gnutls (3.7.8-r3) 19:04:31 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 19:04:31 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 19:04:31 (37/83) Installing lame (3.100-r2) 19:04:31 (38/83) Installing opus (1.3.1-r1) 19:04:31 (39/83) Installing libasyncns (0.8-r1) 19:04:31 (40/83) Installing dbus-libs (1.14.4-r0) 19:04:31 (41/83) Installing libltdl (2.4.7-r1) 19:04:31 (42/83) Installing orc (0.4.33-r0) 19:04:31 (43/83) Installing libgcc (12.2.1_git20220924-r4) 19:04:31 (44/83) Installing libogg (1.3.5-r2) 19:04:31 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 19:04:31 (46/83) Installing flac-libs (1.4.2-r0) 19:04:31 (47/83) Installing libvorbis (1.3.7-r0) 19:04:31 (48/83) Installing libsndfile (1.1.0-r2) 19:04:31 (49/83) Installing libgomp (12.2.1_git20220924-r4) 19:04:31 (50/83) Installing soxr (0.1.3-r3) 19:04:31 (51/83) Installing speexdsp (1.2.1-r0) 19:04:31 (52/83) Installing tdb-libs (1.4.6-r0) 19:04:31 (53/83) Installing libpulse (16.1-r6) 19:04:31 (54/83) Installing cjson (1.7.15-r3) 19:04:31 (55/83) Installing mbedtls (2.28.3-r0) 19:04:31 (56/83) Installing librist (0.2.7-r0) 19:04:31 (57/83) Installing libsrt (1.5.1-r0) 19:04:31 (58/83) Installing libssh (0.10.5-r0) 19:04:31 (59/83) Installing libtheora (1.1.1-r16) 19:04:31 (60/83) Installing libjpeg-turbo (2.1.4-r0) 19:04:31 (61/83) Installing v4l-utils-libs (1.22.1-r2) 19:04:31 (62/83) Installing libxext (1.3.5-r0) 19:04:31 (63/83) Installing libxfixes (6.0.0-r0) 19:04:31 (64/83) Installing wayland-libs-client (1.21.0-r1) 19:04:31 (65/83) Installing libva (2.16.0-r0) 19:04:31 (66/83) Installing libvdpau (1.5-r0) 19:04:31 (67/83) Installing vidstab (1.1.0-r2) 19:04:31 (68/83) Installing libvpx (1.12.0-r1) 19:04:31 (69/83) Installing libwebp (1.2.4-r1) 19:04:31 (70/83) Installing x264-libs (0.164_git20220602-r0) 19:04:31 (71/83) Installing numactl (2.0.16-r1) 19:04:31 (72/83) Installing x265-libs (3.5-r3) 19:04:32 (73/83) Installing xvidcore (1.3.7-r1) 19:04:32 (74/83) Installing libsodium (1.0.18-r2) 19:04:32 (75/83) Installing libzmq (4.3.4-r1) 19:04:32 (76/83) Installing ffmpeg-libs (5.1.3-r0) 19:04:32 (77/83) Installing ffmpeg (5.1.3-r0) 19:04:32 (78/83) Installing udev-init-scripts (35-r1) 19:04:32 (79/83) Installing eudev-libs (3.2.11-r4) 19:04:32 (80/83) Installing xz-libs (5.2.9-r0) 19:04:32 (81/83) Installing zstd-libs (1.5.5-r0) 19:04:32 (82/83) Installing kmod-libs (30-r1) 19:04:32 (83/83) Installing eudev (3.2.11-r4) 19:04:32 Executing busybox-1.35.0-r29.trigger 19:04:32 Executing eudev-3.2.11-r4.trigger 19:04:32 OK: 86 MiB in 98 packages 19:04:36 Removing intermediate container d7116a46fe6a 19:04:36 ---> 69cf9475f245 19:04:36 Step 18/36 : WORKDIR / 19:04:36 ---> Running in 8415b1a533b9 19:04:37 Removing intermediate container 8415b1a533b9 19:04:37 ---> fb59c06d6c34 19:04:37 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 19:04:38 ---> daa4cbc03883 19:04:38 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 19:04:39 ---> 0c53d5c08064 19:04:39 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 19:04:39 ---> f36763e1ebf4 19:04:39 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 19:04:40 ---> 637eed2ce74b 19:04:40 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 19:04:40 ---> 9982fd929d89 19:04:40 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 19:04:41 ---> b9ead90b5cd8 19:04:41 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 19:04:42 ---> 85bbcec2690e 19:04:42 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 19:04:42 ---> Running in 0e239b5346e9 19:04:44 Removing intermediate container 0e239b5346e9 19:04:44 ---> 0bfe59754921 19:04:44 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 19:04:44 ---> Running in 946aa643b7f7 19:04:46 Removing intermediate container 946aa643b7f7 19:04:46 ---> a84609c170ea 19:04:46 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 19:04:46 ---> Running in 7138e9daa727 19:04:48 Removing intermediate container 7138e9daa727 19:04:48 ---> bc95db56ff5f 19:04:48 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 19:04:48 ---> Running in 8b5cbc0807e6 19:04:49 Removing intermediate container 8b5cbc0807e6 19:04:49 ---> 1a74826372d1 19:04:49 Step 30/36 : EXPOSE 59983 19:04:49 ---> Running in 3759b04cc601 19:04:50 Removing intermediate container 3759b04cc601 19:04:50 ---> fb0bb36fa43c 19:04:50 Step 31/36 : EXPOSE 8554 19:04:50 ---> Running in 28dda568539e 19:04:50 Removing intermediate container 28dda568539e 19:04:50 ---> 37a1bb7a4e48 19:04:50 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 19:04:50 ---> Running in 67e944aa2499 19:04:50 Removing intermediate container 67e944aa2499 19:04:50 ---> 70ce036bf4bd 19:04:50 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 19:04:50 ---> Running in d2bd9683b8bf 19:04:51 Removing intermediate container d2bd9683b8bf 19:04:51 ---> 72709d0b0464 19:04:51 Step 34/36 : LABEL arch=arm64 19:04:51 ---> Running in b80e8f229880 19:04:51 Removing intermediate container b80e8f229880 19:04:51 ---> ce6ca30abb54 19:04:51 Step 35/36 : LABEL git_sha=890f983fecd1497bd13a158ae51900a3e12b6bc9 19:04:51 ---> Running in f6b79abe51f1 19:04:51 Removing intermediate container f6b79abe51f1 19:04:51 ---> e8affddb5b46 19:04:51 Step 36/36 : LABEL version=0.0.0 19:04:51 ---> Running in 0451ffd5de53 19:04:52 Removing intermediate container 0451ffd5de53 19:04:52 ---> cfe05d290fa8 19:04:52 [Warning] One or more build-args [ARCH] were not consumed 19:04:52 Successfully built cfe05d290fa8 19:04:52 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 19:04:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:53 19:04:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:53 arm64: Pulling from edgex-lftools-log-publisher 19:04:53 8998bd30e6a1: Pulling fs layer 19:04:53 04944245beec: Pulling fs layer 19:04:53 699f458cf7ca: Pulling fs layer 19:04:53 765212b225bb: Pulling fs layer 19:04:53 f23df028b6ca: Pulling fs layer 19:04:53 d65c8cfc05b1: Pulling fs layer 19:04:53 2437ff75d9bd: Pulling fs layer 19:04:53 765212b225bb: Waiting 19:04:53 f23df028b6ca: Waiting 19:04:53 d65c8cfc05b1: Waiting 19:04:53 2437ff75d9bd: Waiting 19:04:53 04944245beec: Verifying Checksum 19:04:53 04944245beec: Download complete 19:04:53 765212b225bb: Verifying Checksum 19:04:53 765212b225bb: Download complete 19:04:53 f23df028b6ca: Verifying Checksum 19:04:53 f23df028b6ca: Download complete 19:04:53 d65c8cfc05b1: Verifying Checksum 19:04:53 d65c8cfc05b1: Download complete 19:04:54 699f458cf7ca: Verifying Checksum 19:04:54 699f458cf7ca: Download complete 19:04:54 8998bd30e6a1: Verifying Checksum 19:04:54 8998bd30e6a1: Download complete 19:04:56 2437ff75d9bd: Verifying Checksum 19:04:56 2437ff75d9bd: Download complete 19:04:58 8998bd30e6a1: Pull complete 19:05:02 04944245beec: Pull complete 19:05:03 699f458cf7ca: Pull complete 19:05:03 765212b225bb: Pull complete 19:05:04 f23df028b6ca: Pull complete 19:05:04 d65c8cfc05b1: Pull complete 19:05:19 2437ff75d9bd: Pull complete 19:05:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:22 prd-ubuntu20.04-docker-arm64-4c-16g-16036 does not seem to be running inside a container 19:05:22 $ 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 19:05:25 $ docker top 107e24823b9723fb5f327db82135172d2c2aada39f72af69db4373a714e20ebb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:26 ---> job-cost.sh 19:05:26 lf-activate-venv: SKIPPING 19:05:26 INFO: No Stack... 19:05:26 INFO: Retrieving Pricing Info for: v3-standard-4 19:05:27 INFO: Archiving Costs [Pipeline] sh 19:05:28 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 19:05:28 + cut -d, -f6 [Pipeline] lock 19:05:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] 19:05:28 Resource [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] did not exist. Created. 19:05:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:28 /w/workspace/device-usb-camera/1@tmp/durable-18fa0a3b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:05:29 + echo total: 0.10999999940395355 [Pipeline] stash 19:05:29 Warning: overwriting stash ‘stack-cost’ 19:05:29 Stashed 1 file(s) [Pipeline] } 19:05:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-251-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:29 $ docker stop --time=1 107e24823b9723fb5f327db82135172d2c2aada39f72af69db4373a714e20ebb 19:05:31 $ docker rm -f --volumes 107e24823b9723fb5f327db82135172d2c2aada39f72af69db4373a714e20ebb [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 19:05:32 provisioning config files... 19:05:32 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-251@tmp/config15234479123147260971tmp [Pipeline] { [Pipeline] sh 19:05:32 + set +x 19:05:32 + bash -s -- 19:05:32 + curl -s https://codecov.io/bash 19:05:32 19:05:32 _____ _ 19:05:32 / ____| | | 19:05:32 | | ___ __| | ___ ___ _____ __ 19:05:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:05:32 | |___| (_) | (_| | __/ (_| (_) \ V / 19:05:32 \_____\___/ \__,_|\___|\___\___/ \_/ 19:05:32 Bash-1.0.6 19:05:32 19:05:32 19:05:32 ==> git version 2.25.1 found 19:05:32 ==> 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 19:05:32 Release-Date: 2020-01-08 19:05:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:05:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:05:32 ==> Jenkins CI detected. 19:05:32 current dir:  /w/workspace/foundry_device-usb-camera_PR-251 19:05:32 project root: . 19:05:32 --> token set from env 19:05:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:05:32 ==> Running gcov in . (disable via -X gcov) 19:05:32 ==> Python coveragepy not found 19:05:32 ==> Searching for coverage reports in: 19:05:32 + . 19:05:32 -> Found 1 reports 19:05:32 ==> Detecting git/mercurial file structure 19:05:32 ==> Reading reports 19:05:32 + ./coverage.out bytes=31522 19:05:32 ==> Appending adjustments 19:05:32 https://docs.codecov.io/docs/fixing-reports 19:05:32 + Found adjustments 19:05:32 ==> Gzipping contents 19:05:32 8.0K /tmp/codecov.2SsFVQ.gz 19:05:32 ==> Uploading reports 19:05:32 url: https://codecov.io 19:05:32 query: branch=PR-251&commit=890f983fecd1497bd13a158ae51900a3e12b6bc9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=251&job=&cmd_args= 19:05:32 -> Pinging Codecov 19:05:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-251&commit=890f983fecd1497bd13a158ae51900a3e12b6bc9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=251&job=&cmd_args= 19:05:33 -> Uploading to 19:05:33 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/73D8F5FF140700D3E01443B452E23636/890f983fecd1497bd13a158ae51900a3e12b6bc9/88befe9d-952e-4603-8248-f8aa0de596d1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T190532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17df8f7d0dcd0ad74990fa3dc607b96bfb98f7cb5b62ae2f56c27b867ccb7375 19:05:33 % Total % Received % Xferd Average Speed Time Time Time Current 19:05:33 Dload Upload Total Spent Left Speed 19:05:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 16244 --:--:-- --:--:-- --:--:-- 16244 19:05:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/890f983fecd1497bd13a158ae51900a3e12b6bc9 [Pipeline] } 19:05:33 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 19:05:35 + [ -d /w/workspace/foundry_device-usb-camera_PR-251/archives ] 19:05:35 + ls -al /w/workspace/foundry_device-usb-camera_PR-251/archives 19:05:35 total 16 19:05:35 drwxr-xr-x 3 root root 4096 May 18 18:55 . 19:05:35 drwxrwxr-x 11 jenkins jenkins 4096 May 18 18:55 .. 19:05:35 drwxr-xr-x 2 root root 4096 May 18 18:55 cost 19:05:35 -rw-r--r-- 1 root root 89 May 18 18:55 cost.csv 19:05:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-251/archives 19:05:35 + ls -al /w/workspace/foundry_device-usb-camera_PR-251/archives 19:05:35 total 16 19:05:35 drwxr-xr-x 3 jenkins jenkins 4096 May 18 18:55 . 19:05:35 drwxrwxr-x 11 jenkins jenkins 4096 May 18 18:55 .. 19:05:35 drwxr-xr-x 2 jenkins jenkins 4096 May 18 18:55 cost 19:05:35 -rw-r--r-- 1 jenkins jenkins 89 May 18 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:05:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:05:36 ---> package-listing.sh 19:05:36 ++ facter osfamily 19:05:36 ++ tr '[:upper:]' '[:lower:]' 19:05:36 + OS_FAMILY=debian 19:05:36 + workspace=/w/workspace/foundry_device-usb-camera_PR-251 19:05:36 + START_PACKAGES=/tmp/packages_start.txt 19:05:36 + END_PACKAGES=/tmp/packages_end.txt 19:05:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:05:36 + PACKAGES=/tmp/packages_start.txt 19:05:36 + '[' /w/workspace/foundry_device-usb-camera_PR-251 ']' 19:05:36 + PACKAGES=/tmp/packages_end.txt 19:05:36 + case "${OS_FAMILY}" in 19:05:36 + dpkg -l 19:05:36 + grep '^ii' 19:05:36 + '[' -f /tmp/packages_start.txt ']' 19:05:36 + '[' -f /tmp/packages_end.txt ']' 19:05:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:05:36 + '[' /w/workspace/foundry_device-usb-camera_PR-251 ']' 19:05:36 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-251/archives/ 19:05:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-251/archives/ [Pipeline] echo 19:05:36 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-251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:05:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:37 prd-ubuntu20.04-docker-8c-8g-16035 does not seem to be running inside a container 19:05:37 $ 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-251/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-251 -v /w/workspace/foundry_device-usb-camera_PR-251:/w/workspace/foundry_device-usb-camera_PR-251:rw,z -v /w/workspace/foundry_device-usb-camera_PR-251@tmp:/w/workspace/foundry_device-usb-camera_PR-251@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 19:05:38 $ docker top 16f752a3b4b39829c24f44b3c3a229e1f0781278492716c6f10a8506115885ec -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:38 + touch /tmp/pre-build-complete [Pipeline] sh 19:05:38 + mkdir -p /var/log/sysstat [Pipeline] sh 19:05:39 + ls /var/log/sa-host 19:05:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:39 provisioning config files... 19:05:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-251@tmp/config11076559514155232304tmp [Pipeline] { [Pipeline] echo 19:05:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:05:39 ---> create-netrc.sh [Pipeline] } 19:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:05:39 ---> python-tools-install.sh [Pipeline] echo 19:05:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:05:40 ---> sudo-logs.sh 19:05:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:05:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:05:40 ---> job-cost.sh 19:05:40 lf-activate-venv: SKIPPING 19:05:40 DEBUG: total: 0.2199999988079071 19:05:40 INFO: Retrieving Stack Cost... 19:05:40 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:41 INFO: Archiving Costs [Pipeline] echo 19:05:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:05:42 ---> logs-deploy.sh 19:05:42 lf-activate-venv: SKIPPING 19:05:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-251/1 19:05:42 INFO: archiving workspace using pattern(s): 19:05:42 Archives upload complete. 19:05:43 INFO: archiving logs to Nexus