Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jim-wang-intel for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c rather than 76e3f54acd07913db0165e42833f4c31f467d1ac Obtained Jenkinsfile from 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c 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-ssh10698346883537433091.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-ssh7850836264117460298.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-217/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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16451407882032821586.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-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10375992251814902477.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-ssh1902959903424628631.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-217/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-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8777037089711570058.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-8791 in /w/workspace/foundry_device-usb-camera_PR-217 [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-217 # 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 Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 76e3f54acd07913db0165e42833f4c31f467d1ac > 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/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # 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 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 Merge succeeded, producing 76e3f54acd07913db0165e42833f4c31f467d1ac Checking out Revision 76e3f54acd07913db0165e42833f4c31f467d1ac (PR-217) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" 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 20:53:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:53:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:42 ========================================================= 20:53:42 EdgeX Global Pipelines Version Info 20:53:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:53:42 ------------------- 20:53:42 stable info: 20:53:42 ------------------- 20:53:42 Commited By: Bill Mahoney bill.mahoney@intel.com 20:53:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:53:42 Message: update stable to v1.0.248 20:53:43 ------------------- 20:53:43 experimental info: 20:53:43 ------------------- 20:53:43 Commited By: **** collab-it+edgex@linuxfoundation.org 20:53:43 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:53:43 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:53:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76e3f54 [Pipeline] echo 20:53:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:45 provisioning config files... 20:53:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config15437677918430836082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:45 ---> docker-login.sh 20:53:45 nexus3.edgexfoundry.org:10001 20:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:45 Configure a credential helper to remove this warning. See 20:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:45 20:53:45 Login Succeeded 20:53:45 nexus3.edgexfoundry.org:10002 20:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:45 Configure a credential helper to remove this warning. See 20:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:45 20:53:45 Login Succeeded 20:53:45 nexus3.edgexfoundry.org:10003 20:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:45 Configure a credential helper to remove this warning. See 20:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:45 20:53:45 Login Succeeded 20:53:45 nexus3.edgexfoundry.org:10004 20:53:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:45 Configure a credential helper to remove this warning. See 20:53:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:45 20:53:45 Login Succeeded 20:53:46 docker.io 20:53:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:46 Configure a credential helper to remove this warning. See 20:53:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:46 20:53:46 Login Succeeded 20:53:46 ---> docker-login.sh ends [Pipeline] } 20:53:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:53:47 + git rev-list -1 --merges 76e3f54acd07913db0165e42833f4c31f467d1ac~1..76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo 20:53:47 -----------> git rev-list -1 --merges 76e3f54acd07913db0165e42833f4c31f467d1ac~1..76e3f54acd07913db0165e42833f4c31f467d1ac 76e3f54acd07913db0165e42833f4c31f467d1ac [false] [Pipeline] sh 20:53:47 + git log --format=format:%s -1 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo 20:53:47 ========================================================= 20:53:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:53:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:47 + git log --format=format:%s -1 76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] echo 20:53:48 [semverPrep] GIT_COMMIT: 76e3f54acd07913db0165e42833f4c31f467d1ac, Commit Message: fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs [Pipeline] echo 20:53:48 [semverPrep] This is not a build commit. [Pipeline] sh 20:53:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:48 + grep -v github /etc/ssh/ssh_known_hosts 20:53:48 + [ -e /tmp/ssh_known_hosts ] 20:53:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:53:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:53:48 + sudo tee -a /etc/ssh/ssh_known_hosts 20:53:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:48 20:53:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:53:49 b85a868b505f: Pulling fs layer 20:53:49 e2be974225ed: Pulling fs layer 20:53:49 339a4e72a1f5: Pulling fs layer 20:53:49 988bab9f4d93: Pulling fs layer 20:53:49 1469e6f7b9e6: Pulling fs layer 20:53:49 eaf3925da568: Pulling fs layer 20:53:49 1469e6f7b9e6: Waiting 20:53:49 bab4dde63d76: Pulling fs layer 20:53:49 bde34c3a00c8: Pulling fs layer 20:53:49 988bab9f4d93: Waiting 20:53:49 eaf3925da568: Waiting 20:53:49 bab4dde63d76: Waiting 20:53:49 b352a97aabf1: Pulling fs layer 20:53:49 4872d77fe225: Pulling fs layer 20:53:49 bde34c3a00c8: Waiting 20:53:49 b352a97aabf1: Waiting 20:53:49 5851b861e8e6: Pulling fs layer 20:53:49 4872d77fe225: Waiting 20:53:49 5851b861e8e6: Waiting 20:53:49 e2be974225ed: Verifying Checksum 20:53:49 e2be974225ed: Download complete 20:53:49 988bab9f4d93: Verifying Checksum 20:53:49 988bab9f4d93: Download complete 20:53:49 1469e6f7b9e6: Verifying Checksum 20:53:49 1469e6f7b9e6: Download complete 20:53:49 eaf3925da568: Verifying Checksum 20:53:49 eaf3925da568: Download complete 20:53:49 339a4e72a1f5: Verifying Checksum 20:53:49 339a4e72a1f5: Download complete 20:53:49 bde34c3a00c8: Verifying Checksum 20:53:49 bde34c3a00c8: Download complete 20:53:49 b352a97aabf1: Download complete 20:53:49 4872d77fe225: Download complete 20:53:49 5851b861e8e6: Verifying Checksum 20:53:49 5851b861e8e6: Download complete 20:53:49 b85a868b505f: Verifying Checksum 20:53:49 b85a868b505f: Download complete 20:53:49 bab4dde63d76: Verifying Checksum 20:53:49 bab4dde63d76: Download complete 20:53:50 b85a868b505f: Pull complete 20:53:50 e2be974225ed: Pull complete 20:53:51 339a4e72a1f5: Pull complete 20:53:51 988bab9f4d93: Pull complete 20:53:51 1469e6f7b9e6: Pull complete 20:53:51 eaf3925da568: Pull complete 20:53:53 bab4dde63d76: Pull complete 20:53:53 bde34c3a00c8: Pull complete 20:53:53 b352a97aabf1: Pull complete 20:53:53 4872d77fe225: Pull complete 20:53:53 5851b861e8e6: Pull complete 20:53:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:53:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:54 prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container 20:53:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:53:55 $ docker top fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 -eo pid,comm 20:53:55 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). 20:53:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:55 [ssh-agent] Looking for ssh-agent implementation... 20:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:55 $ docker exec fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent 20:53:55 SSH_AUTH_SOCK=/tmp/ssh-W5DhYxdcFyHy/agent.32 20:53:55 SSH_AGENT_PID=39 20:53:55 Running ssh-add (command line suppressed) 20:53:55 Identity added: /w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_1840872819769008146.key (/w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_1840872819769008146.key) 20:53:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:56 + git tag --points-at HEAD [Pipeline] } 20:53:56 $ docker exec --env ******** --env ******** fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent -k 20:53:56 unset SSH_AUTH_SOCK; 20:53:56 unset SSH_AGENT_PID; 20:53:56 echo Agent pid 39 killed; 20:53:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:53:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:56 [ssh-agent] Looking for ssh-agent implementation... 20:53:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:56 $ docker exec fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent 20:53:56 SSH_AUTH_SOCK=/tmp/ssh-hyARSbcoBb1P/agent.71 20:53:56 SSH_AGENT_PID=78 20:53:56 Running ssh-add (command line suppressed) 20:53:56 Identity added: /w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_5605140926474587686.key (/w/workspace/foundry_device-usb-camera_PR-217@tmp/private_key_5605140926474587686.key) 20:53:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:57 + git semver init 20:53:57 2023-04-17 20:53:57,191 [run_init] DEBUG init version:0.0.0 force:False 20:53:57 2023-04-17 20:53:57,192 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-217/.semver 20:53:57 2023-04-17 20:53:57,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-217/.semver 20:53:57 2023-04-17 20:53:57,193 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-217/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-217, universal_newlines=False, shell=None, istream=None) 20:53:58 2023-04-17 20:53:57,862 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-217/.git/info/exclude 20:53:58 2023-04-17 20:53:57,862 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 with force:False 20:53:58 2023-04-17 20:53:57,862 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 20:53:58 2023-04-17 20:53:57,867 [execute] INFO git cat-file --batch-check 20:53:58 2023-04-17 20:53:57,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) 20:53:58 2023-04-17 20:53:57,874 [execute] INFO git cat-file --batch 20:53:58 2023-04-17 20:53:57,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-217/.semver, universal_newlines=False, shell=None, istream=) 20:53:58 2023-04-17 20:53:57,881 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-217/.semver/PR-217 20:53:58 0.0.0 [Pipeline] } 20:53:58 $ docker exec --env ******** --env ******** fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 ssh-agent -k 20:53:58 unset SSH_AUTH_SOCK; 20:53:58 unset SSH_AGENT_PID; 20:53:58 echo Agent pid 78 killed; 20:53:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:58 + git semver [Pipeline] } 20:53:59 $ docker stop --time=1 fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 20:54:00 $ docker rm -f --volumes fe452b97c11cbcd7b15d9766305b9b80e771bba75ed7776fb42e1e8d0e2ba0b2 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:54:01 Stashed 1 file(s) [Pipeline] echo 20:54:01 [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 20:54:01 provisioning config files... 20:54:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config15978346010706986193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:01 ---> docker-login.sh 20:54:01 nexus3.edgexfoundry.org:10001 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 nexus3.edgexfoundry.org:10002 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 nexus3.edgexfoundry.org:10003 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 nexus3.edgexfoundry.org:10004 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 docker.io 20:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:02 Configure a credential helper to remove this warning. See 20:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:02 20:54:02 Login Succeeded 20:54:02 ---> docker-login.sh ends [Pipeline] } 20:54:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:02 ========================================================= 20:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:54:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:54:03 Sending build context to Docker daemon 1.904MB 20:54:03 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:54:03 Step 2/13 : FROM ${BASE} AS builder 20:54:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:54:03 63b65145d645: Pulling fs layer 20:54:03 a2d21d5440eb: Pulling fs layer 20:54:03 935e6c44a52c: Pulling fs layer 20:54:03 94cc34f8dd06: Pulling fs layer 20:54:03 30dea6a524f1: Pulling fs layer 20:54:03 a2aff8979fd8: Pulling fs layer 20:54:03 6808be2612f2: Pulling fs layer 20:54:03 f25807f1079a: Pulling fs layer 20:54:03 30dea6a524f1: Waiting 20:54:03 a2aff8979fd8: Waiting 20:54:03 6808be2612f2: Waiting 20:54:03 94cc34f8dd06: Waiting 20:54:03 f25807f1079a: Waiting 20:54:03 a2d21d5440eb: Verifying Checksum 20:54:03 a2d21d5440eb: Download complete 20:54:03 94cc34f8dd06: Download complete 20:54:03 30dea6a524f1: Verifying Checksum 20:54:03 30dea6a524f1: Download complete 20:54:03 63b65145d645: Verifying Checksum 20:54:03 63b65145d645: Download complete 20:54:03 a2aff8979fd8: Verifying Checksum 20:54:03 a2aff8979fd8: Download complete 20:54:03 63b65145d645: Pull complete 20:54:03 a2d21d5440eb: Pull complete 20:54:03 f25807f1079a: Verifying Checksum 20:54:03 f25807f1079a: Download complete 20:54:04 935e6c44a52c: Verifying Checksum 20:54:04 935e6c44a52c: Download complete 20:54:04 6808be2612f2: Verifying Checksum 20:54:04 6808be2612f2: Download complete 20:54:08 935e6c44a52c: Pull complete 20:54:08 94cc34f8dd06: Pull complete 20:54:08 30dea6a524f1: Pull complete 20:54:08 a2aff8979fd8: Pull complete 20:54:10 6808be2612f2: Pull complete 20:54:11 f25807f1079a: Pull complete 20:54:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:54:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:54:11 ---> 3b553350e43f 20:54:11 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:54:12 ---> Running in 5f410909413d 20:54:12 Removing intermediate container 5f410909413d 20:54:12 ---> 52bf41e7df62 20:54:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:12 ---> Running in c980a47453af 20:54:12 Removing intermediate container c980a47453af 20:54:12 ---> a4bd74c08ad6 20:54:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:54:12 ---> Running in 275208d2df8a 20:54:12 Removing intermediate container 275208d2df8a 20:54:12 ---> 8175e69ca5fe 20:54:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:54:12 ---> Running in b5cafb0d74fd 20:54:12 Removing intermediate container b5cafb0d74fd 20:54:12 ---> 75a3fad7578d 20:54:12 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:12 ---> Running in 11e42d799f01 20:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:54:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:54:13 (1/14) Installing libintl (0.21.1-r1) 20:54:13 (2/14) Installing eudev-libs (3.2.11-r4) 20:54:13 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:54:13 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:54:13 (5/14) Installing v4l-utils (1.22.1-r2) 20:54:13 (6/14) Installing udev-init-scripts (35-r1) 20:54:13 (7/14) Installing libblkid (2.38.1-r1) 20:54:13 (8/14) Installing xz-libs (5.2.9-r0) 20:54:13 (9/14) Installing zstd-libs (1.5.5-r0) 20:54:13 (10/14) Installing kmod-libs (30-r1) 20:54:13 (11/14) Installing eudev (3.2.11-r4) 20:54:13 (12/14) Installing eudev-dev (3.2.11-r4) 20:54:13 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:54:13 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:54:13 Executing busybox-1.35.0-r29.trigger 20:54:13 Executing eudev-3.2.11-r4.trigger 20:54:13 OK: 272 MiB in 67 packages 20:54:14 Removing intermediate container 11e42d799f01 20:54:14 ---> 4d4bdf02de7e 20:54:14 Step 8/13 : WORKDIR /device-usb-camera 20:54:14 ---> Running in 92600c031e61 20:54:14 Removing intermediate container 92600c031e61 20:54:14 ---> bc3bd9da339a 20:54:14 Step 9/13 : COPY go.mod vendor* ./ 20:54:14 ---> b740951580b9 20:54:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:14 ---> Running in 72bdea7ce38d 20:54:16 Still waiting to schedule task 20:54:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:54:36 Removing intermediate container 72bdea7ce38d 20:54:36 ---> c905c81a72bc 20:54:36 Step 11/13 : COPY . . 20:54:36 ---> 2af1c584e333 20:54:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:54:36 ---> Running in 5e8f7d7450ce 20:54:36  % Total % Received % Xferd Average Speed Time Time Time Current 20:54:36 Dload Upload Total Spent Left Speed 20:54:36 0 0 0  0 0 0   0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7053 0 --:--:-- --:--:-- --:--:--  7080 20:54:36 Removing intermediate container 5e8f7d7450ce 20:54:36 ---> 9dc441f5897d 20:54:36 Step 13/13 : RUN ${MAKE} 20:54:36 ---> Running in 1ee8cd2c2037 20:54:36 noop 20:54:36 Removing intermediate container 1ee8cd2c2037 20:54:36 ---> 42efb97bf2c6 20:54:36 Successfully built 42efb97bf2c6 20:54:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:36 + docker inspect -f . ci-base-image-x86_64 20:54:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:36 prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container 20:54:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:37 $ docker top c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:37 + go version 20:54:37 go version go1.20.2 linux/amd64 [Pipeline] } 20:54:37 $ docker stop --time=1 c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 20:54:38 $ docker rm -f --volumes c81565c415ba607240a05d9c728b60b8dba6a58726bd83a95a598327f43a9a21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:39 + docker inspect -f . ci-base-image-x86_64 20:54:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:39 prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container 20:54:39 $ 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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:54:40 $ docker top f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:40 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-217 [Pipeline] fileExists [Pipeline] sh 20:54:40 + make test 20:54:40 go test ./... -coverprofile=coverage.out ./... 20:54:45 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:54:57 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:54:57 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 2.0% of statements 20:55:02 go vet ./... 20:55:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:05 ./bin/test-attribution-txt.sh 20:55:05 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 20:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:55:05 $ docker stop --time=1 f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 20:55:07 $ docker rm -f --volumes f2b730a05321899aca1d8b9facfee30ad09f9b29b6150154bb3ad59bad8bcd62 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:09 + ls -al . 20:55:09 total 188 20:55:09 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:54 . 20:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 .. 20:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:53 .git 20:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 .github 20:55:09 -rw-rw-r-- 1 jenkins jenkins 414 Apr 17 20:53 .gitignore 20:55:09 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 20:53 .golangci.yml 20:55:09 -rw-rw-r-- 1 jenkins jenkins 77 Apr 17 20:53 .hadolint.yml 20:55:09 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:53 .semver 20:55:09 -rw-rw-r-- 1 jenkins jenkins 9535 Apr 17 20:53 Attribution.txt 20:55:09 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 17 20:53 CHANGELOG.md 20:55:09 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 17 20:53 Dockerfile 20:55:09 -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 20:53 GOVERNANCE.md 20:55:09 -rw-rw-r-- 1 jenkins jenkins 659 Apr 17 20:53 Jenkinsfile 20:55:09 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 20:53 LICENSE 20:55:09 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 17 20:53 Makefile 20:55:09 -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:53 OWNERS.md 20:55:09 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 17 20:53 README.md 20:55:09 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 20:54 VERSION 20:55:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:53 bin 20:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 cmd 20:55:09 -rw-r--r-- 1 jenkins jenkins 28352 Apr 17 20:54 coverage.out 20:55:09 -rwxrwxr-x 1 jenkins jenkins 140 Apr 17 20:53 docker-entrypoint.sh 20:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 docs 20:55:09 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 17 20:53 go.mod 20:55:09 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 17 20:53 go.sum 20:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:53 internal 20:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:53 snap 20:55:09 -rw-rw-r-- 1 jenkins jenkins 231 Apr 17 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:09 + 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=76e3f54acd07913db0165e42833f4c31f467d1ac --label arch=amd64 --label version=0.0.0 . 20:55:09 Sending build context to Docker daemon 1.933MB 20:55:09 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 20:55:09 Step 2/35 : FROM ${BASE} AS builder 20:55:09 ---> 42efb97bf2c6 20:55:09 Step 3/35 : ARG ADD_BUILD_TAGS="" 20:55:09 ---> Running in c34462b8a3f0 20:55:09 Removing intermediate container c34462b8a3f0 20:55:09 ---> 768d30c4dba1 20:55:09 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:09 ---> Running in 9fade1c066db 20:55:09 Removing intermediate container 9fade1c066db 20:55:09 ---> 0f78eb28c148 20:55:09 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:55:09 ---> Running in fa3fa8378ef3 20:55:09 Removing intermediate container fa3fa8378ef3 20:55:09 ---> d32c2cd2dd1a 20:55:09 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:55:09 ---> Running in 91b30f9ce198 20:55:09 Removing intermediate container 91b30f9ce198 20:55:09 ---> 9320d72c81d5 20:55:09 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:10 ---> Running in a8b7f400f679 20:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:55:10 OK: 272 MiB in 67 packages 20:55:10 Removing intermediate container a8b7f400f679 20:55:10 ---> bdebf74b1416 20:55:10 Step 8/35 : WORKDIR /device-usb-camera 20:55:10 ---> Running in 351bfbfc693a 20:55:10 Removing intermediate container 351bfbfc693a 20:55:10 ---> 7f6ce61da614 20:55:10 Step 9/35 : COPY go.mod vendor* ./ 20:55:11 ---> ec5bcdb56c7f 20:55:11 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:11 ---> Running in 06b85f6a6ca8 20:55:12 Removing intermediate container 06b85f6a6ca8 20:55:12 ---> 908db9c7892e 20:55:12 Step 11/35 : COPY . . 20:55:12 ---> 787a3da53bbf 20:55:12 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:55:12 ---> Running in 62c664324fb6 20:55:12  % Total % Received % Xferd Average Speed Time Time Time Current 20:55:12 Dload Upload Total Spent Left Speed 20:55:12 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 19839 0 --:--:-- --:--:-- --:--:-- 20037 20:55:12 Removing intermediate container 62c664324fb6 20:55:12 ---> da0b5dc1f135 20:55:12 Step 13/35 : RUN ${MAKE} 20:55:12 ---> Running in 88cda8cdd5fb 20:55:13 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 20:55:35 Removing intermediate container 88cda8cdd5fb 20:55:35 ---> 4f9ffc4089eb 20:55:35 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 20:55:35 v0.21.6: Pulling from aler9/rtsp-simple-server 20:55:35 4acc49c71d14: Pulling fs layer 20:55:35 4acc49c71d14: Verifying Checksum 20:55:35 4acc49c71d14: Download complete 20:55:35 4acc49c71d14: Pull complete 20:55:35 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 20:55:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 20:55:35 ---> 01a2bd3e5fff 20:55:35 Step 15/35 : FROM alpine:3.17 20:55:35 3.17: Pulling from library/alpine 20:55:35 f56be85fc22e: Pulling fs layer 20:55:35 f56be85fc22e: Download complete 20:55:35 f56be85fc22e: Pull complete 20:55:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:55:35 Status: Downloaded newer image for alpine:3.17 20:55:35 ---> 9ed4aefc74f6 20:55:35 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:55:35 ---> Running in e4164ed0e931 20:55:35 Removing intermediate container e4164ed0e931 20:55:35 ---> 648567893f72 20:55:35 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 20:55:35 ---> Running in 5ffd6022dadb 20:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:55:35 (1/86) Installing dumb-init (1.2.5-r2) 20:55:35 (2/86) Installing sdl2 (2.26.5-r0) 20:55:35 (3/86) Installing svt-av1-libs (1.3.0-r0) 20:55:35 (4/86) Installing libxau (1.0.10-r0) 20:55:35 (5/86) Installing libmd (1.0.4-r0) 20:55:35 (6/86) Installing libbsd (0.11.7-r0) 20:55:35 (7/86) Installing libxdmcp (1.1.4-r0) 20:55:35 (8/86) Installing libxcb (1.15-r0) 20:55:35 (9/86) Installing libx11 (1.8.4-r0) 20:55:35 (10/86) Installing aom-libs (3.5.0-r0) 20:55:35 (11/86) Installing alsa-lib (1.2.8-r0) 20:55:35 (12/86) Installing libexpat (2.5.0-r0) 20:55:35 (13/86) Installing brotli-libs (1.0.9-r9) 20:55:35 (14/86) Installing libbz2 (1.0.8-r4) 20:55:35 (15/86) Installing libpng (1.6.38-r0) 20:55:35 (16/86) Installing freetype (2.12.1-r0) 20:55:35 (17/86) Installing fontconfig (2.14.1-r0) 20:55:35 (18/86) Installing fribidi (1.0.12-r0) 20:55:35 (19/86) Installing libffi (3.4.4-r0) 20:55:35 (20/86) Installing libintl (0.21.1-r1) 20:55:35 (21/86) Installing libblkid (2.38.1-r1) 20:55:35 (22/86) Installing libmount (2.38.1-r1) 20:55:35 (23/86) Installing pcre2 (10.42-r0) 20:55:35 (24/86) Installing glib (2.74.6-r0) 20:55:35 (25/86) Installing graphite2 (1.3.14-r2) 20:55:35 (26/86) Installing harfbuzz (5.3.1-r1) 20:55:35 (27/86) Installing libass (0.16.0-r1) 20:55:35 (28/86) Installing libdav1d (1.0.0-r2) 20:55:35 (29/86) Installing hwdata-pci (0.364-r0) 20:55:35 (30/86) Installing libpciaccess (0.17-r0) 20:55:35 (31/86) Installing libdrm (2.4.114-r0) 20:55:35 (32/86) Installing gmp (6.2.1-r2) 20:55:35 (33/86) Installing nettle (3.8.1-r0) 20:55:35 (34/86) Installing p11-kit (0.24.1-r1) 20:55:35 (35/86) Installing libtasn1 (4.19.0-r0) 20:55:35 (36/86) Installing libunistring (1.1-r0) 20:55:35 (37/86) Installing gnutls (3.7.8-r3) 20:55:35 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 20:55:35 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 20:55:35 (40/86) Installing lame (3.100-r2) 20:55:35 (41/86) Installing opus (1.3.1-r1) 20:55:35 (42/86) Installing libasyncns (0.8-r1) 20:55:35 (43/86) Installing dbus-libs (1.14.4-r0) 20:55:35 (44/86) Installing libltdl (2.4.7-r1) 20:55:35 (45/86) Installing orc (0.4.33-r0) 20:55:35 (46/86) Installing libgcc (12.2.1_git20220924-r4) 20:55:35 (47/86) Installing libogg (1.3.5-r2) 20:55:35 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 20:55:35 (49/86) Installing flac-libs (1.4.2-r0) 20:55:35 (50/86) Installing libvorbis (1.3.7-r0) 20:55:35 (51/86) Installing libsndfile (1.1.0-r2) 20:55:35 (52/86) Installing libgomp (12.2.1_git20220924-r4) 20:55:35 (53/86) Installing soxr (0.1.3-r3) 20:55:35 (54/86) Installing speexdsp (1.2.1-r0) 20:55:35 (55/86) Installing tdb-libs (1.4.6-r0) 20:55:35 (56/86) Installing libpulse (16.1-r6) 20:55:35 (57/86) Installing cjson (1.7.15-r3) 20:55:35 (58/86) Installing mbedtls (2.28.3-r0) 20:55:35 (59/86) Installing librist (0.2.7-r0) 20:55:35 (60/86) Installing libsrt (1.5.1-r0) 20:55:35 (61/86) Installing libssh (0.10.4-r0) 20:55:35 (62/86) Installing libtheora (1.1.1-r16) 20:55:35 (63/86) Installing libjpeg-turbo (2.1.4-r0) 20:55:35 (64/86) Installing v4l-utils-libs (1.22.1-r2) 20:55:35 (65/86) Installing libxext (1.3.5-r0) 20:55:35 (66/86) Installing libxfixes (6.0.0-r0) 20:55:35 (67/86) Installing wayland-libs-client (1.21.0-r1) 20:55:35 (68/86) Installing libva (2.16.0-r0) 20:55:35 (69/86) Installing libvdpau (1.5-r0) 20:55:35 (70/86) Installing vidstab (1.1.0-r2) 20:55:35 (71/86) Installing libvpx (1.12.0-r1) 20:55:35 (72/86) Installing libwebp (1.2.4-r1) 20:55:35 (73/86) Installing x264-libs (0.164_git20220602-r0) 20:55:35 (74/86) Installing numactl (2.0.16-r1) 20:55:35 (75/86) Installing x265-libs (3.5-r3) 20:55:35 (76/86) Installing xvidcore (1.3.7-r1) 20:55:35 (77/86) Installing libsodium (1.0.18-r2) 20:55:35 (78/86) Installing libzmq (4.3.4-r1) 20:55:35 (79/86) Installing ffmpeg-libs (5.1.3-r0) 20:55:35 (80/86) Installing ffmpeg (5.1.3-r0) 20:55:35 (81/86) Installing udev-init-scripts (35-r1) 20:55:35 (82/86) Installing eudev-libs (3.2.11-r4) 20:55:35 (83/86) Installing xz-libs (5.2.9-r0) 20:55:35 (84/86) Installing zstd-libs (1.5.5-r0) 20:55:35 (85/86) Installing kmod-libs (30-r1) 20:55:35 (86/86) Installing eudev (3.2.11-r4) 20:55:35 Executing busybox-1.35.0-r29.trigger 20:55:35 Executing eudev-3.2.11-r4.trigger 20:55:35 OK: 112 MiB in 101 packages 20:55:36 Removing intermediate container 5ffd6022dadb 20:55:36 ---> c81dbe2eba4a 20:55:36 Step 18/35 : WORKDIR / 20:55:36 ---> Running in d6b267a61703 20:55:37 Removing intermediate container d6b267a61703 20:55:37 ---> 908ddcd446dd 20:55:37 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 20:55:37 ---> 4f7256aaddcf 20:55:37 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 20:55:37 ---> efdbfda96a36 20:55:37 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:55:37 ---> 073ae51616b4 20:55:37 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:55:38 ---> e8ee622caae5 20:55:38 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:55:38 ---> 167ee379360d 20:55:38 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 20:55:38 ---> 4bfd8d4fe8b9 20:55:38 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 20:55:38 ---> d1f6cc650fde 20:55:38 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:55:38 ---> Running in ef1926c18b3d 20:55:39 Removing intermediate container ef1926c18b3d 20:55:39 ---> 0b4cbab98419 20:55:39 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:55:39 ---> Running in abece872c7fd 20:55:39 Removing intermediate container abece872c7fd 20:55:39 ---> 0508cc32c515 20:55:39 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:55:39 ---> Running in 25f76096bc5c 20:55:40 Removing intermediate container 25f76096bc5c 20:55:40 ---> 2fb0a482e210 20:55:40 Step 29/35 : EXPOSE 59983 20:55:40 ---> Running in 57d27b7ebacf 20:55:40 Removing intermediate container 57d27b7ebacf 20:55:40 ---> 7e2fcdd58896 20:55:40 Step 30/35 : EXPOSE 8554 20:55:40 ---> Running in a5f2775032e9 20:55:40 Removing intermediate container a5f2775032e9 20:55:40 ---> 18570dc34da7 20:55:40 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:55:40 ---> Running in 28593f9b9f4b 20:55:40 Removing intermediate container 28593f9b9f4b 20:55:40 ---> 6ba0ba844d63 20:55:40 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 20:55:40 ---> Running in 493385c498d8 20:55:40 Removing intermediate container 493385c498d8 20:55:40 ---> 780b47bd7c5a 20:55:40 Step 33/35 : LABEL arch=amd64 20:55:40 ---> Running in daefb4078c0d 20:55:40 Removing intermediate container daefb4078c0d 20:55:40 ---> b482cfe7d1a4 20:55:40 Step 34/35 : LABEL git_sha=76e3f54acd07913db0165e42833f4c31f467d1ac 20:55:40 ---> Running in beaa19d3bb0c 20:55:41 Removing intermediate container beaa19d3bb0c 20:55:41 ---> 2f2529326adf 20:55:41 Step 35/35 : LABEL version=0.0.0 20:55:41 ---> Running in 59a5d06753dc 20:55:41 Removing intermediate container 59a5d06753dc 20:55:41 ---> 1d343cae76a1 20:55:41 [Warning] One or more build-args [ARCH] were not consumed 20:55:41 Successfully built 1d343cae76a1 20:55:41 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 20:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:41 20:55:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:42 latest: Pulling from edgex-lftools-log-publisher 20:55:42 5eb5b503b376: Pulling fs layer 20:55:42 5c69ac0246d0: Pulling fs layer 20:55:42 ec43610c2a17: Pulling fs layer 20:55:42 3a2ae6a8a46f: Pulling fs layer 20:55:42 33b1e0a273af: Pulling fs layer 20:55:42 5d3b04190fa2: Pulling fs layer 20:55:42 2f39f015ded8: Pulling fs layer 20:55:42 3a2ae6a8a46f: Waiting 20:55:42 5d3b04190fa2: Waiting 20:55:42 2f39f015ded8: Waiting 20:55:42 33b1e0a273af: Waiting 20:55:42 5c69ac0246d0: Download complete 20:55:42 3a2ae6a8a46f: Verifying Checksum 20:55:42 3a2ae6a8a46f: Download complete 20:55:42 33b1e0a273af: Verifying Checksum 20:55:42 33b1e0a273af: Download complete 20:55:42 5d3b04190fa2: Verifying Checksum 20:55:42 ec43610c2a17: Download complete 20:55:42 5eb5b503b376: Verifying Checksum 20:55:42 5eb5b503b376: Download complete 20:55:43 2f39f015ded8: Download complete 20:55:43 5eb5b503b376: Pull complete 20:55:43 5c69ac0246d0: Pull complete 20:55:44 ec43610c2a17: Pull complete 20:55:44 3a2ae6a8a46f: Pull complete 20:55:44 33b1e0a273af: Pull complete 20:55:44 5d3b04190fa2: Pull complete 20:55:48 2f39f015ded8: Pull complete 20:55:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:48 prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container 20:55:48 $ 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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:55:49 $ docker top e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:50 ---> job-cost.sh 20:55:50 lf-activate-venv: SKIPPING 20:55:50 INFO: No Stack... 20:55:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:51 INFO: Archiving Costs [Pipeline] sh 20:55:51 + + cat /w/workspace/foundry_device-usb-camera_PR-217/archives/cost.csv 20:55:51 cut -d, -f6 [Pipeline] lock 20:55:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] 20:55:51 Resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] did not exist. Created. 20:55:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:51 + echo total: 0.2199999988079071 [Pipeline] stash 20:55:52 Stashed 1 file(s) [Pipeline] } 20:55:52 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:55:52 $ docker stop --time=1 e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 20:55:53 $ docker rm -f --volumes e1014e1e375a1237f26a891b634ab86915a48c7e9fe5d6accde70cac79e90d38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8792 in /w/workspace/foundry_device-usb-camera_PR-217 [Pipeline] { [Pipeline] ws 20:58:35 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 20:58:35 Selected Git installation does not exist. Using Default 20:58:35 The recommended git tool is: NONE 20:58:45 using credential edgex-jenkins-ssh 20:58:45 Cloning the remote Git repository 20:58:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:58:45 > git init /w/workspace/device-usb-camera/1 # timeout=10 20:58:48 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:58:48 > git --version # timeout=10 20:58:48 > git --version # 'git version 2.25.1' 20:58:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:58:50 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:58:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:58:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:58:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:58:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:58:52 Merging remotes/origin/main commit 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c into PR head commit 76e3f54acd07913db0165e42833f4c31f467d1ac 20:58:53 Merge succeeded, producing 76e3f54acd07913db0165e42833f4c31f467d1ac 20:58:53 Checking out Revision 76e3f54acd07913db0165e42833f4c31f467d1ac (PR-217) 20:58:52 > git config core.sparsecheckout # timeout=10 20:58:53 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 20:58:53 > git remote # timeout=10 20:58:53 > git config --get remote.origin.url # timeout=10 20:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:53 > git merge 1f17400c5cc4baed943c7e7ed2484b3b5921cf6c # timeout=10 20:58:53 > git rev-parse HEAD^{commit} # timeout=10 20:58:53 > git config core.sparsecheckout # timeout=10 20:58:53 > git checkout -f 76e3f54acd07913db0165e42833f4c31f467d1ac # timeout=10 20:58:57 Commit message: "fix: Add ProfilesDir & DevicesDir to local config This is so that the values can be overriden with Envs" 20:58:57 > git --version # timeout=10 20:58:57 > git --version # 'git version 2.25.1' 20:58:57 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:58:58 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:58 Dload Upload Total Spent Left Speed 20:58:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66067 0 --:--:-- --:--:-- --:--:-- 65726 [Pipeline] sh 20:58:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:59:00 + sudo tee /etc/docker/daemon.new 20:59:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:59:02 { 20:59:02 "registry-mirrors": [ 20:59:02 "https://nexus3.edgexfoundry.org:10001" 20:59:02 ], 20:59:02 "bip": "10.250.0.254/24", 20:59:02 "hosts": [ 20:59:02 "tcp://0.0.0.0:5555", 20:59:02 "unix:///var/run/docker.sock" 20:59:02 ], 20:59:02 "mtu": 1458, 20:59:02 "selinux-enabled": true, 20:59:02 "seccomp-profile": "/etc/docker/seccomp.json" 20:59:02 } [Pipeline] sh 20:59:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:59:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:21 provisioning config files... 20:59:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config14738256974284567878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:21 ---> docker-login.sh 20:59:21 nexus3.edgexfoundry.org:10001 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 nexus3.edgexfoundry.org:10002 20:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:22 Configure a credential helper to remove this warning. See 20:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:22 20:59:22 Login Succeeded 20:59:22 nexus3.edgexfoundry.org:10003 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 nexus3.edgexfoundry.org:10004 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:23 Configure a credential helper to remove this warning. See 20:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:23 20:59:23 Login Succeeded 20:59:23 docker.io 20:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:24 Configure a credential helper to remove this warning. See 20:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:24 20:59:24 Login Succeeded 20:59:24 ---> docker-login.sh ends [Pipeline] } 20:59:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:24 ========================================================= 20:59:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:59:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:25 + 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 . 20:59:25 Sending build context to Docker daemon 1.218MB 20:59:25 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 20:59:25 Step 2/13 : FROM ${BASE} AS builder 20:59:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:28 af6eaf76a39c: Pulling fs layer 20:59:28 55522c791124: Pulling fs layer 20:59:28 ce5c4a1c91eb: Pulling fs layer 20:59:28 169dfbe0d373: Pulling fs layer 20:59:28 e1ff8fa3b103: Pulling fs layer 20:59:28 52ebb69f0ebf: Pulling fs layer 20:59:28 5abe8eddf0d5: Pulling fs layer 20:59:28 e1ff8fa3b103: Waiting 20:59:28 52ebb69f0ebf: Waiting 20:59:28 5abe8eddf0d5: Waiting 20:59:28 169dfbe0d373: Waiting 20:59:28 55522c791124: Verifying Checksum 20:59:28 55522c791124: Download complete 20:59:28 169dfbe0d373: Verifying Checksum 20:59:28 169dfbe0d373: Download complete 20:59:28 e1ff8fa3b103: Verifying Checksum 20:59:28 e1ff8fa3b103: Download complete 20:59:28 af6eaf76a39c: Verifying Checksum 20:59:28 af6eaf76a39c: Download complete 20:59:29 af6eaf76a39c: Pull complete 20:59:29 5abe8eddf0d5: Verifying Checksum 20:59:29 5abe8eddf0d5: Download complete 20:59:29 55522c791124: Pull complete 20:59:30 ce5c4a1c91eb: Verifying Checksum 20:59:30 ce5c4a1c91eb: Download complete 20:59:30 52ebb69f0ebf: Verifying Checksum 20:59:30 52ebb69f0ebf: Download complete 20:59:42 ce5c4a1c91eb: Pull complete 20:59:42 169dfbe0d373: Pull complete 20:59:42 e1ff8fa3b103: Pull complete 20:59:48 52ebb69f0ebf: Pull complete 20:59:50 5abe8eddf0d5: Pull complete 20:59:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:59:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:59:50 ---> 6cb57ee374ae 20:59:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:59:52 ---> Running in 4b59406579c2 20:59:52 Removing intermediate container 4b59406579c2 20:59:52 ---> b391873270ec 20:59:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:52 ---> Running in 5727cf070da5 20:59:53 Removing intermediate container 5727cf070da5 20:59:53 ---> 0a19f1ab7e0f 20:59:53 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 20:59:53 ---> Running in c22263364a0c 20:59:53 Removing intermediate container c22263364a0c 20:59:53 ---> 397b57fb3bb1 20:59:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:59:53 ---> Running in ab0abc13f1af 20:59:54 Removing intermediate container ab0abc13f1af 20:59:54 ---> 431a31be1dc6 20:59:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:54 ---> Running in 504ad3be0bd8 20:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:59:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:59:57 (1/14) Installing libintl (0.21.1-r1) 20:59:57 (2/14) Installing eudev-libs (3.2.11-r4) 20:59:57 (3/14) Installing libjpeg-turbo (2.1.4-r0) 20:59:57 (4/14) Installing v4l-utils-libs (1.22.1-r2) 20:59:57 (5/14) Installing v4l-utils (1.22.1-r2) 20:59:57 (6/14) Installing udev-init-scripts (35-r1) 20:59:57 (7/14) Installing libblkid (2.38.1-r1) 20:59:57 (8/14) Installing xz-libs (5.2.9-r0) 20:59:57 (9/14) Installing zstd-libs (1.5.5-r0) 20:59:57 (10/14) Installing kmod-libs (30-r1) 20:59:57 (11/14) Installing eudev (3.2.11-r4) 20:59:57 (12/14) Installing eudev-dev (3.2.11-r4) 20:59:57 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 20:59:57 (14/14) Installing v4l-utils-dev (1.22.1-r2) 20:59:57 Executing busybox-1.35.0-r29.trigger 20:59:57 Executing eudev-3.2.11-r4.trigger 20:59:57 OK: 271 MiB in 67 packages 20:59:59 Removing intermediate container 504ad3be0bd8 20:59:59 ---> a83f0c758edb 20:59:59 Step 8/13 : WORKDIR /device-usb-camera 20:59:59 ---> Running in eb3d41b4d027 20:59:59 Removing intermediate container eb3d41b4d027 20:59:59 ---> bdd245d19b30 20:59:59 Step 9/13 : COPY go.mod vendor* ./ 21:00:00 ---> 08689180e432 21:00:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:00 ---> Running in be6e10ee90e9 21:01:21 Removing intermediate container be6e10ee90e9 21:01:21 ---> 9bc01b07db58 21:01:21 Step 11/13 : COPY . . 21:01:21 ---> 230904f94bc5 21:01:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:01:21 ---> Running in fda5842a39b7 21:01:21  % Total % Received % Xferd  Average Speed Time Time Time Current 21:01:21  Dload Upload Total Spent Left Speed 21:01:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 2348 0 --:--:-- --:--:-- --:--:-- 2354 21:01:21 Removing intermediate container fda5842a39b7 21:01:21 ---> 80083f222fe4 21:01:21 Step 13/13 : RUN ${MAKE} 21:01:21 ---> Running in 2f517f5beef1 21:01:21 noop 21:01:21 Removing intermediate container 2f517f5beef1 21:01:21 ---> aeabedda5f23 21:01:21 Successfully built aeabedda5f23 21:01:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:22 + docker inspect -f . ci-base-image-arm64 21:01:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:22 prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container 21:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:01:23 $ docker top f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:24 + go version 21:01:24 go version go1.20.2 linux/arm64 [Pipeline] } 21:01:24 $ docker stop --time=1 f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 21:01:26 $ docker rm -f --volumes f59624c7267fc6074a96e26ceb8ce4bc11bc66c18653da588aa016e407c02505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:27 + docker inspect -f . ci-base-image-arm64 21:01:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:27 prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container 21:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:01:29 $ docker top f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:30 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 21:01:30 + make test 21:01:30 go test ./... -coverprofile=coverage.out ./... 21:02:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:04:31 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:04:31 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 2.0% of statements 21:04:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:04:31 go vet ./... 21:04:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:58 ./bin/test-attribution-txt.sh 21:04:58 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 21:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:58 $ docker stop --time=1 f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 21:05:00 $ docker rm -f --volumes f016e191d5fa5ab51091d29bc4276285189178f931d5bef9f6a825545fed8fd5 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:01 Warning: overwriting stash ‘coverage-report’ 21:05:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:06 + ls -al . 21:05:06 total 184 21:05:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 21:01 . 21:05:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 .. 21:05:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:58 .git 21:05:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 .github 21:05:06 -rw-rw-r-- 1 jenkins jenkins 414 Apr 17 20:58 .gitignore 21:05:06 -rw-rw-r-- 1 jenkins jenkins 42 Apr 17 20:58 .golangci.yml 21:05:06 -rw-rw-r-- 1 jenkins jenkins 77 Apr 17 20:58 .hadolint.yml 21:05:06 -rw-rw-r-- 1 jenkins jenkins 9535 Apr 17 20:58 Attribution.txt 21:05:06 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 17 20:58 CHANGELOG.md 21:05:06 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 17 20:58 Dockerfile 21:05:06 -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 20:58 GOVERNANCE.md 21:05:06 -rw-rw-r-- 1 jenkins jenkins 659 Apr 17 20:58 Jenkinsfile 21:05:06 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 17 20:58 LICENSE 21:05:06 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 17 20:58 Makefile 21:05:06 -rw-rw-r-- 1 jenkins jenkins 622 Apr 17 20:58 OWNERS.md 21:05:06 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 17 20:58 README.md 21:05:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 20:54 VERSION 21:05:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:58 bin 21:05:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 cmd 21:05:06 -rw-r--r-- 1 jenkins jenkins 28352 Apr 17 21:04 coverage.out 21:05:06 -rwxrwxr-x 1 jenkins jenkins 140 Apr 17 20:58 docker-entrypoint.sh 21:05:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 docs 21:05:06 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 17 20:58 go.mod 21:05:06 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 17 20:58 go.sum 21:05:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:58 internal 21:05:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:58 snap 21:05:06 -rw-rw-r-- 1 jenkins jenkins 231 Apr 17 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:06 + 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=76e3f54acd07913db0165e42833f4c31f467d1ac --label arch=arm64 --label version=0.0.0 . 21:05:06 Sending build context to Docker daemon 1.247MB 21:05:06 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 21:05:06 Step 2/35 : FROM ${BASE} AS builder 21:05:06 ---> aeabedda5f23 21:05:06 Step 3/35 : ARG ADD_BUILD_TAGS="" 21:05:07 ---> Running in 27753a45aee1 21:05:07 Removing intermediate container 27753a45aee1 21:05:07 ---> bde261224248 21:05:07 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:07 ---> Running in 13d947c3b128 21:05:07 Removing intermediate container 13d947c3b128 21:05:07 ---> fc13e5eca077 21:05:07 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:05:07 ---> Running in 15bf6778773b 21:05:08 Removing intermediate container 15bf6778773b 21:05:08 ---> bb08817b0d7f 21:05:08 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:05:08 ---> Running in b26676477e90 21:05:08 Removing intermediate container b26676477e90 21:05:08 ---> ef98ca626936 21:05:08 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:08 ---> Running in 54f4b277a46e 21:05:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:05:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:05:11 OK: 271 MiB in 67 packages 21:05:12 Removing intermediate container 54f4b277a46e 21:05:12 ---> 13a170ec45e9 21:05:12 Step 8/35 : WORKDIR /device-usb-camera 21:05:12 ---> Running in 8f487c679d0a 21:05:13 Removing intermediate container 8f487c679d0a 21:05:13 ---> a49e957aaa05 21:05:13 Step 9/35 : COPY go.mod vendor* ./ 21:05:13 ---> 6c799714394f 21:05:13 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:13 ---> Running in 1dafe488e762 21:05:17 Removing intermediate container 1dafe488e762 21:05:17 ---> 8767e82722bf 21:05:17 Step 11/35 : COPY . . 21:05:17 ---> fa5c55f1419b 21:05:17 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:05:17 ---> Running in 539148974f70 21:05:18  % Total % Received % Xferd Average Speed Time Time Time Current 21:05:18 Dload Upload Total Spent Left Speed 21:05:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 1062 100 1062 0 0 861 0 0:00:01 0:00:01 --:--:-- 861 21:05:20 Removing intermediate container 539148974f70 21:05:20 ---> c4bd39d3849f 21:05:20 Step 13/35 : RUN ${MAKE} 21:05:20 ---> Running in b6316c3d527f 21:05:21 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:08:28 Removing intermediate container b6316c3d527f 21:08:28 ---> d8b12610a0b9 21:08:28 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:08:28 v0.21.6: Pulling from aler9/rtsp-simple-server 21:08:28 8766b47fe142: Pulling fs layer 21:08:28 8766b47fe142: Verifying Checksum 21:08:28 8766b47fe142: Download complete 21:08:28 8766b47fe142: Pull complete 21:08:28 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:08:28 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:08:28 ---> 69d40e2cb93c 21:08:28 Step 15/35 : FROM alpine:3.17 21:08:28 3.17: Pulling from library/alpine 21:08:28 c41833b44d91: Pulling fs layer 21:08:28 c41833b44d91: Verifying Checksum 21:08:28 c41833b44d91: Download complete 21:08:28 c41833b44d91: Pull complete 21:08:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:08:28 Status: Downloaded newer image for alpine:3.17 21:08:28 ---> 51e60588ff2c 21:08:28 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:08:28 ---> Running in 6bda51dd5ceb 21:08:28 Removing intermediate container 6bda51dd5ceb 21:08:28 ---> e2dcd275b599 21:08:28 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:08:28 ---> Running in 6e29e3668c46 21:08:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:30 (1/83) Installing dumb-init (1.2.5-r2) 21:08:30 (2/83) Installing sdl2 (2.26.5-r0) 21:08:30 (3/83) Installing libxau (1.0.10-r0) 21:08:30 (4/83) Installing libmd (1.0.4-r0) 21:08:30 (5/83) Installing libbsd (0.11.7-r0) 21:08:30 (6/83) Installing libxdmcp (1.1.4-r0) 21:08:30 (7/83) Installing libxcb (1.15-r0) 21:08:30 (8/83) Installing libx11 (1.8.4-r0) 21:08:30 (9/83) Installing aom-libs (3.5.0-r0) 21:08:31 (10/83) Installing alsa-lib (1.2.8-r0) 21:08:31 (11/83) Installing libexpat (2.5.0-r0) 21:08:31 (12/83) Installing brotli-libs (1.0.9-r9) 21:08:31 (13/83) Installing libbz2 (1.0.8-r4) 21:08:31 (14/83) Installing libpng (1.6.38-r0) 21:08:31 (15/83) Installing freetype (2.12.1-r0) 21:08:31 (16/83) Installing fontconfig (2.14.1-r0) 21:08:31 (17/83) Installing fribidi (1.0.12-r0) 21:08:31 (18/83) Installing libffi (3.4.4-r0) 21:08:31 (19/83) Installing libintl (0.21.1-r1) 21:08:31 (20/83) Installing libblkid (2.38.1-r1) 21:08:31 (21/83) Installing libmount (2.38.1-r1) 21:08:31 (22/83) Installing pcre2 (10.42-r0) 21:08:31 (23/83) Installing glib (2.74.6-r0) 21:08:31 (24/83) Installing graphite2 (1.3.14-r2) 21:08:31 (25/83) Installing harfbuzz (5.3.1-r1) 21:08:31 (26/83) Installing libass (0.16.0-r1) 21:08:31 (27/83) Installing libdav1d (1.0.0-r2) 21:08:31 (28/83) Installing libdrm (2.4.114-r0) 21:08:31 (29/83) Installing gmp (6.2.1-r2) 21:08:31 (30/83) Installing nettle (3.8.1-r0) 21:08:31 (31/83) Installing p11-kit (0.24.1-r1) 21:08:31 (32/83) Installing libtasn1 (4.19.0-r0) 21:08:31 (33/83) Installing libunistring (1.1-r0) 21:08:31 (34/83) Installing gnutls (3.7.8-r3) 21:08:31 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 21:08:31 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 21:08:31 (37/83) Installing lame (3.100-r2) 21:08:31 (38/83) Installing opus (1.3.1-r1) 21:08:31 (39/83) Installing libasyncns (0.8-r1) 21:08:31 (40/83) Installing dbus-libs (1.14.4-r0) 21:08:31 (41/83) Installing libltdl (2.4.7-r1) 21:08:31 (42/83) Installing orc (0.4.33-r0) 21:08:31 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:08:31 (44/83) Installing libogg (1.3.5-r2) 21:08:31 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:08:31 (46/83) Installing flac-libs (1.4.2-r0) 21:08:31 (47/83) Installing libvorbis (1.3.7-r0) 21:08:32 (48/83) Installing libsndfile (1.1.0-r2) 21:08:32 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:08:32 (50/83) Installing soxr (0.1.3-r3) 21:08:32 (51/83) Installing speexdsp (1.2.1-r0) 21:08:32 (52/83) Installing tdb-libs (1.4.6-r0) 21:08:32 (53/83) Installing libpulse (16.1-r6) 21:08:32 (54/83) Installing cjson (1.7.15-r3) 21:08:32 (55/83) Installing mbedtls (2.28.3-r0) 21:08:32 (56/83) Installing librist (0.2.7-r0) 21:08:32 (57/83) Installing libsrt (1.5.1-r0) 21:08:32 (58/83) Installing libssh (0.10.4-r0) 21:08:32 (59/83) Installing libtheora (1.1.1-r16) 21:08:32 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:08:32 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:08:32 (62/83) Installing libxext (1.3.5-r0) 21:08:32 (63/83) Installing libxfixes (6.0.0-r0) 21:08:32 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:08:32 (65/83) Installing libva (2.16.0-r0) 21:08:32 (66/83) Installing libvdpau (1.5-r0) 21:08:32 (67/83) Installing vidstab (1.1.0-r2) 21:08:32 (68/83) Installing libvpx (1.12.0-r1) 21:08:32 (69/83) Installing libwebp (1.2.4-r1) 21:08:32 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:08:32 (71/83) Installing numactl (2.0.16-r1) 21:08:32 (72/83) Installing x265-libs (3.5-r3) 21:08:33 (73/83) Installing xvidcore (1.3.7-r1) 21:08:33 (74/83) Installing libsodium (1.0.18-r2) 21:08:33 (75/83) Installing libzmq (4.3.4-r1) 21:08:33 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:08:33 (77/83) Installing ffmpeg (5.1.3-r0) 21:08:33 (78/83) Installing udev-init-scripts (35-r1) 21:08:33 (79/83) Installing eudev-libs (3.2.11-r4) 21:08:33 (80/83) Installing xz-libs (5.2.9-r0) 21:08:33 (81/83) Installing zstd-libs (1.5.5-r0) 21:08:33 (82/83) Installing kmod-libs (30-r1) 21:08:33 (83/83) Installing eudev (3.2.11-r4) 21:08:33 Executing busybox-1.35.0-r29.trigger 21:08:33 Executing eudev-3.2.11-r4.trigger 21:08:33 OK: 86 MiB in 98 packages 21:08:37 Removing intermediate container 6e29e3668c46 21:08:37 ---> a3670205712a 21:08:37 Step 18/35 : WORKDIR / 21:08:37 ---> Running in 2695a8e0de78 21:08:37 Removing intermediate container 2695a8e0de78 21:08:37 ---> f65eb64e52cb 21:08:37 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 21:08:40 ---> ccacfb7d9917 21:08:40 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 21:08:40 ---> c9c9aaa6558c 21:08:40 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:08:41 ---> 64f30b7b5fec 21:08:41 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:08:41 ---> 6455384c5b2c 21:08:41 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:08:42 ---> 3f0d66be4092 21:08:42 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 21:08:42 ---> ae795c4e8bc6 21:08:42 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 21:08:44 ---> 95e7a04c3b09 21:08:44 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:08:44 ---> Running in bd3c1528fcda 21:08:46 Removing intermediate container bd3c1528fcda 21:08:46 ---> 2337093eed41 21:08:46 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:08:46 ---> Running in 4d99c6e08c6c 21:08:47 Removing intermediate container 4d99c6e08c6c 21:08:47 ---> 5f316fb6b452 21:08:47 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:08:47 ---> Running in 0230ac9f72c3 21:08:49 Removing intermediate container 0230ac9f72c3 21:08:49 ---> 5662db635ce1 21:08:49 Step 29/35 : EXPOSE 59983 21:08:49 ---> Running in da180bce521f 21:08:50 Removing intermediate container da180bce521f 21:08:50 ---> 7f2202a75fdf 21:08:50 Step 30/35 : EXPOSE 8554 21:08:50 ---> Running in c128235e1c75 21:08:50 Removing intermediate container c128235e1c75 21:08:50 ---> 06ccc8f77450 21:08:50 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:08:50 ---> Running in 2a8f9f978265 21:08:50 Removing intermediate container 2a8f9f978265 21:08:50 ---> 49dfed842931 21:08:50 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:08:50 ---> Running in 640fe05045dd 21:08:51 Removing intermediate container 640fe05045dd 21:08:51 ---> be304f371596 21:08:51 Step 33/35 : LABEL arch=arm64 21:08:51 ---> Running in 630a419b605e 21:08:51 Removing intermediate container 630a419b605e 21:08:51 ---> 6eaa90c5e665 21:08:51 Step 34/35 : LABEL git_sha=76e3f54acd07913db0165e42833f4c31f467d1ac 21:08:51 ---> Running in 8718e77f90a5 21:08:52 Removing intermediate container 8718e77f90a5 21:08:52 ---> 81c7454f1fa7 21:08:52 Step 35/35 : LABEL version=0.0.0 21:08:52 ---> Running in a3ffa1021f84 21:08:52 Removing intermediate container a3ffa1021f84 21:08:52 ---> c329e5bcbf21 21:08:52 [Warning] One or more build-args [ARCH] were not consumed 21:08:52 Successfully built c329e5bcbf21 21:08:52 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:53 21:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:54 arm64: Pulling from edgex-lftools-log-publisher 21:08:54 8998bd30e6a1: Pulling fs layer 21:08:54 04944245beec: Pulling fs layer 21:08:54 699f458cf7ca: Pulling fs layer 21:08:54 765212b225bb: Pulling fs layer 21:08:54 f23df028b6ca: Pulling fs layer 21:08:54 d65c8cfc05b1: Pulling fs layer 21:08:54 2437ff75d9bd: Pulling fs layer 21:08:54 765212b225bb: Waiting 21:08:54 f23df028b6ca: Waiting 21:08:54 d65c8cfc05b1: Waiting 21:08:54 2437ff75d9bd: Waiting 21:08:54 04944245beec: Verifying Checksum 21:08:54 04944245beec: Download complete 21:08:54 765212b225bb: Verifying Checksum 21:08:54 765212b225bb: Download complete 21:08:54 f23df028b6ca: Verifying Checksum 21:08:54 f23df028b6ca: Download complete 21:08:54 d65c8cfc05b1: Verifying Checksum 21:08:54 d65c8cfc05b1: Download complete 21:08:54 699f458cf7ca: Verifying Checksum 21:08:54 699f458cf7ca: Download complete 21:08:54 8998bd30e6a1: Verifying Checksum 21:08:54 8998bd30e6a1: Download complete 21:08:57 2437ff75d9bd: Verifying Checksum 21:08:57 2437ff75d9bd: Download complete 21:08:59 8998bd30e6a1: Pull complete 21:08:59 04944245beec: Pull complete 21:09:01 699f458cf7ca: Pull complete 21:09:01 765212b225bb: Pull complete 21:09:02 f23df028b6ca: Pull complete 21:09:02 d65c8cfc05b1: Pull complete 21:09:17 2437ff75d9bd: Pull complete 21:09:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:17 prd-ubuntu20.04-docker-arm64-4c-16g-8792 does not seem to be running inside a container 21:09:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:21 $ docker top 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:22 ---> job-cost.sh 21:09:22 lf-activate-venv: SKIPPING 21:09:22 INFO: No Stack... 21:09:23 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:24 INFO: Archiving Costs [Pipeline] sh 21:09:24 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 21:09:24 + cut -d, -f6 [Pipeline] lock 21:09:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] 21:09:24 Resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] did not exist. Created. 21:09:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:25 /w/workspace/device-usb-camera/1@tmp/durable-7e49b535/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:26 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:26 Warning: overwriting stash ‘stack-cost’ 21:09:26 Stashed 1 file(s) [Pipeline] } 21:09:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:26 $ docker stop --time=1 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 21:09:28 $ docker rm -f --volumes 96c3ea85d76b4e64a02eaae64a1e57fd85ee07a436a9352bff7ee3a29e632e15 [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 21:09:29 provisioning config files... 21:09:29 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config4918100743375971061tmp [Pipeline] { [Pipeline] sh 21:09:29 + set +x 21:09:29 + curl -s https://codecov.io/bash 21:09:29 + bash -s -- 21:09:29 21:09:29 _____ _ 21:09:29 / ____| | | 21:09:29 | | ___ __| | ___ ___ _____ __ 21:09:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:29 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:29 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:29 Bash-1.0.6 21:09:29 21:09:29 21:09:29 ==> git version 2.25.1 found 21:09:29 ==> 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 21:09:29 Release-Date: 2020-01-08 21:09:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:29 ==> Jenkins CI detected. 21:09:29 current dir:  /w/workspace/foundry_device-usb-camera_PR-217 21:09:29 project root: . 21:09:29 --> token set from env 21:09:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:29 ==> Running gcov in . (disable via -X gcov) 21:09:29 ==> Python coveragepy not found 21:09:29 ==> Searching for coverage reports in: 21:09:29 + . 21:09:29 -> Found 1 reports 21:09:29 ==> Detecting git/mercurial file structure 21:09:29 ==> Reading reports 21:09:29 + ./coverage.out bytes=28352 21:09:29 ==> Appending adjustments 21:09:29 https://docs.codecov.io/docs/fixing-reports 21:09:29 + Found adjustments 21:09:29 ==> Gzipping contents 21:09:29 4.0K /tmp/codecov.wFGVRE.gz 21:09:29 ==> Uploading reports 21:09:29 url: https://codecov.io 21:09:29 query: branch=PR-217&commit=76e3f54acd07913db0165e42833f4c31f467d1ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=217&job=&cmd_args= 21:09:29 -> Pinging Codecov 21:09:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-217&commit=76e3f54acd07913db0165e42833f4c31f467d1ac&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=217&job=&cmd_args= 21:09:29 -> Uploading to 21:09:29 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/73D8F5FF140700D3E01443B452E23636/76e3f54acd07913db0165e42833f4c31f467d1ac/9bed9621-30a5-4a08-9e8d-1fe124be08bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T210929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdbe427b166524001287a70308a70d4f8242bb2686f93be92354ef88e3a49475 21:09:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:29 Dload Upload Total Spent Left Speed 21:09:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3893 0 0 100 3893 0 18191 --:--:-- --:--:-- --:--:-- 18191 21:09:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/76e3f54acd07913db0165e42833f4c31f467d1ac [Pipeline] } 21:09:30 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 21:09:31 + [ -d /w/workspace/foundry_device-usb-camera_PR-217/archives ] 21:09:31 + ls -al /w/workspace/foundry_device-usb-camera_PR-217/archives 21:09:31 total 16 21:09:31 drwxr-xr-x 3 root root 4096 Apr 17 20:55 . 21:09:31 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:55 .. 21:09:31 drwxr-xr-x 2 root root 4096 Apr 17 20:55 cost 21:09:31 -rw-r--r-- 1 root root 89 Apr 17 20:55 cost.csv 21:09:31 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-217/archives 21:09:31 + ls -al /w/workspace/foundry_device-usb-camera_PR-217/archives 21:09:31 total 16 21:09:31 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:55 . 21:09:31 drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 20:55 .. 21:09:31 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:55 cost 21:09:31 -rw-r--r-- 1 jenkins jenkins 89 Apr 17 20:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:33 ---> package-listing.sh 21:09:33 ++ facter osfamily 21:09:33 ++ tr '[:upper:]' '[:lower:]' 21:09:33 + OS_FAMILY=debian 21:09:33 + workspace=/w/workspace/foundry_device-usb-camera_PR-217 21:09:33 + START_PACKAGES=/tmp/packages_start.txt 21:09:33 + END_PACKAGES=/tmp/packages_end.txt 21:09:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:33 + PACKAGES=/tmp/packages_start.txt 21:09:33 + '[' /w/workspace/foundry_device-usb-camera_PR-217 ']' 21:09:33 + PACKAGES=/tmp/packages_end.txt 21:09:33 + case "${OS_FAMILY}" in 21:09:33 + dpkg -l 21:09:33 + grep '^ii' 21:09:33 + '[' -f /tmp/packages_start.txt ']' 21:09:33 + '[' -f /tmp/packages_end.txt ']' 21:09:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:33 + '[' /w/workspace/foundry_device-usb-camera_PR-217 ']' 21:09:33 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-217/archives/ 21:09:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-217/archives/ [Pipeline] echo 21:09:33 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:34 prd-ubuntu20.04-docker-8c-8g-8791 does not seem to be running inside a container 21:09:34 $ 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-217/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-217 -v /w/workspace/foundry_device-usb-camera_PR-217:/w/workspace/foundry_device-usb-camera_PR-217:rw,z -v /w/workspace/foundry_device-usb-camera_PR-217@tmp:/w/workspace/foundry_device-usb-camera_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:34 $ docker top bcb8f3b95a7956eb3c93cc1790b63e9d4646700828762015617afaec8e0031ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:35 + ls /var/log/sa-host 21:09:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:35 provisioning config files... 21:09:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-217@tmp/config14888897963081158194tmp [Pipeline] { [Pipeline] echo 21:09:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> create-netrc.sh [Pipeline] } 21:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> python-tools-install.sh [Pipeline] echo 21:09:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> sudo-logs.sh 21:09:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:37 ---> job-cost.sh 21:09:37 lf-activate-venv: SKIPPING 21:09:37 DEBUG: total: 0.2199999988079071 21:09:37 INFO: Retrieving Stack Cost... 21:09:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:38 INFO: Archiving Costs [Pipeline] echo 21:09:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:38 ---> logs-deploy.sh 21:09:38 lf-activate-venv: SKIPPING 21:09:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-217/1 21:09:38 INFO: archiving workspace using pattern(s): 21:09:39 Archives upload complete. 21:09:39 INFO: archiving logs to Nexus