Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fbe54c5e211bbedf0d4eee52734be375df82181f+c817a5cee4fa6797817ba67f8fb41572c1732248 (238214e5a68aa29e8ebd6467910f4f90a80775c8) 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-ssh2464571848914643396.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4908374731646927201.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-219/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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15497571531960848294.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-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1246741749588668299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh9570987709090901342.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-219/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-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10178139391393934322.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9053 in /w/workspace/foundry_device-usb-camera_PR-219 [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-219 # 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/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c817a5cee4fa6797817ba67f8fb41572c1732248 into PR head commit fbe54c5e211bbedf0d4eee52734be375df82181f Merge succeeded, producing fbe54c5e211bbedf0d4eee52734be375df82181f Checking out Revision fbe54c5e211bbedf0d4eee52734be375df82181f (PR-219) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fbe54c5e211bbedf0d4eee52734be375df82181f # 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 c817a5cee4fa6797817ba67f8fb41572c1732248 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fbe54c5e211bbedf0d4eee52734be375df82181f # timeout=10 [Pipeline] withCredentials 03:18:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:53 ========================================================= 03:18:53 EdgeX Global Pipelines Version Info 03:18:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:53 ------------------- 03:18:53 stable info: 03:18:53 ------------------- 03:18:53 Commited By: Bill Mahoney bill.mahoney@intel.com 03:18:53 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 03:18:53 Message: update stable to v1.0.248 03:18:54 ------------------- 03:18:54 experimental info: 03:18:54 ------------------- 03:18:54 Commited By: **** collab-it+edgex@linuxfoundation.org 03:18:54 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 03:18:54 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:18:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo 03:18:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fbe54c5e211bbedf0d4eee52734be375df82181f [Pipeline] echo 03:18:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fbe54c5 [Pipeline] echo 03:18:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:56 provisioning config files... 03:18:56 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-219@tmp/config18295623885126015664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:56 ---> docker-login.sh 03:18:56 nexus3.edgexfoundry.org:10001 03:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:56 Configure a credential helper to remove this warning. See 03:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:56 03:18:56 Login Succeeded 03:18:56 nexus3.edgexfoundry.org:10002 03:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:57 Configure a credential helper to remove this warning. See 03:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:57 03:18:57 Login Succeeded 03:18:57 nexus3.edgexfoundry.org:10003 03:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:57 Configure a credential helper to remove this warning. See 03:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:57 03:18:57 Login Succeeded 03:18:57 nexus3.edgexfoundry.org:10004 03:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:57 Configure a credential helper to remove this warning. See 03:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:57 03:18:57 Login Succeeded 03:18:57 docker.io 03:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:57 Configure a credential helper to remove this warning. See 03:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:57 03:18:57 Login Succeeded 03:18:57 ---> docker-login.sh ends [Pipeline] } 03:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:18:58 + git rev-list -1 --merges fbe54c5e211bbedf0d4eee52734be375df82181f~1..fbe54c5e211bbedf0d4eee52734be375df82181f [Pipeline] echo 03:18:58 -----------> git rev-list -1 --merges fbe54c5e211bbedf0d4eee52734be375df82181f~1..fbe54c5e211bbedf0d4eee52734be375df82181f fbe54c5e211bbedf0d4eee52734be375df82181f [false] [Pipeline] sh 03:18:58 + git log --format=format:%s -1 fbe54c5e211bbedf0d4eee52734be375df82181f [Pipeline] echo 03:18:58 ========================================================= 03:18:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:18:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:59 + git log --format=format:%s -1 fbe54c5e211bbedf0d4eee52734be375df82181f [Pipeline] echo 03:18:59 [semverPrep] GIT_COMMIT: fbe54c5e211bbedf0d4eee52734be375df82181f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 03:18:59 [semverPrep] This is not a build commit. [Pipeline] sh 03:18:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:59 + grep -v github /etc/ssh/ssh_known_hosts 03:18:59 + [ -e /tmp/ssh_known_hosts ] 03:18:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:18:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:18:59 + sudo tee -a /etc/ssh/ssh_known_hosts 03:18:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:59 03:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:00 0.1.4: Pulling from edgex-devops/py-git-semver 03:19:00 b85a868b505f: Pulling fs layer 03:19:00 e2be974225ed: Pulling fs layer 03:19:00 339a4e72a1f5: Pulling fs layer 03:19:00 988bab9f4d93: Pulling fs layer 03:19:00 1469e6f7b9e6: Pulling fs layer 03:19:00 eaf3925da568: Pulling fs layer 03:19:00 bab4dde63d76: Pulling fs layer 03:19:00 bde34c3a00c8: Pulling fs layer 03:19:00 b352a97aabf1: Pulling fs layer 03:19:00 4872d77fe225: Pulling fs layer 03:19:00 5851b861e8e6: Pulling fs layer 03:19:00 eaf3925da568: Waiting 03:19:00 bab4dde63d76: Waiting 03:19:00 bde34c3a00c8: Waiting 03:19:00 b352a97aabf1: Waiting 03:19:00 988bab9f4d93: Waiting 03:19:00 4872d77fe225: Waiting 03:19:00 5851b861e8e6: Waiting 03:19:00 1469e6f7b9e6: Waiting 03:19:00 e2be974225ed: Download complete 03:19:00 988bab9f4d93: Verifying Checksum 03:19:00 988bab9f4d93: Download complete 03:19:00 1469e6f7b9e6: Verifying Checksum 03:19:00 1469e6f7b9e6: Download complete 03:19:00 339a4e72a1f5: Verifying Checksum 03:19:00 339a4e72a1f5: Download complete 03:19:00 eaf3925da568: Download complete 03:19:00 bde34c3a00c8: Download complete 03:19:00 b352a97aabf1: Download complete 03:19:00 4872d77fe225: Verifying Checksum 03:19:00 4872d77fe225: Download complete 03:19:00 5851b861e8e6: Verifying Checksum 03:19:00 5851b861e8e6: Download complete 03:19:00 b85a868b505f: Verifying Checksum 03:19:00 b85a868b505f: Download complete 03:19:00 bab4dde63d76: Verifying Checksum 03:19:01 b85a868b505f: Pull complete 03:19:01 e2be974225ed: Pull complete 03:19:02 339a4e72a1f5: Pull complete 03:19:02 988bab9f4d93: Pull complete 03:19:02 1469e6f7b9e6: Pull complete 03:19:02 eaf3925da568: Pull complete 03:19:04 bab4dde63d76: Pull complete 03:19:04 bde34c3a00c8: Pull complete 03:19:05 b352a97aabf1: Pull complete 03:19:05 4872d77fe225: Pull complete 03:19:05 5851b861e8e6: Pull complete 03:19:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:05 prd-ubuntu20.04-docker-8c-8g-9053 does not seem to be running inside a container 03:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-219 -v /w/workspace/foundry_device-usb-camera_PR-219:/w/workspace/foundry_device-usb-camera_PR-219:rw,z -v /w/workspace/foundry_device-usb-camera_PR-219@tmp:/w/workspace/foundry_device-usb-camera_PR-219@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:19:07 $ docker top 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f -eo pid,comm 03:19:07 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). 03:19:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:07 [ssh-agent] Looking for ssh-agent implementation... 03:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:07 $ docker exec 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f ssh-agent 03:19:07 SSH_AUTH_SOCK=/tmp/ssh-aCrTT4nT7D7Q/agent.33 03:19:07 SSH_AGENT_PID=39 03:19:07 Running ssh-add (command line suppressed) 03:19:07 Identity added: /w/workspace/foundry_device-usb-camera_PR-219@tmp/private_key_9323477325227473555.key (/w/workspace/foundry_device-usb-camera_PR-219@tmp/private_key_9323477325227473555.key) 03:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:08 + git tag --points-at HEAD [Pipeline] } 03:19:08 $ docker exec --env ******** --env ******** 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f ssh-agent -k 03:19:08 unset SSH_AUTH_SOCK; 03:19:08 unset SSH_AGENT_PID; 03:19:08 echo Agent pid 39 killed; 03:19:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:19:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:08 [ssh-agent] Looking for ssh-agent implementation... 03:19:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:08 $ docker exec 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f ssh-agent 03:19:08 SSH_AUTH_SOCK=/tmp/ssh-2k9djcz1JFJV/agent.72 03:19:08 SSH_AGENT_PID=78 03:19:08 Running ssh-add (command line suppressed) 03:19:08 Identity added: /w/workspace/foundry_device-usb-camera_PR-219@tmp/private_key_17173690664836162061.key (/w/workspace/foundry_device-usb-camera_PR-219@tmp/private_key_17173690664836162061.key) 03:19:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:08 + git semver init 03:19:09 2023-04-19 03:19:09,164 [run_init] DEBUG init version:0.0.0 force:False 03:19:09 2023-04-19 03:19:09,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-219/.semver 03:19:09 2023-04-19 03:19:09,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-219/.semver 03:19:09 2023-04-19 03:19:09,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-219/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-219, universal_newlines=False, shell=None, istream=None) 03:19:09 2023-04-19 03:19:09,809 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-219/.git/info/exclude 03:19:09 2023-04-19 03:19:09,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-219/.semver/PR-219 with force:False 03:19:09 2023-04-19 03:19:09,810 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-219/.semver/PR-219 03:19:09 2023-04-19 03:19:09,814 [execute] INFO git cat-file --batch-check 03:19:09 2023-04-19 03:19:09,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) 03:19:09 2023-04-19 03:19:09,821 [execute] INFO git cat-file --batch 03:19:09 2023-04-19 03:19:09,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-219/.semver, universal_newlines=False, shell=None, istream=) 03:19:09 2023-04-19 03:19:09,827 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-219/.semver/PR-219 03:19:09 0.0.0 [Pipeline] } 03:19:10 $ docker exec --env ******** --env ******** 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f ssh-agent -k 03:19:10 unset SSH_AUTH_SOCK; 03:19:10 unset SSH_AGENT_PID; 03:19:10 echo Agent pid 78 killed; 03:19:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:10 + git semver [Pipeline] } 03:19:11 $ docker stop --time=1 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f 03:19:12 $ docker rm -f --volumes 980d34bfe80c290a55f5ffd3f3f53484fcf71522fb4b69d10ed874d98c4d637f [Pipeline] // withDockerContainer [Pipeline] sh 03:19:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:19:13 Stashed 1 file(s) [Pipeline] echo 03:19:13 [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 03:19:14 provisioning config files... 03:19:14 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-219@tmp/config13339357152425768319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:14 ---> docker-login.sh 03:19:14 nexus3.edgexfoundry.org:10001 03:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:14 Configure a credential helper to remove this warning. See 03:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:14 03:19:14 Login Succeeded 03:19:14 nexus3.edgexfoundry.org:10002 03:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:14 Configure a credential helper to remove this warning. See 03:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:14 03:19:14 Login Succeeded 03:19:14 nexus3.edgexfoundry.org:10003 03:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:14 Configure a credential helper to remove this warning. See 03:19:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:14 03:19:14 Login Succeeded 03:19:14 nexus3.edgexfoundry.org:10004 03:19:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:15 Configure a credential helper to remove this warning. See 03:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:15 03:19:15 Login Succeeded 03:19:15 docker.io 03:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:15 Configure a credential helper to remove this warning. See 03:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:15 03:19:15 Login Succeeded 03:19:15 ---> docker-login.sh ends [Pipeline] } 03:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:19:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:19:16 ========================================================= 03:19:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:19:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:16 + 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 . 03:19:16 Sending build context to Docker daemon 1.926MB 03:19:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:19:16 Step 2/13 : FROM ${BASE} AS builder 03:19:16 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:19:16 63b65145d645: Pulling fs layer 03:19:16 a2d21d5440eb: Pulling fs layer 03:19:16 935e6c44a52c: Pulling fs layer 03:19:16 94cc34f8dd06: Pulling fs layer 03:19:16 30dea6a524f1: Pulling fs layer 03:19:16 a2aff8979fd8: Pulling fs layer 03:19:16 6808be2612f2: Pulling fs layer 03:19:16 f25807f1079a: Pulling fs layer 03:19:16 94cc34f8dd06: Waiting 03:19:16 a2aff8979fd8: Waiting 03:19:16 6808be2612f2: Waiting 03:19:16 30dea6a524f1: Waiting 03:19:16 f25807f1079a: Waiting 03:19:16 a2d21d5440eb: Verifying Checksum 03:19:16 a2d21d5440eb: Download complete 03:19:16 94cc34f8dd06: Verifying Checksum 03:19:16 94cc34f8dd06: Download complete 03:19:16 30dea6a524f1: Download complete 03:19:16 63b65145d645: Download complete 03:19:16 a2aff8979fd8: Verifying Checksum 03:19:16 a2aff8979fd8: Download complete 03:19:16 63b65145d645: Pull complete 03:19:17 a2d21d5440eb: Pull complete 03:19:17 935e6c44a52c: Verifying Checksum 03:19:17 935e6c44a52c: Download complete 03:19:17 f25807f1079a: Verifying Checksum 03:19:17 f25807f1079a: Download complete 03:19:17 6808be2612f2: Verifying Checksum 03:19:17 6808be2612f2: Download complete 03:19:21 935e6c44a52c: Pull complete 03:19:21 94cc34f8dd06: Pull complete 03:19:21 30dea6a524f1: Pull complete 03:19:21 a2aff8979fd8: Pull complete 03:19:23 6808be2612f2: Pull complete 03:19:24 f25807f1079a: Pull complete 03:19:24 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:19:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:19:24 ---> 3b553350e43f 03:19:24 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:19:26 ---> Running in 021f419547bc 03:19:26 Removing intermediate container 021f419547bc 03:19:26 ---> 6ba70a3105ef 03:19:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:19:26 ---> Running in 36f2785405ff 03:19:26 Removing intermediate container 36f2785405ff 03:19:26 ---> dbe21beb5372 03:19:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 03:19:26 ---> Running in 1686cc67757c 03:19:26 Removing intermediate container 1686cc67757c 03:19:26 ---> 9d90bb9e50a3 03:19:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 03:19:26 ---> Running in 830305e17198 03:19:26 Removing intermediate container 830305e17198 03:19:26 ---> ce93af6bff5e 03:19:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:19:26 ---> Running in ca57211bd971 03:19:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:19:27 (1/14) Installing libintl (0.21.1-r1) 03:19:27 (2/14) Installing eudev-libs (3.2.11-r4) 03:19:27 (3/14) Installing libjpeg-turbo (2.1.4-r0) 03:19:27 (4/14) Installing v4l-utils-libs (1.22.1-r2) 03:19:27 (5/14) Installing v4l-utils (1.22.1-r2) 03:19:27 (6/14) Installing udev-init-scripts (35-r1) 03:19:27 (7/14) Installing libblkid (2.38.1-r1) 03:19:27 (8/14) Installing xz-libs (5.2.9-r0) 03:19:27 (9/14) Installing zstd-libs (1.5.5-r0) 03:19:27 (10/14) Installing kmod-libs (30-r1) 03:19:27 (11/14) Installing eudev (3.2.11-r4) 03:19:27 (12/14) Installing eudev-dev (3.2.11-r4) 03:19:27 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 03:19:27 (14/14) Installing v4l-utils-dev (1.22.1-r2) 03:19:27 Executing busybox-1.35.0-r29.trigger 03:19:27 Executing eudev-3.2.11-r4.trigger 03:19:27 OK: 272 MiB in 67 packages 03:19:27 Removing intermediate container ca57211bd971 03:19:27 ---> 73c98b94c784 03:19:27 Step 8/13 : WORKDIR /device-usb-camera 03:19:27 ---> Running in 22ac245616d3 03:19:27 Removing intermediate container 22ac245616d3 03:19:27 ---> 28abf9969ced 03:19:27 Step 9/13 : COPY go.mod vendor* ./ 03:19:28 ---> 26a78d7002ef 03:19:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:19:28 ---> Running in 52118dd6ca07 03:19:28 Still waiting to schedule task 03:19:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:19:50 Removing intermediate container 52118dd6ca07 03:19:50 ---> 0dc45860c4ed 03:19:50 Step 11/13 : COPY . . 03:19:50 ---> 0e4dc9309e43 03:19:50 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 03:19:50 ---> Running in 13edd2f2fc01 03:19:50  % Total % Received % Xferd Average Speed Time Time Time Current 03:19:50  Dload Upload Total Spent Left Speed 03:19:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 19779 0 --:--:-- --:--:-- --:--:-- 20037 03:19:50 Removing intermediate container 13edd2f2fc01 03:19:50 ---> 255aadd5203b 03:19:50 Step 13/13 : RUN ${MAKE} 03:19:50 ---> Running in 0d4a0cc59bf8 03:19:50 noop 03:19:50 Removing intermediate container 0d4a0cc59bf8 03:19:50 ---> 9cd62d126e1d 03:19:50 Successfully built 9cd62d126e1d 03:19:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:50 + docker inspect -f . ci-base-image-x86_64 03:19:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:50 prd-ubuntu20.04-docker-8c-8g-9053 does not seem to be running inside a container 03:19:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-219 -v /w/workspace/foundry_device-usb-camera_PR-219:/w/workspace/foundry_device-usb-camera_PR-219:rw,z -v /w/workspace/foundry_device-usb-camera_PR-219@tmp:/w/workspace/foundry_device-usb-camera_PR-219@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 ******** ci-base-image-x86_64 cat 03:19:51 $ docker top f2c937520a07e967769fe60e4c8be3a023de15e4231c3e0c5710000eb1f634f5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:51 + go version 03:19:51 go version go1.20.2 linux/amd64 [Pipeline] } 03:19:51 $ docker stop --time=1 f2c937520a07e967769fe60e4c8be3a023de15e4231c3e0c5710000eb1f634f5 03:19:52 $ docker rm -f --volumes f2c937520a07e967769fe60e4c8be3a023de15e4231c3e0c5710000eb1f634f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:53 + docker inspect -f . ci-base-image-x86_64 03:19:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:53 prd-ubuntu20.04-docker-8c-8g-9053 does not seem to be running inside a container 03:19:53 $ 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-219 -v /w/workspace/foundry_device-usb-camera_PR-219:/w/workspace/foundry_device-usb-camera_PR-219:rw,z -v /w/workspace/foundry_device-usb-camera_PR-219@tmp:/w/workspace/foundry_device-usb-camera_PR-219@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 ******** ci-base-image-x86_64 cat 03:19:54 $ docker top 9f2cbf512a4818ddaab6ad796149e526adef024af412bb790efeb4cd2ae880d7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:54 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-219 [Pipeline] fileExists [Pipeline] sh 03:19:54 + make test 03:19:54 go test ./... -coverprofile=coverage.out ./... 03:20:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 03:20:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 03:20:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 2.0% of statements 03:20:17 go vet ./... 03:20:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:20:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:20:20 ./bin/test-attribution-txt.sh [Pipeline] echo 03:20:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:20:20 $ docker stop --time=1 9f2cbf512a4818ddaab6ad796149e526adef024af412bb790efeb4cd2ae880d7 03:20:23 $ docker rm -f --volumes 9f2cbf512a4818ddaab6ad796149e526adef024af412bb790efeb4cd2ae880d7 [Pipeline] // withDockerContainer [Pipeline] sh 03:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:20:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:20:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:20:24 + ls -al . 03:20:24 total 192 03:20:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 03:19 . 03:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:18 .. 03:20:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 03:19 .git 03:20:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:18 .github 03:20:24 -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 03:18 .gitignore 03:20:24 -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 03:18 .golangci.yml 03:20:24 -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 03:18 .hadolint.yml 03:20:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 03:19 .semver 03:20:24 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 03:18 Attribution.txt 03:20:24 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 03:18 CHANGELOG.md 03:20:24 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 03:18 Dockerfile 03:20:24 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 03:18 GOVERNANCE.md 03:20:24 -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 03:18 Jenkinsfile 03:20:24 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 03:18 LICENSE 03:20:24 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 03:18 Makefile 03:20:24 -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 03:18 OWNERS.md 03:20:24 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 03:18 README.md 03:20:24 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 03:19 VERSION 03:20:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 03:18 bin 03:20:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:18 cmd 03:20:24 -rw-r--r-- 1 jenkins jenkins 28693 Apr 19 03:20 coverage.out 03:20:24 -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 03:18 docker-entrypoint.sh 03:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:18 docs 03:20:24 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 03:18 go.mod 03:20:24 -rw-rw-r-- 1 jenkins jenkins 31603 Apr 19 03:18 go.sum 03:20:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:18 internal 03:20:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:18 snap 03:20:24 -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 03:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:24 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fbe54c5e211bbedf0d4eee52734be375df82181f --label arch=amd64 --label version=0.0.0 . 03:20:24 Sending build context to Docker daemon 1.955MB 03:20:24 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 03:20:24 Step 2/35 : FROM ${BASE} AS builder 03:20:24 ---> 9cd62d126e1d 03:20:24 Step 3/35 : ARG ADD_BUILD_TAGS="" 03:20:24 ---> Running in c35f32a3e672 03:20:25 Removing intermediate container c35f32a3e672 03:20:25 ---> df2a255049dc 03:20:25 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:25 ---> Running in f03735e5c3ca 03:20:25 Removing intermediate container f03735e5c3ca 03:20:25 ---> 9bcea7b5b1e1 03:20:25 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 03:20:25 ---> Running in 250c5974006c 03:20:25 Removing intermediate container 250c5974006c 03:20:25 ---> 49417750a400 03:20:25 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 03:20:25 ---> Running in 0b19c50acf32 03:20:25 Removing intermediate container 0b19c50acf32 03:20:25 ---> 234810578ffc 03:20:25 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:25 ---> Running in 423f5846ce9d 03:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:20:26 OK: 272 MiB in 67 packages 03:20:26 Removing intermediate container 423f5846ce9d 03:20:26 ---> 842858ff1a13 03:20:26 Step 8/35 : WORKDIR /device-usb-camera 03:20:26 ---> Running in efe25f2a0a6b 03:20:26 Removing intermediate container efe25f2a0a6b 03:20:26 ---> a9de935b75f2 03:20:26 Step 9/35 : COPY go.mod vendor* ./ 03:20:26 ---> 90bcffeab337 03:20:26 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:26 ---> Running in 74e4c3ff23e8 03:20:27 Removing intermediate container 74e4c3ff23e8 03:20:27 ---> 9062b1fb3335 03:20:27 Step 11/35 : COPY . . 03:20:27 ---> 76b5e34917ea 03:20:27 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 03:20:27 ---> Running in 4e0cbf7370d5 03:20:28  % Total % Received % Xferd Average Speed Time Time Time Current 03:20:28 Dload Upload Total Spent Left Speed 03:20:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 18396 0 --:--:-- --:--:-- --:--:-- 18631 03:20:28 Removing intermediate container 4e0cbf7370d5 03:20:28 ---> 970bce580776 03:20:28 Step 13/35 : RUN ${MAKE} 03:20:28 ---> Running in a64c3ca44571 03:20:29 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 03:20:47 Removing intermediate container a64c3ca44571 03:20:47 ---> 1acf424390f4 03:20:47 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 03:20:47 v0.21.6: Pulling from aler9/rtsp-simple-server 03:20:47 4acc49c71d14: Pulling fs layer 03:20:47 4acc49c71d14: Verifying Checksum 03:20:47 4acc49c71d14: Download complete 03:20:48 4acc49c71d14: Pull complete 03:20:48 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 03:20:48 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 03:20:48 ---> 01a2bd3e5fff 03:20:48 Step 15/35 : FROM alpine:3.17 03:20:48 3.17: Pulling from library/alpine 03:20:48 f56be85fc22e: Pulling fs layer 03:20:48 f56be85fc22e: Verifying Checksum 03:20:49 f56be85fc22e: Pull complete 03:20:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:20:49 Status: Downloaded newer image for alpine:3.17 03:20:49 ---> 9ed4aefc74f6 03:20:49 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:20:49 ---> Running in 9711f3fe9312 03:20:49 Removing intermediate container 9711f3fe9312 03:20:49 ---> bd12b21b36cd 03:20:49 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 03:20:49 ---> Running in ef3f0157ca21 03:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:20:49 (1/86) Installing dumb-init (1.2.5-r2) 03:20:49 (2/86) Installing sdl2 (2.26.5-r0) 03:20:49 (3/86) Installing svt-av1-libs (1.3.0-r0) 03:20:50 (4/86) Installing libxau (1.0.10-r0) 03:20:50 (5/86) Installing libmd (1.0.4-r0) 03:20:50 (6/86) Installing libbsd (0.11.7-r0) 03:20:50 (7/86) Installing libxdmcp (1.1.4-r0) 03:20:50 (8/86) Installing libxcb (1.15-r0) 03:20:50 (9/86) Installing libx11 (1.8.4-r0) 03:20:50 (10/86) Installing aom-libs (3.5.0-r0) 03:20:50 (11/86) Installing alsa-lib (1.2.8-r0) 03:20:50 (12/86) Installing libexpat (2.5.0-r0) 03:20:50 (13/86) Installing brotli-libs (1.0.9-r9) 03:20:50 (14/86) Installing libbz2 (1.0.8-r4) 03:20:50 (15/86) Installing libpng (1.6.38-r0) 03:20:50 (16/86) Installing freetype (2.12.1-r0) 03:20:50 (17/86) Installing fontconfig (2.14.1-r0) 03:20:50 (18/86) Installing fribidi (1.0.12-r0) 03:20:50 (19/86) Installing libffi (3.4.4-r0) 03:20:50 (20/86) Installing libintl (0.21.1-r1) 03:20:50 (21/86) Installing libblkid (2.38.1-r1) 03:20:50 (22/86) Installing libmount (2.38.1-r1) 03:20:50 (23/86) Installing pcre2 (10.42-r0) 03:20:50 (24/86) Installing glib (2.74.6-r0) 03:20:50 (25/86) Installing graphite2 (1.3.14-r2) 03:20:50 (26/86) Installing harfbuzz (5.3.1-r1) 03:20:50 (27/86) Installing libass (0.16.0-r1) 03:20:50 (28/86) Installing libdav1d (1.0.0-r2) 03:20:50 (29/86) Installing hwdata-pci (0.364-r0) 03:20:50 (30/86) Installing libpciaccess (0.17-r0) 03:20:50 (31/86) Installing libdrm (2.4.114-r0) 03:20:50 (32/86) Installing gmp (6.2.1-r2) 03:20:50 (33/86) Installing nettle (3.8.1-r0) 03:20:50 (34/86) Installing p11-kit (0.24.1-r1) 03:20:50 (35/86) Installing libtasn1 (4.19.0-r0) 03:20:50 (36/86) Installing libunistring (1.1-r0) 03:20:50 (37/86) Installing gnutls (3.7.8-r3) 03:20:50 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 03:20:50 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 03:20:50 (40/86) Installing lame (3.100-r2) 03:20:50 (41/86) Installing opus (1.3.1-r1) 03:20:50 (42/86) Installing libasyncns (0.8-r1) 03:20:50 (43/86) Installing dbus-libs (1.14.4-r0) 03:20:50 (44/86) Installing libltdl (2.4.7-r1) 03:20:50 (45/86) Installing orc (0.4.33-r0) 03:20:50 (46/86) Installing libgcc (12.2.1_git20220924-r4) 03:20:50 (47/86) Installing libogg (1.3.5-r2) 03:20:50 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 03:20:50 (49/86) Installing flac-libs (1.4.2-r0) 03:20:50 (50/86) Installing libvorbis (1.3.7-r0) 03:20:50 (51/86) Installing libsndfile (1.1.0-r2) 03:20:50 (52/86) Installing libgomp (12.2.1_git20220924-r4) 03:20:50 (53/86) Installing soxr (0.1.3-r3) 03:20:50 (54/86) Installing speexdsp (1.2.1-r0) 03:20:50 (55/86) Installing tdb-libs (1.4.6-r0) 03:20:50 (56/86) Installing libpulse (16.1-r6) 03:20:50 (57/86) Installing cjson (1.7.15-r3) 03:20:50 (58/86) Installing mbedtls (2.28.3-r0) 03:20:50 (59/86) Installing librist (0.2.7-r0) 03:20:50 (60/86) Installing libsrt (1.5.1-r0) 03:20:50 (61/86) Installing libssh (0.10.4-r0) 03:20:50 (62/86) Installing libtheora (1.1.1-r16) 03:20:50 (63/86) Installing libjpeg-turbo (2.1.4-r0) 03:20:50 (64/86) Installing v4l-utils-libs (1.22.1-r2) 03:20:50 (65/86) Installing libxext (1.3.5-r0) 03:20:50 (66/86) Installing libxfixes (6.0.0-r0) 03:20:50 (67/86) Installing wayland-libs-client (1.21.0-r1) 03:20:50 (68/86) Installing libva (2.16.0-r0) 03:20:50 (69/86) Installing libvdpau (1.5-r0) 03:20:50 (70/86) Installing vidstab (1.1.0-r2) 03:20:50 (71/86) Installing libvpx (1.12.0-r1) 03:20:50 (72/86) Installing libwebp (1.2.4-r1) 03:20:50 (73/86) Installing x264-libs (0.164_git20220602-r0) 03:20:50 (74/86) Installing numactl (2.0.16-r1) 03:20:50 (75/86) Installing x265-libs (3.5-r3) 03:20:50 (76/86) Installing xvidcore (1.3.7-r1) 03:20:50 (77/86) Installing libsodium (1.0.18-r2) 03:20:50 (78/86) Installing libzmq (4.3.4-r1) 03:20:50 (79/86) Installing ffmpeg-libs (5.1.3-r0) 03:20:50 (80/86) Installing ffmpeg (5.1.3-r0) 03:20:50 (81/86) Installing udev-init-scripts (35-r1) 03:20:50 (82/86) Installing eudev-libs (3.2.11-r4) 03:20:50 (83/86) Installing xz-libs (5.2.9-r0) 03:20:50 (84/86) Installing zstd-libs (1.5.5-r0) 03:20:50 (85/86) Installing kmod-libs (30-r1) 03:20:50 (86/86) Installing eudev (3.2.11-r4) 03:20:50 Executing busybox-1.35.0-r29.trigger 03:20:50 Executing eudev-3.2.11-r4.trigger 03:20:50 OK: 112 MiB in 101 packages 03:20:52 Removing intermediate container ef3f0157ca21 03:20:52 ---> c8a8c7c82626 03:20:52 Step 18/35 : WORKDIR / 03:20:52 ---> Running in 81c478da4574 03:20:52 Removing intermediate container 81c478da4574 03:20:52 ---> 82d43661fc4a 03:20:52 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 03:20:53 ---> 6af5602c6019 03:20:53 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 03:20:53 ---> 918c61049104 03:20:53 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 03:20:53 ---> a2f1d874888f 03:20:53 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 03:20:53 ---> 21da481f595c 03:20:53 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 03:20:53 ---> 39d4cb843824 03:20:53 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 03:20:53 ---> 753fcddf18b3 03:20:53 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 03:20:54 ---> dda8afb58912 03:20:54 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 03:20:54 ---> Running in af442c7a087b 03:20:54 Removing intermediate container af442c7a087b 03:20:54 ---> 2f2912c38b27 03:20:54 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 03:20:54 ---> Running in 357428e1adc9 03:20:55 Removing intermediate container 357428e1adc9 03:20:55 ---> 3cc91ca47a71 03:20:55 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 03:20:55 ---> Running in 512fb60557ed 03:20:56 Removing intermediate container 512fb60557ed 03:20:56 ---> b8aca1a274d1 03:20:56 Step 29/35 : EXPOSE 59983 03:20:56 ---> Running in e3a405c1f01c 03:20:56 Removing intermediate container e3a405c1f01c 03:20:56 ---> 7cfb047463f7 03:20:56 Step 30/35 : EXPOSE 8554 03:20:56 ---> Running in e2acba76e499 03:20:56 Removing intermediate container e2acba76e499 03:20:56 ---> 14c14375d3f5 03:20:56 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 03:20:56 ---> Running in f0bac9bc7381 03:20:56 Removing intermediate container f0bac9bc7381 03:20:56 ---> 998f408e56fb 03:20:56 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 03:20:56 ---> Running in 49fd1a3448de 03:20:56 Removing intermediate container 49fd1a3448de 03:20:56 ---> a18509d8886f 03:20:56 Step 33/35 : LABEL arch=amd64 03:20:56 ---> Running in 51af5bddab83 03:20:56 Removing intermediate container 51af5bddab83 03:20:56 ---> ce79cb73d7e1 03:20:56 Step 34/35 : LABEL git_sha=fbe54c5e211bbedf0d4eee52734be375df82181f 03:20:56 ---> Running in 15cf7a032f8e 03:20:57 Removing intermediate container 15cf7a032f8e 03:20:57 ---> e9d03c2103b7 03:20:57 Step 35/35 : LABEL version=0.0.0 03:20:57 ---> Running in eb2ed0339096 03:20:57 Removing intermediate container eb2ed0339096 03:20:57 ---> 0923101954c2 03:20:57 [Warning] One or more build-args [ARCH] were not consumed 03:20:57 Successfully built 0923101954c2 03:20:57 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:20:58 03:20:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:20:58 latest: Pulling from edgex-lftools-log-publisher 03:20:58 5eb5b503b376: Pulling fs layer 03:20:58 5c69ac0246d0: Pulling fs layer 03:20:58 ec43610c2a17: Pulling fs layer 03:20:58 3a2ae6a8a46f: Pulling fs layer 03:20:58 33b1e0a273af: Pulling fs layer 03:20:58 5d3b04190fa2: Pulling fs layer 03:20:58 2f39f015ded8: Pulling fs layer 03:20:58 3a2ae6a8a46f: Waiting 03:20:58 33b1e0a273af: Waiting 03:20:58 5d3b04190fa2: Waiting 03:20:58 2f39f015ded8: Waiting 03:20:58 5c69ac0246d0: Download complete 03:20:58 3a2ae6a8a46f: Verifying Checksum 03:20:58 3a2ae6a8a46f: Download complete 03:20:58 33b1e0a273af: Verifying Checksum 03:20:58 33b1e0a273af: Download complete 03:20:58 5d3b04190fa2: Verifying Checksum 03:20:58 ec43610c2a17: Verifying Checksum 03:20:58 ec43610c2a17: Download complete 03:20:58 5eb5b503b376: Verifying Checksum 03:20:58 5eb5b503b376: Download complete 03:20:59 2f39f015ded8: Download complete 03:20:59 5eb5b503b376: Pull complete 03:20:59 5c69ac0246d0: Pull complete 03:21:00 ec43610c2a17: Pull complete 03:21:00 3a2ae6a8a46f: Pull complete 03:21:00 33b1e0a273af: Pull complete 03:21:00 5d3b04190fa2: Pull complete 03:21:05 2f39f015ded8: Pull complete 03:21:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:21:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:05 prd-ubuntu20.04-docker-8c-8g-9053 does not seem to be running inside a container 03:21:05 $ 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-219 -v /w/workspace/foundry_device-usb-camera_PR-219:/w/workspace/foundry_device-usb-camera_PR-219:rw,z -v /w/workspace/foundry_device-usb-camera_PR-219@tmp:/w/workspace/foundry_device-usb-camera_PR-219@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 03:21:07 $ docker top 226e2c661025dd4d742dd48b90c6f5ee9955af87b9cb39a7e469ac67c55cf3e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:07 ---> job-cost.sh 03:21:07 lf-activate-venv: SKIPPING 03:21:07 INFO: No Stack... 03:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 03:21:08 INFO: Archiving Costs [Pipeline] sh 03:21:08 + cat /w/workspace/foundry_device-usb-camera_PR-219/archives/cost.csv 03:21:08 + cut -d, -f6 [Pipeline] lock 03:21:08 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] 03:21:08 Resource [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] did not exist. Created. 03:21:08 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:21:08 + echo total: 0.2199999988079071 [Pipeline] stash 03:21:08 Stashed 1 file(s) [Pipeline] } 03:21:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:21:09 $ docker stop --time=1 226e2c661025dd4d742dd48b90c6f5ee9955af87b9cb39a7e469ac67c55cf3e9 03:21:10 $ docker rm -f --volumes 226e2c661025dd4d742dd48b90c6f5ee9955af87b9cb39a7e469ac67c55cf3e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:22:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9055 in /w/workspace/foundry_device-usb-camera_PR-219 [Pipeline] { [Pipeline] ws 03:22:03 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 03:22:04 Selected Git installation does not exist. Using Default 03:22:04 The recommended git tool is: NONE 03:22:10 using credential edgex-jenkins-ssh 03:22:11 Cloning the remote Git repository 03:22:11 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 03:22:11 > git init /w/workspace/device-usb-camera/1 # timeout=10 03:22:11 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 03:22:11 > git --version # timeout=10 03:22:11 > git --version # 'git version 2.25.1' 03:22:11 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:22:12 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 03:22:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:22:13 Merging remotes/origin/main commit c817a5cee4fa6797817ba67f8fb41572c1732248 into PR head commit fbe54c5e211bbedf0d4eee52734be375df82181f 03:22:14 Merge succeeded, producing fbe54c5e211bbedf0d4eee52734be375df82181f 03:22:14 Checking out Revision fbe54c5e211bbedf0d4eee52734be375df82181f (PR-219) 03:22:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 03:22:13 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 03:22:13 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:22:13 > git config core.sparsecheckout # timeout=10 03:22:13 > git checkout -f fbe54c5e211bbedf0d4eee52734be375df82181f # timeout=10 03:22:13 > git remote # timeout=10 03:22:14 > git config --get remote.origin.url # timeout=10 03:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:22:14 > git merge c817a5cee4fa6797817ba67f8fb41572c1732248 # timeout=10 03:22:14 > git rev-parse HEAD^{commit} # timeout=10 03:22:14 > git config core.sparsecheckout # timeout=10 03:22:14 > git checkout -f fbe54c5e211bbedf0d4eee52734be375df82181f # timeout=10 03:22:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 03:22:14 > git --version # timeout=10 03:22:14 > git --version # 'git version 2.25.1' 03:22:14 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:22:15 % Total % Received % Xferd Average Speed Time Time Time Current 03:22:15 Dload Upload Total Spent Left Speed 03:22:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 03:22:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:22:16 + sudo tee /etc/docker/daemon.new 03:22:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:22:16 { 03:22:16 "registry-mirrors": [ 03:22:16 "https://nexus3.edgexfoundry.org:10001" 03:22:16 ], 03:22:16 "bip": "10.250.0.254/24", 03:22:16 "hosts": [ 03:22:16 "tcp://0.0.0.0:5555", 03:22:16 "unix:///var/run/docker.sock" 03:22:16 ], 03:22:16 "mtu": 1458, 03:22:16 "selinux-enabled": true, 03:22:16 "seccomp-profile": "/etc/docker/seccomp.json" 03:22:16 } [Pipeline] sh 03:22:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:22:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:36 provisioning config files... 03:22:36 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2113152476222299958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:36 ---> docker-login.sh 03:22:36 nexus3.edgexfoundry.org:10001 03:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:37 Configure a credential helper to remove this warning. See 03:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:37 03:22:37 Login Succeeded 03:22:37 nexus3.edgexfoundry.org:10002 03:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:37 Configure a credential helper to remove this warning. See 03:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:37 03:22:37 Login Succeeded 03:22:37 nexus3.edgexfoundry.org:10003 03:22:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:37 Configure a credential helper to remove this warning. See 03:22:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:37 03:22:37 Login Succeeded 03:22:37 nexus3.edgexfoundry.org:10004 03:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:38 Configure a credential helper to remove this warning. See 03:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:38 03:22:38 Login Succeeded 03:22:38 docker.io 03:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:22:38 Configure a credential helper to remove this warning. See 03:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:22:38 03:22:38 Login Succeeded 03:22:38 ---> docker-login.sh ends [Pipeline] } 03:22:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:22:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:22:39 ========================================================= 03:22:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:22:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:39 + 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 . 03:22:40 Sending build context to Docker daemon 1.225MB 03:22:40 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:22:40 Step 2/13 : FROM ${BASE} AS builder 03:22:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:22:40 af6eaf76a39c: Pulling fs layer 03:22:40 55522c791124: Pulling fs layer 03:22:40 ce5c4a1c91eb: Pulling fs layer 03:22:40 169dfbe0d373: Pulling fs layer 03:22:40 e1ff8fa3b103: Pulling fs layer 03:22:40 52ebb69f0ebf: Pulling fs layer 03:22:40 5abe8eddf0d5: Pulling fs layer 03:22:40 169dfbe0d373: Waiting 03:22:40 e1ff8fa3b103: Waiting 03:22:40 52ebb69f0ebf: Waiting 03:22:40 5abe8eddf0d5: Waiting 03:22:40 55522c791124: Verifying Checksum 03:22:40 55522c791124: Download complete 03:22:40 169dfbe0d373: Verifying Checksum 03:22:40 169dfbe0d373: Download complete 03:22:40 e1ff8fa3b103: Verifying Checksum 03:22:40 e1ff8fa3b103: Download complete 03:22:40 af6eaf76a39c: Verifying Checksum 03:22:40 af6eaf76a39c: Download complete 03:22:41 af6eaf76a39c: Pull complete 03:22:41 5abe8eddf0d5: Verifying Checksum 03:22:41 5abe8eddf0d5: Download complete 03:22:42 55522c791124: Pull complete 03:22:43 ce5c4a1c91eb: Verifying Checksum 03:22:43 ce5c4a1c91eb: Download complete 03:22:43 52ebb69f0ebf: Verifying Checksum 03:22:43 52ebb69f0ebf: Download complete 03:22:55 ce5c4a1c91eb: Pull complete 03:22:55 169dfbe0d373: Pull complete 03:22:55 e1ff8fa3b103: Pull complete 03:23:00 52ebb69f0ebf: Pull complete 03:23:02 5abe8eddf0d5: Pull complete 03:23:02 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:23:02 ---> 6cb57ee374ae 03:23:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:23:04 ---> Running in 968fc7dfa834 03:23:04 Removing intermediate container 968fc7dfa834 03:23:04 ---> 6aaf5000d3bb 03:23:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:04 ---> Running in f104379dde8d 03:23:05 Removing intermediate container f104379dde8d 03:23:05 ---> 3f57154fccf6 03:23:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 03:23:05 ---> Running in 2759c3d929f7 03:23:05 Removing intermediate container 2759c3d929f7 03:23:05 ---> 90c2b3ddc30f 03:23:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 03:23:05 ---> Running in 04f87e8488f4 03:23:06 Removing intermediate container 04f87e8488f4 03:23:06 ---> 79c9b8b5eb7d 03:23:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:06 ---> Running in 3b6c5d889cb2 03:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:23:08 (1/14) Installing libintl (0.21.1-r1) 03:23:08 (2/14) Installing eudev-libs (3.2.11-r4) 03:23:08 (3/14) Installing libjpeg-turbo (2.1.4-r0) 03:23:08 (4/14) Installing v4l-utils-libs (1.22.1-r2) 03:23:08 (5/14) Installing v4l-utils (1.22.1-r2) 03:23:09 (6/14) Installing udev-init-scripts (35-r1) 03:23:09 (7/14) Installing libblkid (2.38.1-r1) 03:23:09 (8/14) Installing xz-libs (5.2.9-r0) 03:23:09 (9/14) Installing zstd-libs (1.5.5-r0) 03:23:09 (10/14) Installing kmod-libs (30-r1) 03:23:09 (11/14) Installing eudev (3.2.11-r4) 03:23:09 (12/14) Installing eudev-dev (3.2.11-r4) 03:23:09 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 03:23:09 (14/14) Installing v4l-utils-dev (1.22.1-r2) 03:23:09 Executing busybox-1.35.0-r29.trigger 03:23:09 Executing eudev-3.2.11-r4.trigger 03:23:09 OK: 271 MiB in 67 packages 03:23:10 Removing intermediate container 3b6c5d889cb2 03:23:10 ---> 85321d120528 03:23:10 Step 8/13 : WORKDIR /device-usb-camera 03:23:10 ---> Running in d00529bee9e1 03:23:10 Removing intermediate container d00529bee9e1 03:23:10 ---> d5415e7cd55e 03:23:10 Step 9/13 : COPY go.mod vendor* ./ 03:23:11 ---> 3f5332dc09e2 03:23:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:11 ---> Running in 9dabf8e835b7 03:24:19 Removing intermediate container 9dabf8e835b7 03:24:19 ---> d04b4c9aac87 03:24:19 Step 11/13 : COPY . . 03:24:19 ---> 6d8852e9a213 03:24:19 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 03:24:19 ---> Running in 62597fdc1ec1 03:24:19  % Total % Received % Xferd Average Speed Time Time Time Current 03:24:19  Dload Upload Total Spent Left Speed 03:24:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2807 0 --:--:-- --:--:-- --:--:-- 2816 03:24:19 Removing intermediate container 62597fdc1ec1 03:24:19 ---> 5550dcc07740 03:24:19 Step 13/13 : RUN ${MAKE} 03:24:19 ---> Running in 5f38fd9855b2 03:24:19 noop 03:24:19 Removing intermediate container 5f38fd9855b2 03:24:19 ---> 49e62bbba328 03:24:19 Successfully built 49e62bbba328 03:24:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:19 + docker inspect -f . ci-base-image-arm64 03:24:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:20 prd-ubuntu20.04-docker-arm64-4c-16g-9055 does not seem to be running inside a container 03:24:20 $ 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 03:24:21 $ docker top 0d42ace434c1e1f132860c3b6c437245f9b62e55f8bec34ae0cdcc336b48bac9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:22 + go version 03:24:22 go version go1.20.2 linux/arm64 [Pipeline] } 03:24:22 $ docker stop --time=1 0d42ace434c1e1f132860c3b6c437245f9b62e55f8bec34ae0cdcc336b48bac9 03:24:24 $ docker rm -f --volumes 0d42ace434c1e1f132860c3b6c437245f9b62e55f8bec34ae0cdcc336b48bac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:25 + docker inspect -f . ci-base-image-arm64 03:24:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:25 prd-ubuntu20.04-docker-arm64-4c-16g-9055 does not seem to be running inside a container 03:24:25 $ 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 03:24:28 $ docker top f7ea6c447b7f67273fc383837bd2c7d08b1ada1fd06fc2566e918d930fb863bb -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 03:24:29 + make test 03:24:29 go test ./... -coverprofile=coverage.out ./... 03:25:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 03:27:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 03:27:26 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.086s coverage: 2.0% of statements 03:27:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:27:27 go vet ./... 03:28:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:28:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:28:06 ./bin/test-attribution-txt.sh [Pipeline] echo 03:28:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:28:06 $ docker stop --time=1 f7ea6c447b7f67273fc383837bd2c7d08b1ada1fd06fc2566e918d930fb863bb 03:28:08 $ docker rm -f --volumes f7ea6c447b7f67273fc383837bd2c7d08b1ada1fd06fc2566e918d930fb863bb [Pipeline] // withDockerContainer [Pipeline] sh 03:28:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:28:10 Warning: overwriting stash ‘coverage-report’ 03:28:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:28:11 + ls -al . 03:28:11 total 188 03:28:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 03:24 . 03:28:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:22 .. 03:28:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 03:22 .git 03:28:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:22 .github 03:28:11 -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 03:22 .gitignore 03:28:11 -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 03:22 .golangci.yml 03:28:11 -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 03:22 .hadolint.yml 03:28:11 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 03:22 Attribution.txt 03:28:11 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 03:22 CHANGELOG.md 03:28:11 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 03:22 Dockerfile 03:28:11 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 03:22 GOVERNANCE.md 03:28:11 -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 03:22 Jenkinsfile 03:28:11 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 03:22 LICENSE 03:28:11 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 03:22 Makefile 03:28:11 -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 03:22 OWNERS.md 03:28:11 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 03:22 README.md 03:28:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 03:19 VERSION 03:28:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 03:22 bin 03:28:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:22 cmd 03:28:11 -rw-r--r-- 1 jenkins jenkins 28693 Apr 19 03:27 coverage.out 03:28:11 -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 03:22 docker-entrypoint.sh 03:28:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:22 docs 03:28:11 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 03:22 go.mod 03:28:11 -rw-rw-r-- 1 jenkins jenkins 31603 Apr 19 03:22 go.sum 03:28:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 03:22 internal 03:28:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 03:22 snap 03:28:11 -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:12 + 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=fbe54c5e211bbedf0d4eee52734be375df82181f --label arch=arm64 --label version=0.0.0 . 03:28:12 Sending build context to Docker daemon 1.255MB 03:28:12 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 03:28:12 Step 2/35 : FROM ${BASE} AS builder 03:28:12 ---> 49e62bbba328 03:28:12 Step 3/35 : ARG ADD_BUILD_TAGS="" 03:28:14 ---> Running in 27834a6152a4 03:28:15 Removing intermediate container 27834a6152a4 03:28:15 ---> 4732a60ef6dd 03:28:15 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:28:15 ---> Running in 199b7d53cd25 03:28:15 Removing intermediate container 199b7d53cd25 03:28:15 ---> 911a20c527e0 03:28:15 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 03:28:15 ---> Running in 29f23b0100db 03:28:16 Removing intermediate container 29f23b0100db 03:28:16 ---> 98dc5234b1bd 03:28:16 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 03:28:16 ---> Running in fcfd3ee28de1 03:28:16 Removing intermediate container fcfd3ee28de1 03:28:16 ---> 6ca599bbd4ef 03:28:16 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:16 ---> Running in e335e676da86 03:28:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:28:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:28:19 OK: 271 MiB in 67 packages 03:28:20 Removing intermediate container e335e676da86 03:28:20 ---> 81e652881b93 03:28:20 Step 8/35 : WORKDIR /device-usb-camera 03:28:20 ---> Running in a516ccce217e 03:28:20 Removing intermediate container a516ccce217e 03:28:20 ---> e4f6b80c9d32 03:28:20 Step 9/35 : COPY go.mod vendor* ./ 03:28:21 ---> 38257980688f 03:28:21 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:21 ---> Running in e0cbb31dd24f 03:28:24 Removing intermediate container e0cbb31dd24f 03:28:24 ---> 864b3aadd223 03:28:24 Step 11/35 : COPY . . 03:28:25 ---> b72e74141dfa 03:28:25 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 03:28:25 ---> Running in ae478b753255 03:28:26  % Total % Received % Xferd Average Speed Time Time Time Current 03:28:26   Dload Upload Total Spent  Left Speed 03:28:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3363 0 --:--:-- --:--:-- --:--:-- 3382 03:28:29 Removing intermediate container ae478b753255 03:28:29 ---> 0c8b1c253d43 03:28:29 Step 13/35 : RUN ${MAKE} 03:28:29 ---> Running in 38ce8082380d 03:28:30 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 03:31:21 Removing intermediate container 38ce8082380d 03:31:21 ---> 94dda5370947 03:31:21 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 03:31:21 v0.21.6: Pulling from aler9/rtsp-simple-server 03:31:21 8766b47fe142: Pulling fs layer 03:31:21 8766b47fe142: Verifying Checksum 03:31:21 8766b47fe142: Download complete 03:31:21 8766b47fe142: Pull complete 03:31:21 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 03:31:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 03:31:21 ---> 69d40e2cb93c 03:31:21 Step 15/35 : FROM alpine:3.17 03:31:21 3.17: Pulling from library/alpine 03:31:21 c41833b44d91: Pulling fs layer 03:31:21 c41833b44d91: Verifying Checksum 03:31:21 c41833b44d91: Download complete 03:31:21 c41833b44d91: Pull complete 03:31:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:31:21 Status: Downloaded newer image for alpine:3.17 03:31:21 ---> 51e60588ff2c 03:31:21 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:31:21 ---> Running in 5f5bd16edd03 03:31:21 Removing intermediate container 5f5bd16edd03 03:31:21 ---> e30af9d0692d 03:31:21 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 03:31:21 ---> Running in 9e4107ae0086 03:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:31:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:31:21 (1/83) Installing dumb-init (1.2.5-r2) 03:31:21 (2/83) Installing sdl2 (2.26.5-r0) 03:31:21 (3/83) Installing libxau (1.0.10-r0) 03:31:21 (4/83) Installing libmd (1.0.4-r0) 03:31:21 (5/83) Installing libbsd (0.11.7-r0) 03:31:21 (6/83) Installing libxdmcp (1.1.4-r0) 03:31:21 (7/83) Installing libxcb (1.15-r0) 03:31:21 (8/83) Installing libx11 (1.8.4-r0) 03:31:21 (9/83) Installing aom-libs (3.5.0-r0) 03:31:21 (10/83) Installing alsa-lib (1.2.8-r0) 03:31:21 (11/83) Installing libexpat (2.5.0-r0) 03:31:21 (12/83) Installing brotli-libs (1.0.9-r9) 03:31:21 (13/83) Installing libbz2 (1.0.8-r4) 03:31:21 (14/83) Installing libpng (1.6.38-r0) 03:31:21 (15/83) Installing freetype (2.12.1-r0) 03:31:21 (16/83) Installing fontconfig (2.14.1-r0) 03:31:21 (17/83) Installing fribidi (1.0.12-r0) 03:31:21 (18/83) Installing libffi (3.4.4-r0) 03:31:21 (19/83) Installing libintl (0.21.1-r1) 03:31:21 (20/83) Installing libblkid (2.38.1-r1) 03:31:21 (21/83) Installing libmount (2.38.1-r1) 03:31:21 (22/83) Installing pcre2 (10.42-r0) 03:31:21 (23/83) Installing glib (2.74.6-r0) 03:31:21 (24/83) Installing graphite2 (1.3.14-r2) 03:31:21 (25/83) Installing harfbuzz (5.3.1-r1) 03:31:21 (26/83) Installing libass (0.16.0-r1) 03:31:21 (27/83) Installing libdav1d (1.0.0-r2) 03:31:21 (28/83) Installing libdrm (2.4.114-r0) 03:31:21 (29/83) Installing gmp (6.2.1-r2) 03:31:21 (30/83) Installing nettle (3.8.1-r0) 03:31:21 (31/83) Installing p11-kit (0.24.1-r1) 03:31:21 (32/83) Installing libtasn1 (4.19.0-r0) 03:31:21 (33/83) Installing libunistring (1.1-r0) 03:31:21 (34/83) Installing gnutls (3.7.8-r3) 03:31:21 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 03:31:21 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 03:31:21 (37/83) Installing lame (3.100-r2) 03:31:21 (38/83) Installing opus (1.3.1-r1) 03:31:21 (39/83) Installing libasyncns (0.8-r1) 03:31:21 (40/83) Installing dbus-libs (1.14.4-r0) 03:31:21 (41/83) Installing libltdl (2.4.7-r1) 03:31:21 (42/83) Installing orc (0.4.33-r0) 03:31:21 (43/83) Installing libgcc (12.2.1_git20220924-r4) 03:31:21 (44/83) Installing libogg (1.3.5-r2) 03:31:21 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 03:31:21 (46/83) Installing flac-libs (1.4.2-r0) 03:31:21 (47/83) Installing libvorbis (1.3.7-r0) 03:31:21 (48/83) Installing libsndfile (1.1.0-r2) 03:31:21 (49/83) Installing libgomp (12.2.1_git20220924-r4) 03:31:21 (50/83) Installing soxr (0.1.3-r3) 03:31:21 (51/83) Installing speexdsp (1.2.1-r0) 03:31:21 (52/83) Installing tdb-libs (1.4.6-r0) 03:31:21 (53/83) Installing libpulse (16.1-r6) 03:31:21 (54/83) Installing cjson (1.7.15-r3) 03:31:21 (55/83) Installing mbedtls (2.28.3-r0) 03:31:21 (56/83) Installing librist (0.2.7-r0) 03:31:21 (57/83) Installing libsrt (1.5.1-r0) 03:31:21 (58/83) Installing libssh (0.10.4-r0) 03:31:21 (59/83) Installing libtheora (1.1.1-r16) 03:31:21 (60/83) Installing libjpeg-turbo (2.1.4-r0) 03:31:21 (61/83) Installing v4l-utils-libs (1.22.1-r2) 03:31:21 (62/83) Installing libxext (1.3.5-r0) 03:31:21 (63/83) Installing libxfixes (6.0.0-r0) 03:31:21 (64/83) Installing wayland-libs-client (1.21.0-r1) 03:31:21 (65/83) Installing libva (2.16.0-r0) 03:31:21 (66/83) Installing libvdpau (1.5-r0) 03:31:21 (67/83) Installing vidstab (1.1.0-r2) 03:31:21 (68/83) Installing libvpx (1.12.0-r1) 03:31:21 (69/83) Installing libwebp (1.2.4-r1) 03:31:21 (70/83) Installing x264-libs (0.164_git20220602-r0) 03:31:21 (71/83) Installing numactl (2.0.16-r1) 03:31:21 (72/83) Installing x265-libs (3.5-r3) 03:31:21 (73/83) Installing xvidcore (1.3.7-r1) 03:31:21 (74/83) Installing libsodium (1.0.18-r2) 03:31:21 (75/83) Installing libzmq (4.3.4-r1) 03:31:21 (76/83) Installing ffmpeg-libs (5.1.3-r0) 03:31:21 (77/83) Installing ffmpeg (5.1.3-r0) 03:31:21 (78/83) Installing udev-init-scripts (35-r1) 03:31:21 (79/83) Installing eudev-libs (3.2.11-r4) 03:31:21 (80/83) Installing xz-libs (5.2.9-r0) 03:31:21 (81/83) Installing zstd-libs (1.5.5-r0) 03:31:21 (82/83) Installing kmod-libs (30-r1) 03:31:21 (83/83) Installing eudev (3.2.11-r4) 03:31:21 Executing busybox-1.35.0-r29.trigger 03:31:21 Executing eudev-3.2.11-r4.trigger 03:31:21 OK: 86 MiB in 98 packages 03:31:25 Removing intermediate container 9e4107ae0086 03:31:25 ---> 2ae24173a87c 03:31:25 Step 18/35 : WORKDIR / 03:31:25 ---> Running in 21ff4f2b6b9b 03:31:25 Removing intermediate container 21ff4f2b6b9b 03:31:25 ---> e8d4cee25521 03:31:25 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 03:31:26 ---> 98d4a2240014 03:31:26 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 03:31:27 ---> 94ef1ea09dd2 03:31:27 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 03:31:27 ---> 489bb8d44c39 03:31:27 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 03:31:28 ---> d33ce8e20e2d 03:31:28 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 03:31:28 ---> 06e09b984936 03:31:28 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 03:31:29 ---> 5f8c705b9102 03:31:29 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 03:31:30 ---> d74ff267dfe5 03:31:30 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 03:31:30 ---> Running in cffa599fdd1a 03:31:32 Removing intermediate container cffa599fdd1a 03:31:32 ---> 3a1bbf0d8dbf 03:31:32 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 03:31:32 ---> Running in 7f8900eac08d 03:31:34 Removing intermediate container 7f8900eac08d 03:31:34 ---> 1d58d5695807 03:31:34 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 03:31:34 ---> Running in 46513756d2d3 03:31:35 Removing intermediate container 46513756d2d3 03:31:35 ---> faddba8f1b96 03:31:35 Step 29/35 : EXPOSE 59983 03:31:35 ---> Running in 946b187adc35 03:31:36 Removing intermediate container 946b187adc35 03:31:36 ---> 93dfa9fed876 03:31:36 Step 30/35 : EXPOSE 8554 03:31:36 ---> Running in f86c9c0932a1 03:31:36 Removing intermediate container f86c9c0932a1 03:31:36 ---> 2cdf63f311ad 03:31:36 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 03:31:36 ---> Running in 2226c35db78d 03:31:36 Removing intermediate container 2226c35db78d 03:31:36 ---> dcd5d623dce7 03:31:36 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 03:31:37 ---> Running in af6f83c8de9f 03:31:37 Removing intermediate container af6f83c8de9f 03:31:37 ---> 05ae4b292b5e 03:31:37 Step 33/35 : LABEL arch=arm64 03:31:37 ---> Running in 6134b4a01ada 03:31:37 Removing intermediate container 6134b4a01ada 03:31:37 ---> 4691815c61cc 03:31:37 Step 34/35 : LABEL git_sha=fbe54c5e211bbedf0d4eee52734be375df82181f 03:31:37 ---> Running in fc9e48cba7e0 03:31:37 Removing intermediate container fc9e48cba7e0 03:31:37 ---> ef28a270cf8b 03:31:37 Step 35/35 : LABEL version=0.0.0 03:31:38 ---> Running in 9167c4430847 03:31:38 Removing intermediate container 9167c4430847 03:31:38 ---> 5637a42a02aa 03:31:38 [Warning] One or more build-args [ARCH] were not consumed 03:31:38 Successfully built 5637a42a02aa 03:31:38 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 03:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:39 03:31:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:39 arm64: Pulling from edgex-lftools-log-publisher 03:31:39 8998bd30e6a1: Pulling fs layer 03:31:39 04944245beec: Pulling fs layer 03:31:39 699f458cf7ca: Pulling fs layer 03:31:39 765212b225bb: Pulling fs layer 03:31:39 f23df028b6ca: Pulling fs layer 03:31:39 d65c8cfc05b1: Pulling fs layer 03:31:39 2437ff75d9bd: Pulling fs layer 03:31:39 f23df028b6ca: Waiting 03:31:39 d65c8cfc05b1: Waiting 03:31:39 2437ff75d9bd: Waiting 03:31:39 765212b225bb: Waiting 03:31:39 04944245beec: Verifying Checksum 03:31:39 04944245beec: Download complete 03:31:39 765212b225bb: Download complete 03:31:39 f23df028b6ca: Verifying Checksum 03:31:39 f23df028b6ca: Download complete 03:31:39 d65c8cfc05b1: Verifying Checksum 03:31:39 d65c8cfc05b1: Download complete 03:31:39 699f458cf7ca: Verifying Checksum 03:31:39 699f458cf7ca: Download complete 03:31:40 8998bd30e6a1: Verifying Checksum 03:31:40 8998bd30e6a1: Download complete 03:31:42 2437ff75d9bd: Verifying Checksum 03:31:42 2437ff75d9bd: Download complete 03:31:44 8998bd30e6a1: Pull complete 03:31:44 04944245beec: Pull complete 03:31:45 699f458cf7ca: Pull complete 03:31:45 765212b225bb: Pull complete 03:31:46 f23df028b6ca: Pull complete 03:31:46 d65c8cfc05b1: Pull complete 03:32:01 2437ff75d9bd: Pull complete 03:32:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:32:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:02 prd-ubuntu20.04-docker-arm64-4c-16g-9055 does not seem to be running inside a container 03:32:02 $ 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 03:32:04 $ docker top 4dfd25d28c8b80f758d6bca8a47b563dd3e284e0a88ce51e9016618ee3c92cad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:32:05 ---> job-cost.sh 03:32:05 lf-activate-venv: SKIPPING 03:32:05 INFO: No Stack... 03:32:06 INFO: Retrieving Pricing Info for: v3-standard-4 03:32:07 INFO: Archiving Costs [Pipeline] sh 03:32:07 + + cat /w/workspace/device-usb-camera/1/archives/cost.csv 03:32:07 cut -d, -f6 [Pipeline] lock 03:32:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] 03:32:07 Resource [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] did not exist. Created. 03:32:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:32:08 /w/workspace/device-usb-camera/1@tmp/durable-d6932c16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:32:08 + echo total: 0.10999999940395355 [Pipeline] stash 03:32:08 Warning: overwriting stash ‘stack-cost’ 03:32:09 Stashed 1 file(s) [Pipeline] } 03:32:09 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:32:09 $ docker stop --time=1 4dfd25d28c8b80f758d6bca8a47b563dd3e284e0a88ce51e9016618ee3c92cad 03:32:13 $ docker rm -f --volumes 4dfd25d28c8b80f758d6bca8a47b563dd3e284e0a88ce51e9016618ee3c92cad [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 03:32:14 provisioning config files... 03:32:14 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-219@tmp/config1379415795000562264tmp [Pipeline] { [Pipeline] sh 03:32:14 + set +x 03:32:14 + curl -s https://codecov.io/bash 03:32:14 + bash -s -- 03:32:14 03:32:14 _____ _ 03:32:14 / ____| | | 03:32:14 | | ___ __| | ___ ___ _____ __ 03:32:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:32:14 | |___| (_) | (_| | __/ (_| (_) \ V / 03:32:14 \_____\___/ \__,_|\___|\___\___/ \_/ 03:32:14 Bash-1.0.6 03:32:14 03:32:14 03:32:14 ==> git version 2.25.1 found 03:32:14 ==> 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 03:32:14 Release-Date: 2020-01-08 03:32:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:32:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:32:14 ==> Jenkins CI detected. 03:32:14 current dir:  /w/workspace/foundry_device-usb-camera_PR-219 03:32:14 project root: . 03:32:14 --> token set from env 03:32:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:32:14 ==> Running gcov in . (disable via -X gcov) 03:32:14 ==> Python coveragepy not found 03:32:14 ==> Searching for coverage reports in: 03:32:14 + . 03:32:14 -> Found 1 reports 03:32:14 ==> Detecting git/mercurial file structure 03:32:14 ==> Reading reports 03:32:14 + ./coverage.out bytes=28693 03:32:14 ==> Appending adjustments 03:32:14 https://docs.codecov.io/docs/fixing-reports 03:32:14 + Found adjustments 03:32:14 ==> Gzipping contents 03:32:14 4.0K /tmp/codecov.uDN4Ee.gz 03:32:14 ==> Uploading reports 03:32:14 url: https://codecov.io 03:32:14 query: branch=PR-219&commit=fbe54c5e211bbedf0d4eee52734be375df82181f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=219&job=&cmd_args= 03:32:14 -> Pinging Codecov 03:32: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-219&commit=fbe54c5e211bbedf0d4eee52734be375df82181f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=219&job=&cmd_args= 03:32:15 -> Uploading to 03:32:15 https://storage.googleapis.com/codecov/v4/raw/2023-04-19/73D8F5FF140700D3E01443B452E23636/fbe54c5e211bbedf0d4eee52734be375df82181f/b4606351-dce7-47f3-8caf-93e3c328990e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T033214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=617792ba0a924b41befa849272d04a650eb1d255ca27428e88d87dcfb839b193 03:32:15 % Total % Received % Xferd Average Speed Time Time Time Current 03:32:15 Dload Upload Total Spent Left Speed 03:32:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 17384 --:--:-- --:--:-- --:--:-- 17462 03:32:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/fbe54c5e211bbedf0d4eee52734be375df82181f [Pipeline] } 03:32:15 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 03:32:16 + [ -d /w/workspace/foundry_device-usb-camera_PR-219/archives ] 03:32:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-219/archives 03:32:16 total 16 03:32:16 drwxr-xr-x 3 root root 4096 Apr 19 03:21 . 03:32:16 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 03:21 .. 03:32:16 drwxr-xr-x 2 root root 4096 Apr 19 03:21 cost 03:32:16 -rw-r--r-- 1 root root 89 Apr 19 03:21 cost.csv 03:32:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-219/archives 03:32:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-219/archives 03:32:16 total 16 03:32:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 03:21 . 03:32:16 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 03:21 .. 03:32:16 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 03:21 cost 03:32:16 -rw-r--r-- 1 jenkins jenkins 89 Apr 19 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:32:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:32:18 ---> package-listing.sh 03:32:18 ++ facter osfamily 03:32:18 ++ tr '[:upper:]' '[:lower:]' 03:32:18 + OS_FAMILY=debian 03:32:18 + workspace=/w/workspace/foundry_device-usb-camera_PR-219 03:32:18 + START_PACKAGES=/tmp/packages_start.txt 03:32:18 + END_PACKAGES=/tmp/packages_end.txt 03:32:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:32:18 + PACKAGES=/tmp/packages_start.txt 03:32:18 + '[' /w/workspace/foundry_device-usb-camera_PR-219 ']' 03:32:18 + PACKAGES=/tmp/packages_end.txt 03:32:18 + case "${OS_FAMILY}" in 03:32:18 + dpkg -l 03:32:18 + grep '^ii' 03:32:18 + '[' -f /tmp/packages_start.txt ']' 03:32:18 + '[' -f /tmp/packages_end.txt ']' 03:32:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:32:18 + '[' /w/workspace/foundry_device-usb-camera_PR-219 ']' 03:32:18 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-219/archives/ 03:32:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-219/archives/ [Pipeline] echo 03:32: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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:32:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:19 prd-ubuntu20.04-docker-8c-8g-9053 does not seem to be running inside a container 03:32: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-219/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-219 -v /w/workspace/foundry_device-usb-camera_PR-219:/w/workspace/foundry_device-usb-camera_PR-219:rw,z -v /w/workspace/foundry_device-usb-camera_PR-219@tmp:/w/workspace/foundry_device-usb-camera_PR-219@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:32:19 $ docker top 9c2fd774a1a8a7394db174d49121ee153dcdfa16c00e9159fdf2a76bafeee663 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:20 + touch /tmp/pre-build-complete [Pipeline] sh 03:32:20 + mkdir -p /var/log/sysstat [Pipeline] sh 03:32:20 + ls /var/log/sa-host 03:32:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:32:21 provisioning config files... 03:32:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-219@tmp/config322798824099309489tmp [Pipeline] { [Pipeline] echo 03:32:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:32:21 ---> create-netrc.sh [Pipeline] } 03:32:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:32:21 ---> python-tools-install.sh [Pipeline] echo 03:32:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:32:22 ---> sudo-logs.sh 03:32:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:32:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:32:22 ---> job-cost.sh 03:32:22 lf-activate-venv: SKIPPING 03:32:22 DEBUG: total: 0.2199999988079071 03:32:22 INFO: Retrieving Stack Cost... 03:32:23 INFO: Retrieving Pricing Info for: v3-standard-8 03:32:23 INFO: Archiving Costs [Pipeline] echo 03:32:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:32:23 ---> logs-deploy.sh 03:32:23 lf-activate-venv: SKIPPING 03:32:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-219/1 03:32:23 INFO: archiving workspace using pattern(s): 03:32:24 Archives upload complete. 03:32:24 INFO: archiving logs to Nexus