Pull request #252 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5ff75a6f307b5f31bf914ce62c0aaeacb3091de+faedb975756ffdd1f5d612842f042894232ce807 (c27eb77a936eb473076971d05d3ae7e000d39a65) 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-ssh8882263791868876680.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-ssh3578959618082027332.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-252/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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1921136609924676092.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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10799021154495131231.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-ssh11422801656282950301.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-252/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-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6582209506565025645.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16118 in /w/workspace/foundry_device-usb-camera_PR-252 [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-252 # 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/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c5ff75a6f307b5f31bf914ce62c0aaeacb3091de Merge succeeded, producing c5ff75a6f307b5f31bf914ce62c0aaeacb3091de Checking out Revision c5ff75a6f307b5f31bf914ce62c0aaeacb3091de (PR-252) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" 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:01:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # 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 faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:01:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:01:36 ========================================================= 18:01:36 EdgeX Global Pipelines Version Info 18:01:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:01:37 ------------------- 18:01:37 stable info: 18:01:37 ------------------- 18:01:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:01:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:01:37 Message: update stable to v1.0.249 18:01:38 ------------------- 18:01:38 experimental info: 18:01:38 ------------------- 18:01:38 Commited By: **** collab-it+edgex@linuxfoundation.org 18:01:38 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:01:38 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:01:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5ff75a [Pipeline] echo 18:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:40 provisioning config files... 18:01:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config1106288838291161028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:40 ---> docker-login.sh 18:01:40 nexus3.edgexfoundry.org:10001 18:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:40 Configure a credential helper to remove this warning. See 18:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:40 18:01:40 Login Succeeded 18:01:40 nexus3.edgexfoundry.org:10002 18:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:40 Configure a credential helper to remove this warning. See 18:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:40 18:01:40 Login Succeeded 18:01:40 nexus3.edgexfoundry.org:10003 18:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:40 Configure a credential helper to remove this warning. See 18:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:40 18:01:40 Login Succeeded 18:01:41 nexus3.edgexfoundry.org:10004 18:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:41 Configure a credential helper to remove this warning. See 18:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:41 18:01:41 Login Succeeded 18:01:41 docker.io 18:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:41 Configure a credential helper to remove this warning. See 18:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:41 18:01:41 Login Succeeded 18:01:41 ---> docker-login.sh ends [Pipeline] } 18:01:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:01:42 + git rev-list -1 --merges c5ff75a6f307b5f31bf914ce62c0aaeacb3091de~1..c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo 18:01:42 -----------> git rev-list -1 --merges c5ff75a6f307b5f31bf914ce62c0aaeacb3091de~1..c5ff75a6f307b5f31bf914ce62c0aaeacb3091de c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [false] [Pipeline] sh 18:01:42 + git log --format=format:%s -1 c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo 18:01:42 ========================================================= 18:01:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:01:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:43 + git log --format=format:%s -1 c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] echo 18:01:43 [semverPrep] GIT_COMMIT: c5ff75a6f307b5f31bf914ce62c0aaeacb3091de, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 18:01:43 [semverPrep] This is not a build commit. [Pipeline] sh 18:01:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:01:43 + grep -v github /etc/ssh/ssh_known_hosts 18:01:43 + [ -e /tmp/ssh_known_hosts ] 18:01:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:01:43 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 18:01:43 tee -a /etc/ssh/ssh_known_hosts 18:01:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:43 18:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:44 0.1.4: Pulling from edgex-devops/py-git-semver 18:01:44 b85a868b505f: Pulling fs layer 18:01:44 e2be974225ed: Pulling fs layer 18:01:44 339a4e72a1f5: Pulling fs layer 18:01:44 988bab9f4d93: Pulling fs layer 18:01:44 1469e6f7b9e6: Pulling fs layer 18:01:44 eaf3925da568: Pulling fs layer 18:01:44 bab4dde63d76: Pulling fs layer 18:01:44 bde34c3a00c8: Pulling fs layer 18:01:44 b352a97aabf1: Pulling fs layer 18:01:44 4872d77fe225: Pulling fs layer 18:01:44 5851b861e8e6: Pulling fs layer 18:01:44 1469e6f7b9e6: Waiting 18:01:44 eaf3925da568: Waiting 18:01:44 bab4dde63d76: Waiting 18:01:44 bde34c3a00c8: Waiting 18:01:44 5851b861e8e6: Waiting 18:01:44 b352a97aabf1: Waiting 18:01:44 4872d77fe225: Waiting 18:01:44 988bab9f4d93: Waiting 18:01:44 e2be974225ed: Verifying Checksum 18:01:44 e2be974225ed: Download complete 18:01:44 988bab9f4d93: Verifying Checksum 18:01:44 988bab9f4d93: Download complete 18:01:44 339a4e72a1f5: Verifying Checksum 18:01:44 339a4e72a1f5: Download complete 18:01:44 1469e6f7b9e6: Verifying Checksum 18:01:44 1469e6f7b9e6: Download complete 18:01:44 eaf3925da568: Verifying Checksum 18:01:44 eaf3925da568: Download complete 18:01:44 bde34c3a00c8: Verifying Checksum 18:01:44 bde34c3a00c8: Download complete 18:01:44 b352a97aabf1: Verifying Checksum 18:01:44 b352a97aabf1: Download complete 18:01:44 4872d77fe225: Verifying Checksum 18:01:44 4872d77fe225: Download complete 18:01:44 5851b861e8e6: Download complete 18:01:44 b85a868b505f: Verifying Checksum 18:01:44 b85a868b505f: Download complete 18:01:45 bab4dde63d76: Verifying Checksum 18:01:45 bab4dde63d76: Download complete 18:01:46 b85a868b505f: Pull complete 18:01:46 e2be974225ed: Pull complete 18:01:46 339a4e72a1f5: Pull complete 18:01:46 988bab9f4d93: Pull complete 18:01:47 1469e6f7b9e6: Pull complete 18:01:47 eaf3925da568: Pull complete 18:01:49 bab4dde63d76: Pull complete 18:01:49 bde34c3a00c8: Pull complete 18:01:49 b352a97aabf1: Pull complete 18:01:49 4872d77fe225: Pull complete 18:01:49 5851b861e8e6: Pull complete 18:01:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:01:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:01:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:49 prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container 18:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:01:54 $ docker top f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 -eo pid,comm 18:01:54 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:01:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:54 [ssh-agent] Looking for ssh-agent implementation... 18:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:54 $ docker exec f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent 18:01:54 SSH_AUTH_SOCK=/tmp/ssh-PSGNESIu9Xcz/agent.32 18:01:54 SSH_AGENT_PID=38 18:01:54 Running ssh-add (command line suppressed) 18:01:54 Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_2404576800347437810.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_2404576800347437810.key) 18:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:55 + git tag --points-at HEAD [Pipeline] } 18:01:55 $ docker exec --env ******** --env ******** f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent -k 18:01:55 unset SSH_AUTH_SOCK; 18:01:55 unset SSH_AGENT_PID; 18:01:55 echo Agent pid 38 killed; 18:01:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:01:55 [ssh-agent] Looking for ssh-agent implementation... 18:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:01:55 $ docker exec f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent 18:01:55 SSH_AUTH_SOCK=/tmp/ssh-c6wEDSmpDFlS/agent.70 18:01:55 SSH_AGENT_PID=76 18:01:55 Running ssh-add (command line suppressed) 18:01:55 Identity added: /w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_4360224848114107048.key (/w/workspace/foundry_device-usb-camera_PR-252@tmp/private_key_4360224848114107048.key) 18:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:01:56 + git semver init 18:01:56 2023-05-19 18:01:56,260 [run_init] DEBUG init version:0.0.0 force:False 18:01:56 2023-05-19 18:01:56,261 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-252/.semver 18:01:56 2023-05-19 18:01:56,261 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-252/.semver 18:01:56 2023-05-19 18:01:56,262 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-252/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-252, universal_newlines=False, shell=None, istream=None) 18:01:57 2023-05-19 18:01:57,132 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-252/.git/info/exclude 18:01:57 2023-05-19 18:01:57,132 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 with force:False 18:01:57 2023-05-19 18:01:57,132 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 18:01:57 2023-05-19 18:01:57,134 [execute] INFO git cat-file --batch-check 18:01:57 2023-05-19 18:01:57,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) 18:01:57 2023-05-19 18:01:57,140 [execute] INFO git cat-file --batch 18:01:57 2023-05-19 18:01:57,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) 18:01:57 2023-05-19 18:01:57,145 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-252/.semver/PR-252 18:01:57 0.0.0 [Pipeline] } 18:01:57 $ docker exec --env ******** --env ******** f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 ssh-agent -k 18:01:57 unset SSH_AUTH_SOCK; 18:01:57 unset SSH_AGENT_PID; 18:01:57 echo Agent pid 76 killed; 18:01:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:01:57 + git semver [Pipeline] } 18:01:58 $ docker stop --time=1 f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 18:02:00 $ docker rm -f --volumes f9c406fbb12bd95a196dae6ce2432d073f62d6b385e33d8d44555c36e7d4c955 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:02:00 Stashed 1 file(s) [Pipeline] echo 18:02:00 [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:02:01 provisioning config files... 18:02:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config16553166411882580211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:01 ---> docker-login.sh 18:02:01 nexus3.edgexfoundry.org:10001 18:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:01 Configure a credential helper to remove this warning. See 18:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:01 18:02:01 Login Succeeded 18:02:01 nexus3.edgexfoundry.org:10002 18:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:01 Configure a credential helper to remove this warning. See 18:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:01 18:02:01 Login Succeeded 18:02:01 nexus3.edgexfoundry.org:10003 18:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:02 Configure a credential helper to remove this warning. See 18:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:02 18:02:02 Login Succeeded 18:02:02 nexus3.edgexfoundry.org:10004 18:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:02 Configure a credential helper to remove this warning. See 18:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:02 18:02:02 Login Succeeded 18:02:02 docker.io 18:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:02 Configure a credential helper to remove this warning. See 18:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:02 18:02:02 Login Succeeded 18:02:02 ---> docker-login.sh ends [Pipeline] } 18:02:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:02 ========================================================= 18:02:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:02:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:03 + 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:02:03 Sending build context to Docker daemon 1.892MB 18:02:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:02:03 Step 2/13 : FROM ${BASE} AS builder 18:02:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:02:03 f56be85fc22e: Pulling fs layer 18:02:03 85791d961cd3: Pulling fs layer 18:02:03 d694b5ae8c79: Pulling fs layer 18:02:03 9f32a84ed3da: Pulling fs layer 18:02:03 4d19c01a9841: Pulling fs layer 18:02:03 9325e15d5711: Pulling fs layer 18:02:03 9f32a84ed3da: Waiting 18:02:03 4d19c01a9841: Waiting 18:02:03 9325e15d5711: Waiting 18:02:03 556b6ee489ea: Pulling fs layer 18:02:03 c5a4b2cf53e6: Pulling fs layer 18:02:03 556b6ee489ea: Waiting 18:02:03 c5a4b2cf53e6: Waiting 18:02:03 85791d961cd3: Download complete 18:02:03 9f32a84ed3da: Verifying Checksum 18:02:03 9f32a84ed3da: Download complete 18:02:03 4d19c01a9841: Download complete 18:02:03 f56be85fc22e: Verifying Checksum 18:02:03 f56be85fc22e: Download complete 18:02:03 9325e15d5711: Verifying Checksum 18:02:03 9325e15d5711: Download complete 18:02:03 f56be85fc22e: Pull complete 18:02:03 85791d961cd3: Pull complete 18:02:03 d694b5ae8c79: Verifying Checksum 18:02:03 d694b5ae8c79: Download complete 18:02:04 c5a4b2cf53e6: Verifying Checksum 18:02:04 c5a4b2cf53e6: Download complete 18:02:04 556b6ee489ea: Download complete 18:02:07 d694b5ae8c79: Pull complete 18:02:07 9f32a84ed3da: Pull complete 18:02:07 4d19c01a9841: Pull complete 18:02:07 9325e15d5711: Pull complete 18:02:10 556b6ee489ea: Pull complete 18:02:10 c5a4b2cf53e6: Pull complete 18:02:10 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:02:10 ---> c4be618373d6 18:02:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:02:16 Still waiting to schedule task 18:02:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:02:19 ---> Running in c68ec519b728 18:02:19 Removing intermediate container c68ec519b728 18:02:19 ---> f93ef6547870 18:02:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:02:19 ---> Running in 54d1daecba64 18:02:19 Removing intermediate container 54d1daecba64 18:02:19 ---> 30325dc034b5 18:02:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:02:19 ---> Running in 171d55928bda 18:02:19 Removing intermediate container 171d55928bda 18:02:19 ---> 3d4c9ad6b854 18:02:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:02:19 ---> Running in 907ea3bd1d80 18:02:19 Removing intermediate container 907ea3bd1d80 18:02:19 ---> f15e763db6aa 18:02:19 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:19 ---> Running in 5503412b970a 18:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:02:19 (1/14) Installing libintl (0.21.1-r1) 18:02:19 (2/14) Installing eudev-libs (3.2.11-r4) 18:02:19 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:02:19 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:02:19 (5/14) Installing v4l-utils (1.22.1-r2) 18:02:19 (6/14) Installing udev-init-scripts (35-r1) 18:02:19 (7/14) Installing libblkid (2.38.1-r1) 18:02:19 (8/14) Installing xz-libs (5.2.9-r0) 18:02:19 (9/14) Installing zstd-libs (1.5.5-r0) 18:02:19 (10/14) Installing kmod-libs (30-r1) 18:02:19 (11/14) Installing eudev (3.2.11-r4) 18:02:19 (12/14) Installing eudev-dev (3.2.11-r4) 18:02:19 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:02:19 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:02:19 Executing busybox-1.35.0-r29.trigger 18:02:19 Executing eudev-3.2.11-r4.trigger 18:02:19 OK: 272 MiB in 67 packages 18:02:20 Removing intermediate container 5503412b970a 18:02:20 ---> dcf60d174661 18:02:20 Step 8/13 : WORKDIR /device-usb-camera 18:02:20 ---> Running in 8cea4b1bd846 18:02:20 Removing intermediate container 8cea4b1bd846 18:02:20 ---> 163368648ceb 18:02:20 Step 9/13 : COPY go.mod vendor* ./ 18:02:21 ---> ba4ffacf820d 18:02:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:21 ---> Running in 10cbae31e6b3 18:03:07 Removing intermediate container 10cbae31e6b3 18:03:07 ---> 746bcfe62551 18:03:07 Step 11/13 : COPY . . 18:03:07 ---> b1e59f62681c 18:03:07 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:03:07 ---> Running in 05b144eb46b4 18:03:07  % Total % Received % Xferd Average Speed Time Time  Time Current 18:03:07   Dload Upload  Total Spent Left Speed 18:03:07  0  0  0  0  0  0 0 0 --:--:-- --:--:-- --:--:--  0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6048 0 --:--:-- --:--:-- --:--:-- 6034 18:03:07 Removing intermediate container 05b144eb46b4 18:03:07 ---> 96eb7fcbe151 18:03:07 Step 13/13 : RUN ${MAKE} 18:03:07 ---> Running in 2fb8c9c2563f 18:03:07 noop 18:03:07 Removing intermediate container 2fb8c9c2563f 18:03:07 ---> 1a638d8c4b67 18:03:07 Successfully built 1a638d8c4b67 18:03:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:08 + docker inspect -f . ci-base-image-x86_64 18:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:08 prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container 18:03:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@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 ******** ci-base-image-x86_64 cat 18:03:08 $ docker top bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:09 + go version 18:03:09 go version go1.20.2 linux/amd64 [Pipeline] } 18:03:09 $ docker stop --time=1 bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 18:03:10 $ docker rm -f --volumes bb496dba382a37490aa46be208e09521ea7802b83149c468bbfee547b556d151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:11 + docker inspect -f . ci-base-image-x86_64 18:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:11 prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container 18:03:11 $ 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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@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 ******** ci-base-image-x86_64 cat 18:03:11 $ docker top 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:12 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] fileExists [Pipeline] sh 18:03:12 + make test 18:03:12 go test ./... -coverprofile=coverage.out ./... 18:03:16 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:03:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:03:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.8% of statements 18:03:35 go vet ./... 18:03:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:03:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:03:39 $ docker stop --time=1 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 18:03:43 $ docker rm -f --volumes 95250a90a81fa25db5994f8812e10a18ac371d7c8653e18b30c8adddb6978161 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:03:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:45 + ls -al . 18:03:45 total 188 18:03:45 drwxrwxr-x 10 jenkins jenkins 4096 May 19 18:03 . 18:03:45 drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:01 .. 18:03:45 drwxrwxr-x 8 jenkins jenkins 4096 May 19 18:01 .git 18:03:45 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 .github 18:03:45 -rw-rw-r-- 1 jenkins jenkins 414 May 19 18:01 .gitignore 18:03:45 -rw-rw-r-- 1 jenkins jenkins 42 May 19 18:01 .golangci.yml 18:03:45 -rw-rw-r-- 1 jenkins jenkins 77 May 19 18:01 .hadolint.yml 18:03:45 drwxr-xr-x 3 jenkins jenkins 4096 May 19 18:01 .semver 18:03:45 -rw-rw-r-- 1 jenkins jenkins 9665 May 19 18:01 Attribution.txt 18:03:45 -rw-rw-r-- 1 jenkins jenkins 6219 May 19 18:01 CHANGELOG.md 18:03:45 -rw-rw-r-- 1 jenkins jenkins 2453 May 19 18:01 Dockerfile 18:03:45 -rw-rw-r-- 1 jenkins jenkins 678 May 19 18:01 GOVERNANCE.md 18:03:45 -rw-rw-r-- 1 jenkins jenkins 659 May 19 18:01 Jenkinsfile 18:03:45 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 18:01 LICENSE 18:03:45 -rw-rw-r-- 1 jenkins jenkins 2364 May 19 18:01 Makefile 18:03:45 -rw-rw-r-- 1 jenkins jenkins 622 May 19 18:01 OWNERS.md 18:03:45 -rw-rw-r-- 1 jenkins jenkins 2477 May 19 18:01 README.md 18:03:45 -rw-rw-r-- 1 jenkins jenkins 5 May 19 18:02 VERSION 18:03:45 drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:01 bin 18:03:45 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 cmd 18:03:45 -rw-r--r-- 1 jenkins jenkins 31522 May 19 18:03 coverage.out 18:03:45 -rwxrwxr-x 1 jenkins jenkins 140 May 19 18:01 docker-entrypoint.sh 18:03:45 drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:01 docs 18:03:45 -rw-rw-r-- 1 jenkins jenkins 3419 May 19 18:01 go.mod 18:03:45 -rw-rw-r-- 1 jenkins jenkins 31578 May 19 18:01 go.sum 18:03:45 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:01 internal 18:03:45 drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:01 snap 18:03:45 -rw-rw-r-- 1 jenkins jenkins 231 May 19 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:45 + 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=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de --label arch=amd64 --label version=0.0.0 . 18:03:45 Sending build context to Docker daemon 1.925MB 18:03:45 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:03:45 Step 2/36 : FROM ${BASE} AS builder 18:03:45 ---> 1a638d8c4b67 18:03:45 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:03:45 ---> Running in 219ed75287b6 18:03:45 Removing intermediate container 219ed75287b6 18:03:45 ---> 9703ac3ea979 18:03:45 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:45 ---> Running in e940cbfe1701 18:03:45 Removing intermediate container e940cbfe1701 18:03:45 ---> 7dbde7f60418 18:03:45 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:03:45 ---> Running in 4f87d8d13926 18:03:46 Removing intermediate container 4f87d8d13926 18:03:46 ---> ca8d584d236c 18:03:46 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:03:46 ---> Running in e86914f58bfe 18:03:46 Removing intermediate container e86914f58bfe 18:03:46 ---> 1ef4bb075968 18:03:46 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:46 ---> Running in 390c17c0c8ab 18:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:03:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:03:46 OK: 272 MiB in 67 packages 18:03:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16119 in /w/workspace/foundry_device-usb-camera_PR-252 [Pipeline] { [Pipeline] ws 18:03:47 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:03:47 Selected Git installation does not exist. Using Default 18:03:47 The recommended git tool is: NONE 18:03:47 Removing intermediate container 390c17c0c8ab 18:03:47 ---> d94c63a1bf3a 18:03:47 Step 8/36 : WORKDIR /device-usb-camera 18:03:47 ---> Running in 898d1d4132c8 18:03:47 Removing intermediate container 898d1d4132c8 18:03:47 ---> 6ade449d489a 18:03:47 Step 9/36 : COPY go.mod vendor* ./ 18:03:47 ---> a8768b09e029 18:03:47 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:47 ---> Running in 97915689ab78 18:03:48 Removing intermediate container 97915689ab78 18:03:48 ---> bdb21ebe4cb2 18:03:48 Step 11/36 : COPY . . 18:03:48 ---> de073ed69fee 18:03:48 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:03:48 ---> Running in 7876c1280122 18:03:48  % Total % Received % Xferd Average Speed Time Time Time Current 18:03:48 Dload Upload Total Spent Left Speed 18:03:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20099 0 --:--:-- --:--:-- --:--:-- 20423 18:03:49 Removing intermediate container 7876c1280122 18:03:49 ---> 5af45f3e8b5d 18:03:49 Step 13/36 : RUN ${MAKE} 18:03:49 ---> Running in c5cc48396f3b 18:03:49 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:03:53 using credential edgex-jenkins-ssh 18:03:53 Cloning the remote Git repository 18:03:53 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:03:53 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:03:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:03:53 > git --version # timeout=10 18:03:53 > git --version # 'git version 2.25.1' 18:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:03:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:58 Merging remotes/origin/main commit faedb975756ffdd1f5d612842f042894232ce807 into PR head commit c5ff75a6f307b5f31bf914ce62c0aaeacb3091de 18:03:59 Merge succeeded, producing c5ff75a6f307b5f31bf914ce62c0aaeacb3091de 18:03:59 Checking out Revision c5ff75a6f307b5f31bf914ce62c0aaeacb3091de (PR-252) 18:03:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:03:58 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:03:58 > git config core.sparsecheckout # timeout=10 18:03:58 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 18:03:58 > git remote # timeout=10 18:03:58 > git config --get remote.origin.url # timeout=10 18:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:58 > git merge faedb975756ffdd1f5d612842f042894232ce807 # timeout=10 18:03:59 > git rev-parse HEAD^{commit} # timeout=10 18:03:59 > git config core.sparsecheckout # timeout=10 18:03:59 > git checkout -f c5ff75a6f307b5f31bf914ce62c0aaeacb3091de # timeout=10 18:03:59 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" 18:03:59 > git --version # timeout=10 18:03:59 > git --version # 'git version 2.25.1' 18:03:59 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:04:00 % Total % Received % Xferd Average Speed Time Time Time Current 18:04:00 Dload Upload Total Spent Left Speed 18:04:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70447 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh 18:04:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:04:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:04:01 + sudo tee /etc/docker/daemon.new 18:04:01 { 18:04:01 "registry-mirrors": [ 18:04:01 "https://nexus3.edgexfoundry.org:10001" 18:04:01 ], 18:04:01 "bip": "10.250.0.254/24", 18:04:01 "hosts": [ 18:04:01 "tcp://0.0.0.0:5555", 18:04:01 "unix:///var/run/docker.sock" 18:04:01 ], 18:04:01 "mtu": 1458, 18:04:01 "selinux-enabled": true, 18:04:01 "seccomp-profile": "/etc/docker/seccomp.json" 18:04:01 } [Pipeline] sh 18:04:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:04:02 + sudo service docker restart 18:04:11 Removing intermediate container c5cc48396f3b 18:04:11 ---> 3828b855a70d 18:04:11 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:04:11 v0.21.6: Pulling from aler9/rtsp-simple-server 18:04:11 4acc49c71d14: Pulling fs layer 18:04:11 4acc49c71d14: Verifying Checksum 18:04:11 4acc49c71d14: Download complete 18:04:11 4acc49c71d14: Pull complete 18:04:11 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:04:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:04:11 ---> 01a2bd3e5fff 18:04:11 Step 15/36 : FROM alpine:3.17 18:04:11 3.17: Pulling from library/alpine 18:04:11 f56be85fc22e: Already exists 18:04:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:04:12 Status: Downloaded newer image for alpine:3.17 18:04:12 ---> 9ed4aefc74f6 18:04:12 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:04:12 ---> Running in f3bc19a05651 18:04:12 Removing intermediate container f3bc19a05651 18:04:12 ---> 5423bb5b1bcc 18:04:12 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:04:12 ---> Running in 3ed59e0c0fe8 18:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:04:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:04:13 (1/86) Installing dumb-init (1.2.5-r2) 18:04:13 (2/86) Installing sdl2 (2.26.5-r0) 18:04:13 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:04:13 (4/86) Installing libxau (1.0.10-r0) 18:04:13 (5/86) Installing libmd (1.0.4-r0) 18:04:13 (6/86) Installing libbsd (0.11.7-r0) 18:04:13 (7/86) Installing libxdmcp (1.1.4-r0) 18:04:13 (8/86) Installing libxcb (1.15-r0) 18:04:13 (9/86) Installing libx11 (1.8.4-r0) 18:04:13 (10/86) Installing aom-libs (3.5.0-r0) 18:04:13 (11/86) Installing alsa-lib (1.2.8-r0) 18:04:13 (12/86) Installing libexpat (2.5.0-r0) 18:04:13 (13/86) Installing brotli-libs (1.0.9-r9) 18:04:13 (14/86) Installing libbz2 (1.0.8-r4) 18:04:13 (15/86) Installing libpng (1.6.38-r0) 18:04:13 (16/86) Installing freetype (2.12.1-r0) 18:04:13 (17/86) Installing fontconfig (2.14.1-r0) 18:04:13 (18/86) Installing fribidi (1.0.12-r0) 18:04:13 (19/86) Installing libffi (3.4.4-r0) 18:04:13 (20/86) Installing libintl (0.21.1-r1) 18:04:13 (21/86) Installing libblkid (2.38.1-r1) 18:04:13 (22/86) Installing libmount (2.38.1-r1) 18:04:13 (23/86) Installing pcre2 (10.42-r0) 18:04:13 (24/86) Installing glib (2.74.6-r0) 18:04:13 (25/86) Installing graphite2 (1.3.14-r2) 18:04:13 (26/86) Installing harfbuzz (5.3.1-r1) 18:04:13 (27/86) Installing libass (0.16.0-r1) 18:04:13 (28/86) Installing libdav1d (1.0.0-r2) 18:04:13 (29/86) Installing hwdata-pci (0.364-r0) 18:04:13 (30/86) Installing libpciaccess (0.17-r0) 18:04:13 (31/86) Installing libdrm (2.4.114-r0) 18:04:13 (32/86) Installing gmp (6.2.1-r2) 18:04:13 (33/86) Installing nettle (3.8.1-r0) 18:04:13 (34/86) Installing p11-kit (0.24.1-r1) 18:04:13 (35/86) Installing libtasn1 (4.19.0-r0) 18:04:13 (36/86) Installing libunistring (1.1-r0) 18:04:13 (37/86) Installing gnutls (3.7.8-r3) 18:04:13 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:04:13 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 18:04:13 (40/86) Installing lame (3.100-r2) 18:04:13 (41/86) Installing opus (1.3.1-r1) 18:04:13 (42/86) Installing libasyncns (0.8-r1) 18:04:13 (43/86) Installing dbus-libs (1.14.4-r0) 18:04:13 (44/86) Installing libltdl (2.4.7-r1) 18:04:13 (45/86) Installing orc (0.4.33-r0) 18:04:13 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:04:13 (47/86) Installing libogg (1.3.5-r2) 18:04:13 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:04:13 (49/86) Installing flac-libs (1.4.2-r0) 18:04:13 (50/86) Installing libvorbis (1.3.7-r0) 18:04:13 (51/86) Installing libsndfile (1.1.0-r2) 18:04:13 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:04:13 (53/86) Installing soxr (0.1.3-r3) 18:04:13 (54/86) Installing speexdsp (1.2.1-r0) 18:04:13 (55/86) Installing tdb-libs (1.4.6-r0) 18:04:13 (56/86) Installing libpulse (16.1-r6) 18:04:13 (57/86) Installing cjson (1.7.15-r3) 18:04:13 (58/86) Installing mbedtls (2.28.3-r0) 18:04:13 (59/86) Installing librist (0.2.7-r0) 18:04:13 (60/86) Installing libsrt (1.5.1-r0) 18:04:14 (61/86) Installing libssh (0.10.5-r0) 18:04:14 (62/86) Installing libtheora (1.1.1-r16) 18:04:14 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:04:14 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:04:14 (65/86) Installing libxext (1.3.5-r0) 18:04:14 (66/86) Installing libxfixes (6.0.0-r0) 18:04:14 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:04:14 (68/86) Installing libva (2.16.0-r0) 18:04:14 (69/86) Installing libvdpau (1.5-r0) 18:04:14 (70/86) Installing vidstab (1.1.0-r2) 18:04:14 (71/86) Installing libvpx (1.12.0-r1) 18:04:14 (72/86) Installing libwebp (1.2.4-r1) 18:04:14 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:04:14 (74/86) Installing numactl (2.0.16-r1) 18:04:14 (75/86) Installing x265-libs (3.5-r3) 18:04:14 (76/86) Installing xvidcore (1.3.7-r1) 18:04:14 (77/86) Installing libsodium (1.0.18-r2) 18:04:14 (78/86) Installing libzmq (4.3.4-r1) 18:04:14 (79/86) Installing ffmpeg-libs (5.1.3-r0) 18:04:14 (80/86) Installing ffmpeg (5.1.3-r0) 18:04:14 (81/86) Installing udev-init-scripts (35-r1) 18:04:14 (82/86) Installing eudev-libs (3.2.11-r4) 18:04:14 (83/86) Installing xz-libs (5.2.9-r0) 18:04:14 (84/86) Installing zstd-libs (1.5.5-r0) 18:04:14 (85/86) Installing kmod-libs (30-r1) 18:04:14 (86/86) Installing eudev (3.2.11-r4) 18:04:14 Executing busybox-1.35.0-r29.trigger 18:04:14 Executing eudev-3.2.11-r4.trigger 18:04:14 OK: 112 MiB in 101 packages 18:04:17 Removing intermediate container 3ed59e0c0fe8 18:04:17 ---> c83d6b63c580 18:04:17 Step 18/36 : WORKDIR / 18:04:17 ---> Running in c3166d6b55e3 18:04:17 Removing intermediate container c3166d6b55e3 18:04:17 ---> 12bfbe617c08 18:04:17 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:04:18 ---> 6e4074548273 18:04:18 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:04:18 ---> 9e08e3de4fae 18:04:18 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:04:19 ---> b006db4b7203 18:04:19 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:04:19 ---> 29e8d44827b6 18:04:19 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:04:19 ---> c0709e87db52 18:04:19 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:04:19 ---> 402224eeff18 18:04:19 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:04:20 ---> 96a251d90ea7 18:04:20 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:04:20 ---> Running in 66b98904d136 18:04:20 Removing intermediate container 66b98904d136 18:04:20 ---> ee0aaeb5dbce 18:04:20 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:04:20 ---> Running in 12bc97146bd7 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:20 provisioning config files... 18:04:20 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config10476606283428284932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:21 ---> docker-login.sh 18:04:21 nexus3.edgexfoundry.org:10001 18:04:21 Removing intermediate container 12bc97146bd7 18:04:21 ---> c11c6dddc538 18:04:21 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:04:21 ---> Running in 723f5084e9cb 18:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:21 Configure a credential helper to remove this warning. See 18:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:21 18:04:21 Login Succeeded 18:04:21 nexus3.edgexfoundry.org:10002 18:04:21 Removing intermediate container 723f5084e9cb 18:04:21 ---> 8aba5add529d 18:04:21 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:04:21 ---> Running in de50aba3d65a 18:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:22 Configure a credential helper to remove this warning. See 18:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:22 18:04:22 Login Succeeded 18:04:22 nexus3.edgexfoundry.org:10003 18:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:22 Removing intermediate container de50aba3d65a 18:04:22 ---> 52546e8d73c4 18:04:22 Step 30/36 : EXPOSE 59983 18:04:22 ---> Running in a0ec4b62546c 18:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:22 Configure a credential helper to remove this warning. See 18:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:22 18:04:22 Login Succeeded 18:04:22 nexus3.edgexfoundry.org:10004 18:04:22 Removing intermediate container a0ec4b62546c 18:04:22 ---> 2fe3da908c05 18:04:22 Step 31/36 : EXPOSE 8554 18:04:22 ---> Running in 90a0106a0c7f 18:04:22 Removing intermediate container 90a0106a0c7f 18:04:22 ---> 58fc78563de6 18:04:22 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:04:22 ---> Running in ca5cf890b1fc 18:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:22 Configure a credential helper to remove this warning. See 18:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:22 18:04:22 Login Succeeded 18:04:22 docker.io 18:04:23 Removing intermediate container ca5cf890b1fc 18:04:23 ---> 1e0800860608 18:04:23 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:04:23 ---> Running in 6d92ec6e8e2c 18:04:23 Removing intermediate container 6d92ec6e8e2c 18:04:23 ---> 11b851d8a841 18:04:23 Step 34/36 : LABEL arch=amd64 18:04:23 ---> Running in 2224444c2b76 18:04:23 Removing intermediate container 2224444c2b76 18:04:23 ---> 2b5186373baa 18:04:23 Step 35/36 : LABEL git_sha=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de 18:04:23 ---> Running in 93acfd805aaf 18:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:23 Removing intermediate container 93acfd805aaf 18:04:23 ---> b655f5bf69ba 18:04:23 Step 36/36 : LABEL version=0.0.0 18:04:23 ---> Running in c080bde8cd54 18:04:23 Removing intermediate container c080bde8cd54 18:04:23 ---> 5b7fbcb5bc6c 18:04:23 [Warning] One or more build-args [ARCH] were not consumed 18:04:23 Successfully built 5b7fbcb5bc6c 18:04:23 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 18:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:23 Configure a credential helper to remove this warning. See 18:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:23 18:04:23 Login Succeeded 18:04:23 ---> docker-login.sh ends [Pipeline] } 18:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 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 [Pipeline] echo 18:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:24 ========================================================= 18:04:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:04:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 18:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:24 18:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:24 + 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:04:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:24 latest: Pulling from edgex-lftools-log-publisher 18:04:24 5eb5b503b376: Pulling fs layer 18:04:24 5c69ac0246d0: Pulling fs layer 18:04:24 ec43610c2a17: Pulling fs layer 18:04:24 3a2ae6a8a46f: Pulling fs layer 18:04:24 33b1e0a273af: Pulling fs layer 18:04:24 5d3b04190fa2: Pulling fs layer 18:04:24 2f39f015ded8: Pulling fs layer 18:04:24 33b1e0a273af: Waiting 18:04:24 2f39f015ded8: Waiting 18:04:24 3a2ae6a8a46f: Waiting 18:04:24 5c69ac0246d0: Download complete 18:04:24 3a2ae6a8a46f: Download complete 18:04:24 33b1e0a273af: Verifying Checksum 18:04:24 33b1e0a273af: Download complete 18:04:24 5d3b04190fa2: Verifying Checksum 18:04:24 5d3b04190fa2: Download complete 18:04:24 ec43610c2a17: Verifying Checksum 18:04:24 ec43610c2a17: Download complete 18:04:24 Sending build context to Docker daemon 1.115MB 18:04:24 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:04:24 Step 2/13 : FROM ${BASE} AS builder 18:04:25 5eb5b503b376: Verifying Checksum 18:04:25 5eb5b503b376: Download complete 18:04:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:04:25 c41833b44d91: Pulling fs layer 18:04:25 ed15518f5707: Pulling fs layer 18:04:25 feae8fd75edb: Pulling fs layer 18:04:25 242c74f7c9fa: Pulling fs layer 18:04:25 3cdef696dda3: Pulling fs layer 18:04:25 2ced38df9373: Pulling fs layer 18:04:25 58f1dce35555: Pulling fs layer 18:04:25 3cdef696dda3: Waiting 18:04:25 2ced38df9373: Waiting 18:04:25 58f1dce35555: Waiting 18:04:25 242c74f7c9fa: Waiting 18:04:25 ed15518f5707: Download complete 18:04:25 242c74f7c9fa: Verifying Checksum 18:04:25 242c74f7c9fa: Download complete 18:04:25 3cdef696dda3: Download complete 18:04:25 c41833b44d91: Verifying Checksum 18:04:25 c41833b44d91: Download complete 18:04:25 2f39f015ded8: Download complete 18:04:26 c41833b44d91: Pull complete 18:04:26 5eb5b503b376: Pull complete 18:04:26 5c69ac0246d0: Pull complete 18:04:26 58f1dce35555: Verifying Checksum 18:04:26 58f1dce35555: Download complete 18:04:26 ed15518f5707: Pull complete 18:04:26 ec43610c2a17: Pull complete 18:04:26 3a2ae6a8a46f: Pull complete 18:04:27 33b1e0a273af: Pull complete 18:04:27 5d3b04190fa2: Pull complete 18:04:27 feae8fd75edb: Verifying Checksum 18:04:27 feae8fd75edb: Download complete 18:04:27 2ced38df9373: Verifying Checksum 18:04:27 2ced38df9373: Download complete 18:04:31 2f39f015ded8: Pull complete 18:04:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:31 prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container 18:04:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@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-lftools-log-publisher:latest cat 18:04:36 $ docker top 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:36 ---> job-cost.sh 18:04:36 lf-activate-venv: SKIPPING 18:04:36 INFO: No Stack... 18:04:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:37 INFO: Archiving Costs [Pipeline] sh 18:04:38 + cat /w/workspace/foundry_device-usb-camera_PR-252/archives/cost.csv 18:04:38 + cut -d, -f6 [Pipeline] lock 18:04:38 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] 18:04:38 Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] did not exist. Created. 18:04:38 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:38 + echo total: 0.2199999988079071 [Pipeline] stash 18:04:38 Stashed 1 file(s) [Pipeline] } 18:04:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:38 $ docker stop --time=1 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a 18:04:39 $ docker rm -f --volumes 65617be6aa481865924f6aea019216662c99bde36ac46ee39858285072176b9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 18:04:40 feae8fd75edb: Pull complete 18:04:40 242c74f7c9fa: Pull complete 18:04:40 3cdef696dda3: Pull complete [Pipeline] // stage [Pipeline] } 18:04:45 2ced38df9373: Pull complete 18:04:47 58f1dce35555: Pull complete 18:04:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:04:47 ---> fadd8f120f05 18:04:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:04:49 ---> Running in ec2426786c50 18:04:49 Removing intermediate container ec2426786c50 18:04:49 ---> aeef853b5fe6 18:04:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:49 ---> Running in 64732f65e963 18:04:49 Removing intermediate container 64732f65e963 18:04:49 ---> 8f66c3ca4c24 18:04:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:04:49 ---> Running in c52e2df7f4e6 18:04:50 Removing intermediate container c52e2df7f4e6 18:04:50 ---> 45df0fc6e1fc 18:04:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:04:50 ---> Running in 32048946468d 18:04:50 Removing intermediate container 32048946468d 18:04:50 ---> d004d9854085 18:04:50 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:50 ---> Running in 8d2c615efc31 18:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:04:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:04:53 (1/14) Installing libintl (0.21.1-r1) 18:04:53 (2/14) Installing eudev-libs (3.2.11-r4) 18:04:53 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:04:53 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:04:53 (5/14) Installing v4l-utils (1.22.1-r2) 18:04:53 (6/14) Installing udev-init-scripts (35-r1) 18:04:53 (7/14) Installing libblkid (2.38.1-r1) 18:04:53 (8/14) Installing xz-libs (5.2.9-r0) 18:04:53 (9/14) Installing zstd-libs (1.5.5-r0) 18:04:53 (10/14) Installing kmod-libs (30-r1) 18:04:53 (11/14) Installing eudev (3.2.11-r4) 18:04:53 (12/14) Installing eudev-dev (3.2.11-r4) 18:04:53 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:04:53 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:04:53 Executing busybox-1.35.0-r29.trigger 18:04:53 Executing eudev-3.2.11-r4.trigger 18:04:53 OK: 271 MiB in 67 packages 18:04:54 Removing intermediate container 8d2c615efc31 18:04:54 ---> 8083173266d5 18:04:54 Step 8/13 : WORKDIR /device-usb-camera 18:04:55 ---> Running in bf52880c7f56 18:04:55 Removing intermediate container bf52880c7f56 18:04:55 ---> f946a3db368a 18:04:55 Step 9/13 : COPY go.mod vendor* ./ 18:04:55 ---> 56aecbcb578a 18:04:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:55 ---> Running in 18c2dcce4347 18:06:17 Removing intermediate container 18c2dcce4347 18:06:17 ---> fa3611c49770 18:06:17 Step 11/13 : COPY . . 18:06:17 ---> c3cc97df079a 18:06:17 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:06:17 ---> Running in 98c4c82ad3b0 18:06:17  % Total % Received % Xferd Average Speed Time Time Time Current 18:06:17 Dload Upload Total Spent Left Speed 18:06:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4124 0 --:--:-- --:--:-- --:--:-- 4148 18:06:17 Removing intermediate container 98c4c82ad3b0 18:06:17 ---> e5a095235ba0 18:06:17 Step 13/13 : RUN ${MAKE} 18:06:17 ---> Running in 9beb0e5616c0 18:06:17 noop 18:06:17 Removing intermediate container 9beb0e5616c0 18:06:17 ---> f6973d2b5046 18:06:17 Successfully built f6973d2b5046 18:06:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:18 + docker inspect -f . ci-base-image-arm64 18:06:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:18 prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container 18:06:18 $ 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 ******** ci-base-image-arm64 cat 18:06:19 $ docker top 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:20 + go version 18:06:20 go version go1.20.2 linux/arm64 [Pipeline] } 18:06:20 $ docker stop --time=1 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 18:06:21 $ docker rm -f --volumes 9851e5ef5b9ccba8e7df1b3f0e140f4212564cfd0841af0ab722179063ad2130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:22 + docker inspect -f . ci-base-image-arm64 18:06:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:23 prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container 18:06:23 $ 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 ******** ci-base-image-arm64 cat 18:06:24 $ docker top 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:24 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:06:25 + make test 18:06:25 go test ./... -coverprofile=coverage.out ./... 18:06:57 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:09:04 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:09:04 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.8% of statements 18:09:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:09:04 go vet ./... 18:09:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:09:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:09:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:09:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:09:26 $ docker stop --time=1 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb 18:09:30 $ docker rm -f --volumes 274191eb319498f2b7ba8aaefac4399ada3773c3883ce6a8ae5857e3730eb5cb [Pipeline] // withDockerContainer [Pipeline] sh 18:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:09:32 Warning: overwriting stash ‘coverage-report’ 18:09:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:33 + ls -al . 18:09:33 total 184 18:09:33 drwxrwxr-x 9 jenkins jenkins 4096 May 19 18:06 . 18:09:33 drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:03 .. 18:09:33 drwxrwxr-x 8 jenkins jenkins 4096 May 19 18:03 .git 18:09:33 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 .github 18:09:33 -rw-rw-r-- 1 jenkins jenkins 414 May 19 18:03 .gitignore 18:09:33 -rw-rw-r-- 1 jenkins jenkins 42 May 19 18:03 .golangci.yml 18:09:33 -rw-rw-r-- 1 jenkins jenkins 77 May 19 18:03 .hadolint.yml 18:09:33 -rw-rw-r-- 1 jenkins jenkins 9665 May 19 18:03 Attribution.txt 18:09:33 -rw-rw-r-- 1 jenkins jenkins 6219 May 19 18:03 CHANGELOG.md 18:09:33 -rw-rw-r-- 1 jenkins jenkins 2453 May 19 18:03 Dockerfile 18:09:33 -rw-rw-r-- 1 jenkins jenkins 678 May 19 18:03 GOVERNANCE.md 18:09:33 -rw-rw-r-- 1 jenkins jenkins 659 May 19 18:03 Jenkinsfile 18:09:33 -rw-rw-r-- 1 jenkins jenkins 11348 May 19 18:03 LICENSE 18:09:33 -rw-rw-r-- 1 jenkins jenkins 2364 May 19 18:03 Makefile 18:09:33 -rw-rw-r-- 1 jenkins jenkins 622 May 19 18:03 OWNERS.md 18:09:33 -rw-rw-r-- 1 jenkins jenkins 2477 May 19 18:03 README.md 18:09:33 -rw-rw-r-- 1 jenkins jenkins 5 May 19 18:02 VERSION 18:09:33 drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:03 bin 18:09:33 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 cmd 18:09:33 -rw-r--r-- 1 jenkins jenkins 31522 May 19 18:09 coverage.out 18:09:33 -rwxrwxr-x 1 jenkins jenkins 140 May 19 18:03 docker-entrypoint.sh 18:09:33 drwxrwxr-x 2 jenkins jenkins 4096 May 19 18:03 docs 18:09:33 -rw-rw-r-- 1 jenkins jenkins 3419 May 19 18:03 go.mod 18:09:33 -rw-rw-r-- 1 jenkins jenkins 31578 May 19 18:03 go.sum 18:09:33 drwxrwxr-x 3 jenkins jenkins 4096 May 19 18:03 internal 18:09:33 drwxrwxr-x 4 jenkins jenkins 4096 May 19 18:03 snap 18:09:33 -rw-rw-r-- 1 jenkins jenkins 231 May 19 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:33 + 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=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de --label arch=arm64 --label version=0.0.0 . 18:09:34 Sending build context to Docker daemon 1.147MB 18:09:34 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:09:34 Step 2/36 : FROM ${BASE} AS builder 18:09:34 ---> f6973d2b5046 18:09:34 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:09:34 ---> Running in 43fbfcdd0bb7 18:09:34 Removing intermediate container 43fbfcdd0bb7 18:09:34 ---> 482b4b606f7e 18:09:34 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:09:34 ---> Running in 6585001ee168 18:09:34 Removing intermediate container 6585001ee168 18:09:34 ---> 2a651067677a 18:09:34 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:09:34 ---> Running in 4269d91cea1c 18:09:35 Removing intermediate container 4269d91cea1c 18:09:35 ---> 67225a73bd62 18:09:35 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:09:35 ---> Running in dc70f21ce9f2 18:09:35 Removing intermediate container dc70f21ce9f2 18:09:35 ---> 2fc8df107139 18:09:35 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:35 ---> Running in af46bdb01f5d 18:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:09:38 OK: 271 MiB in 67 packages 18:09:38 Removing intermediate container af46bdb01f5d 18:09:38 ---> 57ea0aa37aff 18:09:38 Step 8/36 : WORKDIR /device-usb-camera 18:09:38 ---> Running in 2e204ed63056 18:09:39 Removing intermediate container 2e204ed63056 18:09:39 ---> 9df3980dbdd9 18:09:39 Step 9/36 : COPY go.mod vendor* ./ 18:09:39 ---> 3bd464f5b7af 18:09:39 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:39 ---> Running in c183cdde60f7 18:09:44 Removing intermediate container c183cdde60f7 18:09:44 ---> 92471efb0210 18:09:44 Step 11/36 : COPY . . 18:09:45 ---> bf02020c94f7 18:09:45 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:09:45 ---> Running in 27930ccf853f 18:09:46  % Total % Received % Xferd Average Speed Time Time Time Current 18:09:46  Dload Upload Total Spent Left Speed 18:09:46  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3283 0 --:--:-- --:--:-- --:--:-- 3298 18:09:47 Removing intermediate container 27930ccf853f 18:09:47 ---> 7ee979601fa5 18:09:47 Step 13/36 : RUN ${MAKE} 18:09:47 ---> Running in 59853ea1cddd 18:09:48 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:12:10 Removing intermediate container 59853ea1cddd 18:12:10 ---> 3eaa042b6e2b 18:12:10 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:12:10 v0.21.6: Pulling from aler9/rtsp-simple-server 18:12:13 8766b47fe142: Pulling fs layer 18:12:13 8766b47fe142: Verifying Checksum 18:12:13 8766b47fe142: Download complete 18:12:14 8766b47fe142: Pull complete 18:12:14 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:12:14 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:12:14 ---> 69d40e2cb93c 18:12:14 Step 15/36 : FROM alpine:3.17 18:12:14 3.17: Pulling from library/alpine 18:12:14 c41833b44d91: Already exists 18:12:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:12:14 Status: Downloaded newer image for alpine:3.17 18:12:14 ---> 51e60588ff2c 18:12:14 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:12:15 ---> Running in 63934307f8bd 18:12:15 Removing intermediate container 63934307f8bd 18:12:15 ---> a07c756d1420 18:12:15 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:12:15 ---> Running in 4093353f2478 18:12:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:12:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:12:18 (1/83) Installing dumb-init (1.2.5-r2) 18:12:18 (2/83) Installing sdl2 (2.26.5-r0) 18:12:18 (3/83) Installing libxau (1.0.10-r0) 18:12:18 (4/83) Installing libmd (1.0.4-r0) 18:12:18 (5/83) Installing libbsd (0.11.7-r0) 18:12:18 (6/83) Installing libxdmcp (1.1.4-r0) 18:12:18 (7/83) Installing libxcb (1.15-r0) 18:12:18 (8/83) Installing libx11 (1.8.4-r0) 18:12:18 (9/83) Installing aom-libs (3.5.0-r0) 18:12:18 (10/83) Installing alsa-lib (1.2.8-r0) 18:12:18 (11/83) Installing libexpat (2.5.0-r0) 18:12:18 (12/83) Installing brotli-libs (1.0.9-r9) 18:12:18 (13/83) Installing libbz2 (1.0.8-r4) 18:12:18 (14/83) Installing libpng (1.6.38-r0) 18:12:18 (15/83) Installing freetype (2.12.1-r0) 18:12:18 (16/83) Installing fontconfig (2.14.1-r0) 18:12:18 (17/83) Installing fribidi (1.0.12-r0) 18:12:18 (18/83) Installing libffi (3.4.4-r0) 18:12:18 (19/83) Installing libintl (0.21.1-r1) 18:12:18 (20/83) Installing libblkid (2.38.1-r1) 18:12:18 (21/83) Installing libmount (2.38.1-r1) 18:12:18 (22/83) Installing pcre2 (10.42-r0) 18:12:18 (23/83) Installing glib (2.74.6-r0) 18:12:18 (24/83) Installing graphite2 (1.3.14-r2) 18:12:18 (25/83) Installing harfbuzz (5.3.1-r1) 18:12:18 (26/83) Installing libass (0.16.0-r1) 18:12:18 (27/83) Installing libdav1d (1.0.0-r2) 18:12:18 (28/83) Installing libdrm (2.4.114-r0) 18:12:18 (29/83) Installing gmp (6.2.1-r2) 18:12:18 (30/83) Installing nettle (3.8.1-r0) 18:12:18 (31/83) Installing p11-kit (0.24.1-r1) 18:12:18 (32/83) Installing libtasn1 (4.19.0-r0) 18:12:18 (33/83) Installing libunistring (1.1-r0) 18:12:19 (34/83) Installing gnutls (3.7.8-r3) 18:12:19 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:12:19 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 18:12:19 (37/83) Installing lame (3.100-r2) 18:12:19 (38/83) Installing opus (1.3.1-r1) 18:12:19 (39/83) Installing libasyncns (0.8-r1) 18:12:19 (40/83) Installing dbus-libs (1.14.4-r0) 18:12:19 (41/83) Installing libltdl (2.4.7-r1) 18:12:19 (42/83) Installing orc (0.4.33-r0) 18:12:19 (43/83) Installing libgcc (12.2.1_git20220924-r4) 18:12:19 (44/83) Installing libogg (1.3.5-r2) 18:12:19 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 18:12:19 (46/83) Installing flac-libs (1.4.2-r0) 18:12:19 (47/83) Installing libvorbis (1.3.7-r0) 18:12:19 (48/83) Installing libsndfile (1.1.0-r2) 18:12:19 (49/83) Installing libgomp (12.2.1_git20220924-r4) 18:12:19 (50/83) Installing soxr (0.1.3-r3) 18:12:19 (51/83) Installing speexdsp (1.2.1-r0) 18:12:19 (52/83) Installing tdb-libs (1.4.6-r0) 18:12:19 (53/83) Installing libpulse (16.1-r6) 18:12:19 (54/83) Installing cjson (1.7.15-r3) 18:12:19 (55/83) Installing mbedtls (2.28.3-r0) 18:12:19 (56/83) Installing librist (0.2.7-r0) 18:12:19 (57/83) Installing libsrt (1.5.1-r0) 18:12:19 (58/83) Installing libssh (0.10.5-r0) 18:12:19 (59/83) Installing libtheora (1.1.1-r16) 18:12:19 (60/83) Installing libjpeg-turbo (2.1.4-r0) 18:12:19 (61/83) Installing v4l-utils-libs (1.22.1-r2) 18:12:19 (62/83) Installing libxext (1.3.5-r0) 18:12:19 (63/83) Installing libxfixes (6.0.0-r0) 18:12:19 (64/83) Installing wayland-libs-client (1.21.0-r1) 18:12:19 (65/83) Installing libva (2.16.0-r0) 18:12:19 (66/83) Installing libvdpau (1.5-r0) 18:12:19 (67/83) Installing vidstab (1.1.0-r2) 18:12:19 (68/83) Installing libvpx (1.12.0-r1) 18:12:19 (69/83) Installing libwebp (1.2.4-r1) 18:12:19 (70/83) Installing x264-libs (0.164_git20220602-r0) 18:12:19 (71/83) Installing numactl (2.0.16-r1) 18:12:19 (72/83) Installing x265-libs (3.5-r3) 18:12:20 (73/83) Installing xvidcore (1.3.7-r1) 18:12:20 (74/83) Installing libsodium (1.0.18-r2) 18:12:20 (75/83) Installing libzmq (4.3.4-r1) 18:12:20 (76/83) Installing ffmpeg-libs (5.1.3-r0) 18:12:20 (77/83) Installing ffmpeg (5.1.3-r0) 18:12:20 (78/83) Installing udev-init-scripts (35-r1) 18:12:20 (79/83) Installing eudev-libs (3.2.11-r4) 18:12:20 (80/83) Installing xz-libs (5.2.9-r0) 18:12:20 (81/83) Installing zstd-libs (1.5.5-r0) 18:12:20 (82/83) Installing kmod-libs (30-r1) 18:12:20 (83/83) Installing eudev (3.2.11-r4) 18:12:20 Executing busybox-1.35.0-r29.trigger 18:12:20 Executing eudev-3.2.11-r4.trigger 18:12:20 OK: 86 MiB in 98 packages 18:12:24 Removing intermediate container 4093353f2478 18:12:24 ---> 4efacb69f45c 18:12:24 Step 18/36 : WORKDIR / 18:12:24 ---> Running in 2f9d6f43ce57 18:12:24 Removing intermediate container 2f9d6f43ce57 18:12:24 ---> 88dd5af0e96d 18:12:24 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:12:25 ---> a0855e2536bf 18:12:25 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:12:27 ---> 955994b86d49 18:12:27 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:12:27 ---> 771740b3de45 18:12:27 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:12:28 ---> 1ab07f40fce7 18:12:28 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:12:28 ---> affe87f2bdff 18:12:28 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:12:29 ---> 7c8bbf7a063e 18:12:29 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:12:30 ---> 57a164a9a66a 18:12:30 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:12:30 ---> Running in bc918e474696 18:12:32 Removing intermediate container bc918e474696 18:12:32 ---> a93a12010faf 18:12:32 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:12:32 ---> Running in 39af0f850cec 18:12:33 Removing intermediate container 39af0f850cec 18:12:33 ---> cb0ada7a6296 18:12:33 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:12:33 ---> Running in adc27b97acbd 18:12:35 Removing intermediate container adc27b97acbd 18:12:35 ---> d12dc263fdba 18:12:35 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:12:35 ---> Running in 092b55f814d0 18:12:37 Removing intermediate container 092b55f814d0 18:12:37 ---> 5744a807336a 18:12:37 Step 30/36 : EXPOSE 59983 18:12:37 ---> Running in 29126fc0dfc2 18:12:37 Removing intermediate container 29126fc0dfc2 18:12:37 ---> 34b25d895300 18:12:37 Step 31/36 : EXPOSE 8554 18:12:37 ---> Running in 1078911b193d 18:12:38 Removing intermediate container 1078911b193d 18:12:38 ---> ea711badbb02 18:12:38 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:12:38 ---> Running in f27444579523 18:12:38 Removing intermediate container f27444579523 18:12:38 ---> a6888e66f5a7 18:12:38 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:12:38 ---> Running in fa63e6bbae9f 18:12:38 Removing intermediate container fa63e6bbae9f 18:12:38 ---> 936d06de3533 18:12:38 Step 34/36 : LABEL arch=arm64 18:12:38 ---> Running in 73142d63a25e 18:12:39 Removing intermediate container 73142d63a25e 18:12:39 ---> 37629d647e28 18:12:39 Step 35/36 : LABEL git_sha=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de 18:12:39 ---> Running in f89c1fb9c758 18:12:39 Removing intermediate container f89c1fb9c758 18:12:39 ---> 657d74484cd2 18:12:39 Step 36/36 : LABEL version=0.0.0 18:12:39 ---> Running in ee8961ec6c5b 18:12:40 Removing intermediate container ee8961ec6c5b 18:12:40 ---> 969288e4c581 18:12:40 [Warning] One or more build-args [ARCH] were not consumed 18:12:40 Successfully built 969288e4c581 18:12:40 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 18:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:40 18:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:12:41 arm64: Pulling from edgex-lftools-log-publisher 18:12:41 8998bd30e6a1: Pulling fs layer 18:12:41 04944245beec: Pulling fs layer 18:12:41 699f458cf7ca: Pulling fs layer 18:12:41 765212b225bb: Pulling fs layer 18:12:41 f23df028b6ca: Pulling fs layer 18:12:41 d65c8cfc05b1: Pulling fs layer 18:12:41 2437ff75d9bd: Pulling fs layer 18:12:41 f23df028b6ca: Waiting 18:12:41 d65c8cfc05b1: Waiting 18:12:41 2437ff75d9bd: Waiting 18:12:41 04944245beec: Verifying Checksum 18:12:41 04944245beec: Download complete 18:12:41 765212b225bb: Verifying Checksum 18:12:41 765212b225bb: Download complete 18:12:41 f23df028b6ca: Download complete 18:12:41 d65c8cfc05b1: Verifying Checksum 18:12:41 d65c8cfc05b1: Download complete 18:12:41 699f458cf7ca: Verifying Checksum 18:12:41 699f458cf7ca: Download complete 18:12:42 8998bd30e6a1: Verifying Checksum 18:12:42 8998bd30e6a1: Download complete 18:12:44 2437ff75d9bd: Verifying Checksum 18:12:44 2437ff75d9bd: Download complete 18:12:45 8998bd30e6a1: Pull complete 18:12:46 04944245beec: Pull complete 18:12:47 699f458cf7ca: Pull complete 18:12:47 765212b225bb: Pull complete 18:12:48 f23df028b6ca: Pull complete 18:12:48 d65c8cfc05b1: Pull complete 18:13:03 2437ff75d9bd: Pull complete 18:13:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:04 prd-ubuntu20.04-docker-arm64-4c-16g-16119 does not seem to be running inside a container 18:13:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:13:06 $ docker top 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:07 ---> job-cost.sh 18:13:07 lf-activate-venv: SKIPPING 18:13:07 INFO: No Stack... 18:13:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:13:09 INFO: Archiving Costs [Pipeline] sh 18:13:09 + cut -d, -f6 18:13:09 + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock 18:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] 18:13:09 Resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] did not exist. Created. 18:13:09 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:10 /w/workspace/device-usb-camera/1@tmp/durable-7e61f419/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:13:10 + echo total: 0.10999999940395355 [Pipeline] stash 18:13:10 Warning: overwriting stash ‘stack-cost’ 18:13:10 Stashed 1 file(s) [Pipeline] } 18:13:10 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:10 $ docker stop --time=1 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b 18:13:12 $ docker rm -f --volumes 5bb852c175303033ed6dee9f3e4e4438cca7ada329f266706060dc45fc86a59b [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 18:13:13 provisioning config files... 18:13:13 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config8106190612526398563tmp [Pipeline] { [Pipeline] sh 18:13:13 + set +x 18:13:13 + + curl -s https://codecov.io/bash 18:13:13 bash -s -- 18:13:13 18:13:13 _____ _ 18:13:13 / ____| | | 18:13:13 | | ___ __| | ___ ___ _____ __ 18:13:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:13:13 | |___| (_) | (_| | __/ (_| (_) \ V / 18:13:13 \_____\___/ \__,_|\___|\___\___/ \_/ 18:13:13 Bash-1.0.6 18:13:13 18:13:13 18:13:13 ==> git version 2.25.1 found 18:13:13 ==> 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 18:13:13 Release-Date: 2020-01-08 18:13:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:13:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:13:13 ==> Jenkins CI detected. 18:13:13 current dir:  /w/workspace/foundry_device-usb-camera_PR-252 18:13:13 project root: . 18:13:13 --> token set from env 18:13:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:13:13 ==> Running gcov in . (disable via -X gcov) 18:13:13 ==> Python coveragepy not found 18:13:13 ==> Searching for coverage reports in: 18:13:13 + . 18:13:13 -> Found 1 reports 18:13:13 ==> Detecting git/mercurial file structure 18:13:13 ==> Reading reports 18:13:14 + ./coverage.out bytes=31522 18:13:14 ==> Appending adjustments 18:13:14 https://docs.codecov.io/docs/fixing-reports 18:13:14 + Found adjustments 18:13:14 ==> Gzipping contents 18:13:14 8.0K /tmp/codecov.ge7AZh.gz 18:13:14 ==> Uploading reports 18:13:14 url: https://codecov.io 18:13:14 query: branch=PR-252&commit=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= 18:13:14 -> Pinging Codecov 18:13:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-252&commit=c5ff75a6f307b5f31bf914ce62c0aaeacb3091de&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=252&job=&cmd_args= 18:13:14 -> Uploading to 18:13:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-19/73D8F5FF140700D3E01443B452E23636/c5ff75a6f307b5f31bf914ce62c0aaeacb3091de/f7280fe0-85a4-4e15-94a6-1237500d7daa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230519T181314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e51858837cf3ce074c2e571bef586b42dadc2158ab9da897cd3ff25981b9191 18:13:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:14 Dload Upload Total Spent Left Speed 18:13:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4321 0 0 100 4321 0 13588 --:--:-- --:--:-- --:--:-- 13588 18:13:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/c5ff75a6f307b5f31bf914ce62c0aaeacb3091de [Pipeline] } 18:13:14 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 18:13:16 + [ -d /w/workspace/foundry_device-usb-camera_PR-252/archives ] 18:13:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives 18:13:16 total 16 18:13:16 drwxr-xr-x 3 root root 4096 May 19 18:04 . 18:13:16 drwxrwxr-x 11 jenkins jenkins 4096 May 19 18:04 .. 18:13:16 drwxr-xr-x 2 root root 4096 May 19 18:04 cost 18:13:16 -rw-r--r-- 1 root root 89 May 19 18:04 cost.csv 18:13:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-252/archives 18:13:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-252/archives 18:13:16 total 16 18:13:16 drwxr-xr-x 3 jenkins jenkins 4096 May 19 18:04 . 18:13:16 drwxrwxr-x 11 jenkins jenkins 4096 May 19 18:04 .. 18:13:16 drwxr-xr-x 2 jenkins jenkins 4096 May 19 18:04 cost 18:13:16 -rw-r--r-- 1 jenkins jenkins 89 May 19 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:13:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:13:17 ---> package-listing.sh 18:13:17 ++ facter osfamily 18:13:17 ++ tr '[:upper:]' '[:lower:]' 18:13:17 + OS_FAMILY=debian 18:13:17 + workspace=/w/workspace/foundry_device-usb-camera_PR-252 18:13:17 + START_PACKAGES=/tmp/packages_start.txt 18:13:17 + END_PACKAGES=/tmp/packages_end.txt 18:13:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:13:17 + PACKAGES=/tmp/packages_start.txt 18:13:17 + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' 18:13:17 + PACKAGES=/tmp/packages_end.txt 18:13:17 + case "${OS_FAMILY}" in 18:13:17 + dpkg -l 18:13:17 + grep '^ii' 18:13:18 + '[' -f /tmp/packages_start.txt ']' 18:13:18 + '[' -f /tmp/packages_end.txt ']' 18:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:13:18 + '[' /w/workspace/foundry_device-usb-camera_PR-252 ']' 18:13:18 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-252/archives/ 18:13:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-252/archives/ [Pipeline] echo 18:13:18 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-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:19 prd-ubuntu20.04-docker-8c-8g-16118 does not seem to be running inside a container 18:13:19 $ 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-252/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-252 -v /w/workspace/foundry_device-usb-camera_PR-252:/w/workspace/foundry_device-usb-camera_PR-252:rw,z -v /w/workspace/foundry_device-usb-camera_PR-252@tmp:/w/workspace/foundry_device-usb-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:19 $ docker top 1d5d5389bee62e3fbcb8b81e52006651ddba914836760d0bf27ca79f152ec2af -eo pid,comm [Pipeline] { [Pipeline] sh 18:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:13:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:13:20 + ls /var/log/sa-host 18:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:20 provisioning config files... 18:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-252@tmp/config10234429092301458456tmp [Pipeline] { [Pipeline] echo 18:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:13:20 ---> create-netrc.sh [Pipeline] } 18:13:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:13:21 ---> python-tools-install.sh [Pipeline] echo 18:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:13:21 ---> sudo-logs.sh 18:13:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:13:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:13:22 ---> job-cost.sh 18:13:22 lf-activate-venv: SKIPPING 18:13:22 DEBUG: total: 0.2199999988079071 18:13:22 INFO: Retrieving Stack Cost... 18:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:13:22 INFO: Archiving Costs [Pipeline] echo 18:13:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:13:23 ---> logs-deploy.sh 18:13:23 lf-activate-venv: SKIPPING 18:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-252/1 18:13:23 INFO: archiving workspace using pattern(s): 18:13:24 Archives upload complete. 18:13:24 INFO: archiving logs to Nexus