Pull request #276 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 FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 7f0ea84c5fc6259e107e6e49a7d7b5800f19537e+01fe4c452c1c0c1ad9fb2e18d81433e35514c064 (26113369997305065ed7d344d1499cb381c0197d) 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-ssh18072772085173208718.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9913899594274917942.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-276/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-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17554733817342792466.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-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15056886417164417725.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9491338785283822797.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-276/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-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7203624176290781842.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4680 in /w/workspace/foundry_device-usb-camera_PR-276 [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-276 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit 7f0ea84c5fc6259e107e6e49a7d7b5800f19537e Merge succeeded, producing 560a9e1cd9e564b5955a2ae2220e5059c3c1269b Checking out Revision 560a9e1cd9e564b5955a2ae2220e5059c3c1269b (PR-276) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f0ea84c5fc6259e107e6e49a7d7b5800f19537e # 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 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 560a9e1cd9e564b5955a2ae2220e5059c3c1269b # timeout=10 Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:37:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:37:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:37:44 ========================================================= 11:37:44 EdgeX Global Pipelines Version Info 11:37:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:37:44 ------------------- 11:37:44 stable info: 11:37:44 ------------------- 11:37:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:37:44 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:37:44 Message: update stable to v1.0.253 11:37:45 ------------------- 11:37:45 experimental info: 11:37:45 ------------------- 11:37:45 Commited By: **** collab-it+edgex@linuxfoundation.org 11:37:45 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:37:45 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:37:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 11:37:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 11:37:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:37:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:37:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo 11:37:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo 11:37:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo 11:37:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 560a9e1cd9e564b5955a2ae2220e5059c3c1269b [Pipeline] echo 11:37:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 560a9e1 [Pipeline] echo 11:37:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:37:47 provisioning config files... 11:37:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-276@tmp/config7758603597175143699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:47 ---> docker-login.sh 11:37:47 nexus3.edgexfoundry.org:10001 11:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:48 Configure a credential helper to remove this warning. See 11:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:48 11:37:48 Login Succeeded 11:37:48 nexus3.edgexfoundry.org:10002 11:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:48 Configure a credential helper to remove this warning. See 11:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:48 11:37:48 Login Succeeded 11:37:48 nexus3.edgexfoundry.org:10003 11:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:48 Configure a credential helper to remove this warning. See 11:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:48 11:37:48 Login Succeeded 11:37:48 nexus3.edgexfoundry.org:10004 11:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:48 Configure a credential helper to remove this warning. See 11:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:48 11:37:48 Login Succeeded 11:37:48 docker.io 11:37:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:48 Configure a credential helper to remove this warning. See 11:37:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:48 11:37:48 Login Succeeded 11:37:48 ---> docker-login.sh ends [Pipeline] } 11:37:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:37:49 + git rev-list -1 --merges 560a9e1cd9e564b5955a2ae2220e5059c3c1269b~1..560a9e1cd9e564b5955a2ae2220e5059c3c1269b [Pipeline] echo 11:37:49 -----------> git rev-list -1 --merges 560a9e1cd9e564b5955a2ae2220e5059c3c1269b~1..560a9e1cd9e564b5955a2ae2220e5059c3c1269b 560a9e1cd9e564b5955a2ae2220e5059c3c1269b 11:37:49 560a9e1cd9e564b5955a2ae2220e5059c3c1269b [false] [Pipeline] sh 11:37:49 + git log --format=format:%s -1 560a9e1cd9e564b5955a2ae2220e5059c3c1269b [Pipeline] echo 11:37:50 ========================================================= 11:37:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:37:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:37:50 + git log --format=format:%s -1 560a9e1cd9e564b5955a2ae2220e5059c3c1269b [Pipeline] echo 11:37:50 [semverPrep] GIT_COMMIT: 560a9e1cd9e564b5955a2ae2220e5059c3c1269b, Commit Message: Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD [Pipeline] echo 11:37:50 [semverPrep] This is not a build commit. [Pipeline] sh 11:37:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:37:50 + grep -v github /etc/ssh/ssh_known_hosts 11:37:50 + [ -e /tmp/ssh_known_hosts ] 11:37:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:37:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:37:50 + sudo tee -a /etc/ssh/ssh_known_hosts 11:37:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:51 11:37:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:51 0.1.4: Pulling from edgex-devops/py-git-semver 11:37:51 b85a868b505f: Pulling fs layer 11:37:51 e2be974225ed: Pulling fs layer 11:37:51 339a4e72a1f5: Pulling fs layer 11:37:51 988bab9f4d93: Pulling fs layer 11:37:51 1469e6f7b9e6: Pulling fs layer 11:37:51 988bab9f4d93: Waiting 11:37:51 eaf3925da568: Pulling fs layer 11:37:51 1469e6f7b9e6: Waiting 11:37:51 bab4dde63d76: Pulling fs layer 11:37:51 bde34c3a00c8: Pulling fs layer 11:37:51 b352a97aabf1: Pulling fs layer 11:37:51 4872d77fe225: Pulling fs layer 11:37:51 5851b861e8e6: Pulling fs layer 11:37:51 b352a97aabf1: Waiting 11:37:51 4872d77fe225: Waiting 11:37:51 5851b861e8e6: Waiting 11:37:51 bab4dde63d76: Waiting 11:37:51 bde34c3a00c8: Waiting 11:37:51 e2be974225ed: Download complete 11:37:51 988bab9f4d93: Download complete 11:37:51 1469e6f7b9e6: Verifying Checksum 11:37:51 1469e6f7b9e6: Download complete 11:37:52 eaf3925da568: Verifying Checksum 11:37:52 339a4e72a1f5: Verifying Checksum 11:37:52 eaf3925da568: Download complete 11:37:52 339a4e72a1f5: Download complete 11:37:52 bde34c3a00c8: Download complete 11:37:52 b352a97aabf1: Download complete 11:37:52 4872d77fe225: Verifying Checksum 11:37:52 4872d77fe225: Download complete 11:37:52 5851b861e8e6: Verifying Checksum 11:37:52 5851b861e8e6: Download complete 11:37:52 b85a868b505f: Download complete 11:37:52 bab4dde63d76: Verifying Checksum 11:37:52 bab4dde63d76: Download complete 11:37:53 b85a868b505f: Pull complete 11:37:53 e2be974225ed: Pull complete 11:37:54 339a4e72a1f5: Pull complete 11:37:54 988bab9f4d93: Pull complete 11:37:54 1469e6f7b9e6: Pull complete 11:37:54 eaf3925da568: Pull complete 11:37:56 bab4dde63d76: Pull complete 11:37:56 bde34c3a00c8: Pull complete 11:37:56 b352a97aabf1: Pull complete 11:37:56 4872d77fe225: Pull complete 11:37:56 5851b861e8e6: Pull complete 11:37:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:37:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:37:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:37:56 prd-ubuntu20.04-docker-8c-8g-4680 does not seem to be running inside a container 11:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-276 -v /w/workspace/foundry_device-usb-camera_PR-276:/w/workspace/foundry_device-usb-camera_PR-276:rw,z -v /w/workspace/foundry_device-usb-camera_PR-276@tmp:/w/workspace/foundry_device-usb-camera_PR-276@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 11:38:00 $ docker top b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 -eo pid,comm 11:38:00 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). 11:38:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:38:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:38:00 [ssh-agent] Looking for ssh-agent implementation... 11:38:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:38:01 $ docker exec b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 ssh-agent 11:38:01 SSH_AUTH_SOCK=/tmp/ssh-Oa2QMz2EIW3s/agent.34 11:38:01 SSH_AGENT_PID=41 11:38:01 Running ssh-add (command line suppressed) 11:38:01 Identity added: /w/workspace/foundry_device-usb-camera_PR-276@tmp/private_key_7352789552715736315.key (/w/workspace/foundry_device-usb-camera_PR-276@tmp/private_key_7352789552715736315.key) 11:38:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:38:01 + git tag --points-at HEAD [Pipeline] } 11:38:01 $ docker exec --env ******** --env ******** b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 ssh-agent -k 11:38:01 unset SSH_AUTH_SOCK; 11:38:01 unset SSH_AGENT_PID; 11:38:01 echo Agent pid 41 killed; 11:38:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:38:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:38:01 [ssh-agent] Looking for ssh-agent implementation... 11:38:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:38:02 $ docker exec b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 ssh-agent 11:38:02 SSH_AUTH_SOCK=/tmp/ssh-F7xoRfLFBhkt/agent.74 11:38:02 SSH_AGENT_PID=80 11:38:02 Running ssh-add (command line suppressed) 11:38:02 Identity added: /w/workspace/foundry_device-usb-camera_PR-276@tmp/private_key_16583892141435407541.key (/w/workspace/foundry_device-usb-camera_PR-276@tmp/private_key_16583892141435407541.key) 11:38:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:38:02 + git semver init 11:38:02 2023-08-27 11:38:02,792 [run_init] DEBUG init version:0.0.0 force:False 11:38:02 2023-08-27 11:38:02,793 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-276/.semver 11:38:02 2023-08-27 11:38:02,793 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-276/.semver 11:38:02 2023-08-27 11:38:02,793 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-276/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-276, universal_newlines=False, shell=None, istream=None) 11:38:03 2023-08-27 11:38:03,500 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-276/.git/info/exclude 11:38:03 2023-08-27 11:38:03,500 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-276/.semver/PR-276 with force:False 11:38:03 2023-08-27 11:38:03,500 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-276/.semver/PR-276 11:38:03 2023-08-27 11:38:03,505 [execute] INFO git cat-file --batch-check 11:38:03 2023-08-27 11:38:03,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 11:38:03 2023-08-27 11:38:03,513 [execute] INFO git cat-file --batch 11:38:03 2023-08-27 11:38:03,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) 11:38:03 2023-08-27 11:38:03,519 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-276/.semver/PR-276 11:38:03 0.0.0 [Pipeline] } 11:38:03 $ docker exec --env ******** --env ******** b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 ssh-agent -k 11:38:03 unset SSH_AUTH_SOCK; 11:38:03 unset SSH_AGENT_PID; 11:38:03 echo Agent pid 80 killed; 11:38:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:38:04 + git semver [Pipeline] } 11:38:04 $ docker stop --time=1 b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 11:38:05 $ docker rm -f --volumes b6ead19b21f5ac979dd4fa9579e19409e559ee4286f4aeb336d09b3f7c3276a4 [Pipeline] // withDockerContainer [Pipeline] sh 11:38:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:38:06 Stashed 1 file(s) [Pipeline] echo 11:38:06 [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 11:38:07 provisioning config files... 11:38:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-276@tmp/config18070253429790097417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:38:07 ---> docker-login.sh 11:38:07 nexus3.edgexfoundry.org:10001 11:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:07 Configure a credential helper to remove this warning. See 11:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:07 11:38:07 Login Succeeded 11:38:07 nexus3.edgexfoundry.org:10002 11:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:07 Configure a credential helper to remove this warning. See 11:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:07 11:38:07 Login Succeeded 11:38:07 nexus3.edgexfoundry.org:10003 11:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:07 Configure a credential helper to remove this warning. See 11:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:07 11:38:07 Login Succeeded 11:38:07 nexus3.edgexfoundry.org:10004 11:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:07 Configure a credential helper to remove this warning. See 11:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:07 11:38:07 Login Succeeded 11:38:07 docker.io 11:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:38:08 Configure a credential helper to remove this warning. See 11:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:38:08 11:38:08 Login Succeeded 11:38:08 ---> docker-login.sh ends [Pipeline] } 11:38:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:38:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:38:08 ========================================================= 11:38:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:38:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:09 + 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 . 11:38:09 Sending build context to Docker daemon 2.127MB 11:38:09 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 11:38:09 Step 2/13 : FROM ${BASE} AS builder 11:38:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:38:09 4db1b89c0bd1: Pulling fs layer 11:38:09 6911f1a30b25: Pulling fs layer 11:38:09 e194b8c5c2a9: Pulling fs layer 11:38:09 6863d3e3a2b1: Pulling fs layer 11:38:09 ec0bb842ea78: Pulling fs layer 11:38:09 40a00589a448: Pulling fs layer 11:38:09 6863d3e3a2b1: Waiting 11:38:09 ec0bb842ea78: Waiting 11:38:09 6c08303d61cc: Pulling fs layer 11:38:09 798269fcf238: Pulling fs layer 11:38:09 40a00589a448: Waiting 11:38:09 6c08303d61cc: Waiting 11:38:09 6911f1a30b25: Verifying Checksum 11:38:09 6911f1a30b25: Download complete 11:38:09 6863d3e3a2b1: Verifying Checksum 11:38:09 6863d3e3a2b1: Download complete 11:38:09 ec0bb842ea78: Download complete 11:38:09 4db1b89c0bd1: Verifying Checksum 11:38:09 4db1b89c0bd1: Download complete 11:38:09 40a00589a448: Verifying Checksum 11:38:09 40a00589a448: Download complete 11:38:09 4db1b89c0bd1: Pull complete 11:38:09 6911f1a30b25: Pull complete 11:38:10 798269fcf238: Verifying Checksum 11:38:10 798269fcf238: Download complete 11:38:10 e194b8c5c2a9: Verifying Checksum 11:38:10 e194b8c5c2a9: Download complete 11:38:10 6c08303d61cc: Verifying Checksum 11:38:10 6c08303d61cc: Download complete 11:38:13 e194b8c5c2a9: Pull complete 11:38:13 6863d3e3a2b1: Pull complete 11:38:14 ec0bb842ea78: Pull complete 11:38:14 40a00589a448: Pull complete 11:38:16 6c08303d61cc: Pull complete 11:38:17 798269fcf238: Pull complete 11:38:17 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 11:38:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:38:17 ---> ec979cd7f677 11:38:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:38:22 Still waiting to schedule task 11:38:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:38:26 ---> Running in f6a367d49582 11:38:26 Removing intermediate container f6a367d49582 11:38:26 ---> 382029410a28 11:38:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:38:26 ---> Running in 7133e5434b75 11:38:26 Removing intermediate container 7133e5434b75 11:38:26 ---> b1cfbef747e1 11:38:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 11:38:26 ---> Running in 8cc6607b389e 11:38:26 Removing intermediate container 8cc6607b389e 11:38:26 ---> ee7acd65db32 11:38:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 11:38:26 ---> Running in f50fb0688bc3 11:38:26 Removing intermediate container f50fb0688bc3 11:38:26 ---> b7bdad7c6399 11:38:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:38:26 ---> Running in be9f9a307f52 11:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:38:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:38:27 (1/14) Installing libintl (0.21.1-r1) 11:38:27 (2/14) Installing eudev-libs (3.2.11-r4) 11:38:27 (3/14) Installing libjpeg-turbo (2.1.4-r0) 11:38:27 (4/14) Installing v4l-utils-libs (1.22.1-r2) 11:38:27 (5/14) Installing v4l-utils (1.22.1-r2) 11:38:27 (6/14) Installing udev-init-scripts (35-r1) 11:38:27 (7/14) Installing libblkid (2.38.1-r1) 11:38:27 (8/14) Installing xz-libs (5.2.9-r0) 11:38:27 (9/14) Installing zstd-libs (1.5.5-r0) 11:38:27 (10/14) Installing kmod-libs (30-r1) 11:38:27 (11/14) Installing eudev (3.2.11-r4) 11:38:27 (12/14) Installing eudev-dev (3.2.11-r4) 11:38:27 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 11:38:27 (14/14) Installing v4l-utils-dev (1.22.1-r2) 11:38:27 Executing busybox-1.35.0-r29.trigger 11:38:27 Executing eudev-3.2.11-r4.trigger 11:38:27 OK: 272 MiB in 67 packages 11:38:28 Removing intermediate container be9f9a307f52 11:38:28 ---> 5f00745fbb4b 11:38:28 Step 8/13 : WORKDIR /device-usb-camera 11:38:28 ---> Running in d5b783499ccd 11:38:28 Removing intermediate container d5b783499ccd 11:38:28 ---> f6f0b71c34cd 11:38:28 Step 9/13 : COPY go.mod vendor* ./ 11:38:28 ---> 7065eb7752a6 11:38:28 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:38:28 ---> Running in e571ca627dfe 11:39:36 Removing intermediate container e571ca627dfe 11:39:36 ---> d5f1f558f6f1 11:39:36 Step 11/13 : COPY . . 11:39:36 ---> 025152e6e8c8 11:39:36 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 11:39:36 ---> Running in c920f67660a2 11:39:36  % Total % Received % Xferd Average Speed Time Time Time Current 11:39:36 Dload Upload Total Spent Left Speed 11:39:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 8886 0 --:--:-- --:--:-- --:--:-- 8950 11:39:36 Removing intermediate container c920f67660a2 11:39:36 ---> a50487a9d983 11:39:36 Step 13/13 : RUN ${MAKE} 11:39:36 ---> Running in a03af9917ff9 11:39:36 noop 11:39:36 Removing intermediate container a03af9917ff9 11:39:36 ---> d25146a7ea54 11:39:36 Successfully built d25146a7ea54 11:39:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:36 + docker inspect -f . ci-base-image-x86_64 11:39:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:36 prd-ubuntu20.04-docker-8c-8g-4680 does not seem to be running inside a container 11:39:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-276 -v /w/workspace/foundry_device-usb-camera_PR-276:/w/workspace/foundry_device-usb-camera_PR-276:rw,z -v /w/workspace/foundry_device-usb-camera_PR-276@tmp:/w/workspace/foundry_device-usb-camera_PR-276@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 11:39:38 $ docker top a9e3aad7b11b0265bdb7103a1132f7ed62a4db5bace311fb0d30ae59c095f388 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:39 + go version 11:39:39 go version go1.20.6 linux/amd64 [Pipeline] } 11:39:39 $ docker stop --time=1 a9e3aad7b11b0265bdb7103a1132f7ed62a4db5bace311fb0d30ae59c095f388 11:39:40 $ docker rm -f --volumes a9e3aad7b11b0265bdb7103a1132f7ed62a4db5bace311fb0d30ae59c095f388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:41 + docker inspect -f . ci-base-image-x86_64 11:39:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:41 prd-ubuntu20.04-docker-8c-8g-4680 does not seem to be running inside a container 11:39:41 $ 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-276 -v /w/workspace/foundry_device-usb-camera_PR-276:/w/workspace/foundry_device-usb-camera_PR-276:rw,z -v /w/workspace/foundry_device-usb-camera_PR-276@tmp:/w/workspace/foundry_device-usb-camera_PR-276@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 11:39:43 $ docker top c1c027d57398ff9de2d6979ea0f15ccf6566a7c9a6eae4940d2bd800b028cd7d -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:43 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-276 [Pipeline] fileExists [Pipeline] sh 11:39:44 + make test 11:39:44 go test ./... -coverprofile=coverage.out ./... 11:39:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 11:39:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4681 in /w/workspace/foundry_device-usb-camera_PR-276 [Pipeline] { [Pipeline] ws 11:39:52 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 11:39:52 Selected Git installation does not exist. Using Default 11:39:52 The recommended git tool is: NONE 11:39:57 using credential edgex-jenkins-ssh 11:39:57 Cloning the remote Git repository 11:39:57 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 11:39:57 > git init /w/workspace/device-usb-camera/1 # timeout=10 11:39:57 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 11:39:57 > git --version # timeout=10 11:39:57 > git --version # 'git version 2.25.1' 11:39:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:39:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 11:39:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:39:59 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 11:39:59 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 11:39:59 using GIT_SSH to set credentials SSH Credentials for GitHub 11:39:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:40:00 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit 7f0ea84c5fc6259e107e6e49a7d7b5800f19537e 11:40:00 Merge succeeded, producing b32e0de166ef07144d8b851e45802f1a26ce80fc 11:40:00 Checking out Revision b32e0de166ef07144d8b851e45802f1a26ce80fc (PR-276) 11:40:00 > git config core.sparsecheckout # timeout=10 11:40:00 > git checkout -f 7f0ea84c5fc6259e107e6e49a7d7b5800f19537e # timeout=10 11:40:00 > git remote # timeout=10 11:40:00 > git config --get remote.origin.url # timeout=10 11:40:00 using GIT_SSH to set credentials SSH Credentials for GitHub 11:40:00 > git merge 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 11:40:00 > git rev-parse HEAD^{commit} # timeout=10 11:40:00 > git config core.sparsecheckout # timeout=10 11:40:00 > git checkout -f b32e0de166ef07144d8b851e45802f1a26ce80fc # timeout=10 11:40:01 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 11:40:01 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 4.4% of statements 11:40:03 Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" 11:40:03 First time build. Skipping changelog. 11:40:04 > git --version # timeout=10 11:40:04 > git --version # 'git version 2.25.1' 11:40:04 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:40:05 % Total % Received % Xferd Average Speed Time Time Time Current 11:40:05 Dload Upload Total Spent Left Speed 11:40:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 11:40:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:40:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:40:06 + sudo tee /etc/docker/daemon.new 11:40:06 { 11:40:06 "registry-mirrors": [ 11:40:06 "https://nexus3.edgexfoundry.org:10001" 11:40:06 ], 11:40:06 "bip": "10.250.0.254/24", 11:40:06 "hosts": [ 11:40:06 "tcp://0.0.0.0:5555", 11:40:06 "unix:///var/run/docker.sock" 11:40:06 ], 11:40:06 "mtu": 1458, 11:40:06 "selinux-enabled": true, 11:40:06 "seccomp-profile": "/etc/docker/seccomp.json" 11:40:06 } [Pipeline] sh 11:40:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:40:06 + sudo service docker restart 11:40:09 go vet ./... 11:40:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:40:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:40:13 ./bin/test-attribution-txt.sh [Pipeline] echo 11:40:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:40:13 $ docker stop --time=1 c1c027d57398ff9de2d6979ea0f15ccf6566a7c9a6eae4940d2bd800b028cd7d 11:40:18 $ docker rm -f --volumes c1c027d57398ff9de2d6979ea0f15ccf6566a7c9a6eae4940d2bd800b028cd7d [Pipeline] // withDockerContainer [Pipeline] sh 11:40:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:40:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:40:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:40:19 + ls -al . 11:40:19 total 220 11:40:19 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 11:39 . 11:40:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:37 .. 11:40:19 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 11:38 .git 11:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 .github 11:40:19 -rw-rw-r-- 1 jenkins jenkins 414 Aug 27 11:37 .gitignore 11:40:19 -rw-rw-r-- 1 jenkins jenkins 45 Aug 27 11:37 .golangci.yml 11:40:19 -rw-rw-r-- 1 jenkins jenkins 77 Aug 27 11:37 .hadolint.yml 11:40:19 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 11:38 .semver 11:40:19 -rw-rw-r-- 1 jenkins jenkins 10851 Aug 27 11:37 Attribution.txt 11:40:19 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 27 11:37 CHANGELOG.md 11:40:19 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 27 11:37 Dockerfile 11:40:19 -rw-rw-r-- 1 jenkins jenkins 678 Aug 27 11:37 GOVERNANCE.md 11:40:19 -rw-rw-r-- 1 jenkins jenkins 659 Aug 27 11:37 Jenkinsfile 11:40:19 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 27 11:37 LICENSE 11:40:19 -rw-rw-r-- 1 jenkins jenkins 2490 Aug 27 11:37 Makefile 11:40:19 -rw-rw-r-- 1 jenkins jenkins 622 Aug 27 11:37 OWNERS.md 11:40:19 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 27 11:37 README.md 11:40:19 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 11:38 VERSION 11:40:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:37 bin 11:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 cmd 11:40:19 -rw-r--r-- 1 jenkins jenkins 53857 Aug 27 11:40 coverage.out 11:40:19 -rwxrwxr-x 1 jenkins jenkins 140 Aug 27 11:37 docker-entrypoint.sh 11:40:19 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:37 docs 11:40:19 -rw-rw-r-- 1 jenkins jenkins 3951 Aug 27 11:37 go.mod 11:40:19 -rw-rw-r-- 1 jenkins jenkins 34252 Aug 27 11:37 go.sum 11:40:19 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 internal 11:40:19 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:37 snap 11:40:19 -rw-rw-r-- 1 jenkins jenkins 231 Aug 27 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:20 + 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=560a9e1cd9e564b5955a2ae2220e5059c3c1269b --label arch=amd64 --label version=0.0.0 . 11:40:20 Sending build context to Docker daemon 2.182MB 11:40:20 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 11:40:20 Step 2/36 : FROM ${BASE} AS builder 11:40:20 ---> d25146a7ea54 11:40:20 Step 3/36 : ARG ADD_BUILD_TAGS="" 11:40:20 ---> Running in a69b58734324 11:40:20 Removing intermediate container a69b58734324 11:40:20 ---> fbce4fbb60c9 11:40:20 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:40:20 ---> Running in 53d618247b15 11:40:20 Removing intermediate container 53d618247b15 11:40:20 ---> dd1589c52d4a 11:40:20 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 11:40:20 ---> Running in c41bd0a486fa 11:40:20 Removing intermediate container c41bd0a486fa 11:40:20 ---> 6e7a45bfd5c2 11:40:20 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 11:40:20 ---> Running in 7f08248bbbd3 11:40:20 Removing intermediate container 7f08248bbbd3 11:40:20 ---> 16d05b3af27d 11:40:20 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:40:20 ---> Running in e0eee6dcd4b3 11:40:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:40:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:40:21 OK: 272 MiB in 67 packages 11:40:21 Removing intermediate container e0eee6dcd4b3 11:40:21 ---> cd9753316e2e 11:40:21 Step 8/36 : WORKDIR /device-usb-camera 11:40:21 ---> Running in 9d30cb851cd0 11:40:22 Removing intermediate container 9d30cb851cd0 11:40:22 ---> 0829e94f25d6 11:40:22 Step 9/36 : COPY go.mod vendor* ./ 11:40:22 ---> e01ab5b9066a 11:40:22 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:22 ---> Running in c0f1d01f4e2d 11:40:23 Removing intermediate container c0f1d01f4e2d 11:40:23 ---> 91f4e3ff657b 11:40:23 Step 11/36 : COPY . . 11:40:23 ---> 381c49f3c44b 11:40:23 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 11:40:23 ---> Running in fa72f3425c64 11:40:24  % Total % Received % Xferd Average Speed Time Time Time Current 11:40:24 Dload Upload Total Spent Left Speed 11:40:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24614 0 --:--:-- --:--:-- --:--:-- 25060 11:40:24 Removing intermediate container fa72f3425c64 11:40:24 ---> b5255a963a4b 11:40:24 Step 13/36 : RUN ${MAKE} 11:40:24 ---> Running in ad068522c013 11:40:24 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:25 provisioning config files... 11:40:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config166410188922700514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:25 ---> docker-login.sh 11:40:25 nexus3.edgexfoundry.org:10001 11:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10002 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10003 11:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:26 Configure a credential helper to remove this warning. See 11:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:26 11:40:26 Login Succeeded 11:40:26 nexus3.edgexfoundry.org:10004 11:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:27 Configure a credential helper to remove this warning. See 11:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:27 11:40:27 Login Succeeded 11:40:27 docker.io 11:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:27 Configure a credential helper to remove this warning. See 11:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:27 11:40:27 Login Succeeded 11:40:27 ---> docker-login.sh ends [Pipeline] } 11:40:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:40:28 ========================================================= 11:40:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:40:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:28 + 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 . 11:40:29 Sending build context to Docker daemon 1.293MB 11:40:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 11:40:29 Step 2/13 : FROM ${BASE} AS builder 11:40:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:40:29 edb6bdbacee9: Pulling fs layer 11:40:29 5f9638ab2659: Pulling fs layer 11:40:29 8d51d6327a98: Pulling fs layer 11:40:29 8b374f2dd631: Pulling fs layer 11:40:29 ec14aa9079de: Pulling fs layer 11:40:29 2f466654f4bb: Pulling fs layer 11:40:29 554e91adad29: Pulling fs layer 11:40:29 8b374f2dd631: Waiting 11:40:29 ec14aa9079de: Waiting 11:40:29 2f466654f4bb: Waiting 11:40:29 554e91adad29: Waiting 11:40:29 5f9638ab2659: Verifying Checksum 11:40:29 5f9638ab2659: Download complete 11:40:29 8b374f2dd631: Verifying Checksum 11:40:29 8b374f2dd631: Download complete 11:40:29 ec14aa9079de: Verifying Checksum 11:40:29 ec14aa9079de: Download complete 11:40:29 edb6bdbacee9: Download complete 11:40:30 edb6bdbacee9: Pull complete 11:40:30 554e91adad29: Verifying Checksum 11:40:30 554e91adad29: Download complete 11:40:30 5f9638ab2659: Pull complete 11:40:31 8d51d6327a98: Verifying Checksum 11:40:31 8d51d6327a98: Download complete 11:40:32 2f466654f4bb: Verifying Checksum 11:40:32 2f466654f4bb: Download complete 11:40:44 8d51d6327a98: Pull complete 11:40:44 8b374f2dd631: Pull complete 11:40:44 ec14aa9079de: Pull complete 11:40:49 2f466654f4bb: Pull complete 11:40:51 Removing intermediate container ad068522c013 11:40:51 ---> 063e217afc18 11:40:51 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 11:40:51 v0.21.6: Pulling from aler9/rtsp-simple-server 11:40:51 4acc49c71d14: Pulling fs layer 11:40:51 4acc49c71d14: Verifying Checksum 11:40:51 4acc49c71d14: Download complete 11:40:51 4acc49c71d14: Pull complete 11:40:51 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 11:40:51 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 11:40:51 ---> 01a2bd3e5fff 11:40:51 Step 15/36 : FROM alpine:3.17 11:40:51 3.17: Pulling from library/alpine 11:40:51 9398808236ff: Pulling fs layer 11:40:51 9398808236ff: Verifying Checksum 11:40:51 9398808236ff: Download complete 11:40:52 9398808236ff: Pull complete 11:40:52 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:40:52 Status: Downloaded newer image for alpine:3.17 11:40:52 ---> 1e0b8b5322fc 11:40:52 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 11:40:52 ---> Running in 6e9070911feb 11:40:52 554e91adad29: Pull complete 11:40:52 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 11:40:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:40:52 ---> 1e15ea492957 11:40:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 11:40:52 Removing intermediate container 6e9070911feb 11:40:52 ---> cda8f996ff86 11:40:52 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 11:40:52 ---> Running in 0e5617803c48 11:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:40:53 (1/86) Installing dumb-init (1.2.5-r2) 11:40:53 (2/86) Installing sdl2 (2.26.5-r0) 11:40:53 (3/86) Installing svt-av1-libs (1.3.0-r0) 11:40:53 (4/86) Installing libxau (1.0.10-r0) 11:40:53 (5/86) Installing libmd (1.0.4-r0) 11:40:53 (6/86) Installing libbsd (0.11.7-r0) 11:40:53 (7/86) Installing libxdmcp (1.1.4-r0) 11:40:53 (8/86) Installing libxcb (1.15-r0) 11:40:53 (9/86) Installing libx11 (1.8.4-r1) 11:40:53 (10/86) Installing aom-libs (3.5.0-r0) 11:40:53 (11/86) Installing alsa-lib (1.2.8-r0) 11:40:53 (12/86) Installing libexpat (2.5.0-r0) 11:40:53 (13/86) Installing brotli-libs (1.0.9-r9) 11:40:53 (14/86) Installing libbz2 (1.0.8-r4) 11:40:53 (15/86) Installing libpng (1.6.39-r0) 11:40:53 (16/86) Installing freetype (2.12.1-r0) 11:40:53 (17/86) Installing fontconfig (2.14.1-r0) 11:40:53 (18/86) Installing fribidi (1.0.12-r0) 11:40:53 (19/86) Installing libffi (3.4.4-r0) 11:40:53 (20/86) Installing libintl (0.21.1-r1) 11:40:53 (21/86) Installing libblkid (2.38.1-r1) 11:40:53 (22/86) Installing libmount (2.38.1-r1) 11:40:53 (23/86) Installing pcre2 (10.42-r0) 11:40:53 (24/86) Installing glib (2.74.7-r0) 11:40:53 (25/86) Installing graphite2 (1.3.14-r2) 11:40:53 (26/86) Installing harfbuzz (5.3.1-r1) 11:40:53 (27/86) Installing libass (0.16.0-r1) 11:40:53 (28/86) Installing libdav1d (1.0.0-r2) 11:40:53 ---> Running in 277bffeda49e 11:40:53 (29/86) Installing hwdata-pci (0.364-r0) 11:40:53 (30/86) Installing libpciaccess (0.17-r0) 11:40:53 (31/86) Installing libdrm (2.4.114-r0) 11:40:53 (32/86) Installing gmp (6.2.1-r2) 11:40:53 (33/86) Installing nettle (3.8.1-r0) 11:40:53 (34/86) Installing p11-kit (0.24.1-r1) 11:40:53 (35/86) Installing libtasn1 (4.19.0-r0) 11:40:53 (36/86) Installing libunistring (1.1-r0) 11:40:53 (37/86) Installing gnutls (3.7.8-r3) 11:40:53 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 11:40:53 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 11:40:53 (40/86) Installing lame (3.100-r2) 11:40:53 (41/86) Installing opus (1.3.1-r1) 11:40:53 (42/86) Installing libasyncns (0.8-r1) 11:40:53 (43/86) Installing dbus-libs (1.14.8-r0) 11:40:53 (44/86) Installing libltdl (2.4.7-r1) 11:40:53 (45/86) Installing orc (0.4.33-r0) 11:40:53 (46/86) Installing libgcc (12.2.1_git20220924-r4) 11:40:53 (47/86) Installing libogg (1.3.5-r2) 11:40:53 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 11:40:53 (49/86) Installing flac-libs (1.4.2-r0) 11:40:53 (50/86) Installing libvorbis (1.3.7-r0) 11:40:53 (51/86) Installing libsndfile (1.1.0-r2) 11:40:53 (52/86) Installing libgomp (12.2.1_git20220924-r4) 11:40:53 (53/86) Installing soxr (0.1.3-r3) 11:40:53 (54/86) Installing speexdsp (1.2.1-r0) 11:40:53 (55/86) Installing tdb-libs (1.4.6-r0) 11:40:53 (56/86) Installing libpulse (16.1-r6) 11:40:54 Removing intermediate container 277bffeda49e 11:40:54 ---> 41d2f97fe711 11:40:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:40:54 (57/86) Installing cjson (1.7.15-r3) 11:40:54 (58/86) Installing mbedtls (2.28.4-r0) 11:40:54 (59/86) Installing librist (0.2.7-r0) 11:40:54 (60/86) Installing libsrt (1.5.1-r0) 11:40:54 (61/86) Installing libssh (0.10.5-r0) 11:40:54 (62/86) Installing libtheora (1.1.1-r16) 11:40:54 (63/86) Installing libjpeg-turbo (2.1.4-r0) 11:40:54 (64/86) Installing v4l-utils-libs (1.22.1-r2) 11:40:54 (65/86) Installing libxext (1.3.5-r0) 11:40:54 (66/86) Installing libxfixes (6.0.0-r0) 11:40:54 (67/86) Installing wayland-libs-client (1.21.0-r1) 11:40:54 (68/86) Installing libva (2.16.0-r0) 11:40:54 (69/86) Installing libvdpau (1.5-r0) 11:40:54 (70/86) Installing vidstab (1.1.0-r2) 11:40:54 (71/86) Installing libvpx (1.12.0-r1) 11:40:54 ---> Running in 2ca7a249f19e 11:40:54 (72/86) Installing libwebp (1.2.4-r2) 11:40:54 (73/86) Installing x264-libs (0.164_git20220602-r0) 11:40:54 (74/86) Installing numactl (2.0.16-r1) 11:40:54 (75/86) Installing x265-libs (3.5-r3) 11:40:54 Removing intermediate container 2ca7a249f19e 11:40:54 ---> 41e090ce31d7 11:40:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 11:40:54 ---> Running in 21a46fc81859 11:40:54 (76/86) Installing xvidcore (1.3.7-r1) 11:40:54 (77/86) Installing libsodium (1.0.18-r2) 11:40:54 (78/86) Installing libzmq (4.3.4-r1) 11:40:54 (79/86) Installing ffmpeg-libs (5.1.3-r0) 11:40:54 Removing intermediate container 21a46fc81859 11:40:54 ---> 6394802d62f7 11:40:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 11:40:55 (80/86) Installing ffmpeg (5.1.3-r0) 11:40:55 (81/86) Installing udev-init-scripts (35-r1) 11:40:55 (82/86) Installing eudev-libs (3.2.11-r4) 11:40:55 (83/86) Installing xz-libs (5.2.9-r0) 11:40:55 (84/86) Installing zstd-libs (1.5.5-r0) 11:40:55 (85/86) Installing kmod-libs (30-r1) 11:40:55 (86/86) Installing eudev (3.2.11-r4) 11:40:55 Executing busybox-1.35.0-r29.trigger 11:40:55 Executing eudev-3.2.11-r4.trigger 11:40:55 OK: 112 MiB in 101 packages 11:40:55 ---> Running in 770d555eba92 11:40:55 Removing intermediate container 770d555eba92 11:40:55 ---> a5600fb31429 11:40:55 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:40:55 ---> Running in a30b4d9a37c7 11:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:40:57 (1/14) Installing libintl (0.21.1-r1) 11:40:57 (2/14) Installing eudev-libs (3.2.11-r4) 11:40:57 (3/14) Installing libjpeg-turbo (2.1.4-r0) 11:40:57 (4/14) Installing v4l-utils-libs (1.22.1-r2) 11:40:57 (5/14) Installing v4l-utils (1.22.1-r2) 11:40:57 (6/14) Installing udev-init-scripts (35-r1) 11:40:57 (7/14) Installing libblkid (2.38.1-r1) 11:40:57 (8/14) Installing xz-libs (5.2.9-r0) 11:40:57 (9/14) Installing zstd-libs (1.5.5-r0) 11:40:57 (10/14) Installing kmod-libs (30-r1) 11:40:58 (11/14) Installing eudev (3.2.11-r4) 11:40:58 (12/14) Installing eudev-dev (3.2.11-r4) 11:40:58 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 11:40:58 (14/14) Installing v4l-utils-dev (1.22.1-r2) 11:40:58 Executing busybox-1.35.0-r29.trigger 11:40:58 Executing eudev-3.2.11-r4.trigger 11:40:58 OK: 271 MiB in 67 packages 11:40:59 Removing intermediate container a30b4d9a37c7 11:40:59 ---> 992c8e97423c 11:40:59 Step 8/13 : WORKDIR /device-usb-camera 11:40:59 Removing intermediate container 0e5617803c48 11:40:59 ---> 5f31c72bfc25 11:40:59 Step 18/36 : WORKDIR / 11:40:59 ---> Running in d44ef9bac0c6 11:40:59 Removing intermediate container d44ef9bac0c6 11:40:59 ---> 717e80c6772b 11:40:59 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 11:40:59 ---> Running in 9ba6bb662db1 11:40:59 Removing intermediate container 9ba6bb662db1 11:40:59 ---> 6ec6c77f6c63 11:40:59 Step 9/13 : COPY go.mod vendor* ./ 11:40:59 ---> 8f0ef3e2c9f7 11:40:59 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:00 ---> 51aa2efb7ba1 11:41:00 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 11:41:00 ---> 80190a452dc5 11:41:00 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 11:41:00 ---> 961951ea592d 11:41:00 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 11:41:00 ---> Running in 816958c609a7 11:41:00 ---> 815b8b8212ae 11:41:00 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 11:41:00 ---> b6bd94723db5 11:41:00 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 11:41:00 ---> 128c3ca080c8 11:41:00 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 11:41:01 ---> 1b54eabaad31 11:41:01 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 11:41:01 ---> Running in 1e32f273cef1 11:41:02 Removing intermediate container 1e32f273cef1 11:41:02 ---> 04588c8355b7 11:41:02 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 11:41:02 ---> Running in ea499f506d7c 11:41:03 Removing intermediate container ea499f506d7c 11:41:03 ---> 376985d53a39 11:41:03 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 11:41:03 ---> Running in 34e531734416 11:41:04 Removing intermediate container 34e531734416 11:41:04 ---> b1b0891278d7 11:41:04 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 11:41:04 ---> Running in 917efecdb3ea 11:41:05 Removing intermediate container 917efecdb3ea 11:41:05 ---> 380d49bb6f6d 11:41:05 Step 30/36 : EXPOSE 59983 11:41:05 ---> Running in 2bbf5b0918b3 11:41:05 Removing intermediate container 2bbf5b0918b3 11:41:05 ---> 52f65669a008 11:41:05 Step 31/36 : EXPOSE 8554 11:41:06 ---> Running in 1628821e3e74 11:41:06 Removing intermediate container 1628821e3e74 11:41:06 ---> ef34fcf0128b 11:41:06 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 11:41:06 ---> Running in 328aa50e4aaf 11:41:06 Removing intermediate container 328aa50e4aaf 11:41:06 ---> 8e1f1287075f 11:41:06 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 11:41:06 ---> Running in f866df88f3b3 11:41:06 Removing intermediate container f866df88f3b3 11:41:06 ---> 82923a6abb2e 11:41:06 Step 34/36 : LABEL arch=amd64 11:41:07 ---> Running in 33e603ea039b 11:41:07 Removing intermediate container 33e603ea039b 11:41:07 ---> 3db007d87a33 11:41:07 Step 35/36 : LABEL git_sha=560a9e1cd9e564b5955a2ae2220e5059c3c1269b 11:41:07 ---> Running in 2e68318f4c0f 11:41:07 Removing intermediate container 2e68318f4c0f 11:41:07 ---> 1b504b2d66b1 11:41:07 Step 36/36 : LABEL version=0.0.0 11:41:07 ---> Running in 57f6f73ea3b1 11:41:07 Removing intermediate container 57f6f73ea3b1 11:41:07 ---> 1e4e3ad71ac0 11:41:07 [Warning] One or more build-args [ARCH] were not consumed 11:41:07 Successfully built 1e4e3ad71ac0 11:41:07 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 11:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:08 11:41:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:08 latest: Pulling from edgex-lftools-log-publisher 11:41:08 5eb5b503b376: Pulling fs layer 11:41:08 5c69ac0246d0: Pulling fs layer 11:41:08 ec43610c2a17: Pulling fs layer 11:41:08 3a2ae6a8a46f: Pulling fs layer 11:41:08 33b1e0a273af: Pulling fs layer 11:41:08 5d3b04190fa2: Pulling fs layer 11:41:08 2f39f015ded8: Pulling fs layer 11:41:08 5d3b04190fa2: Waiting 11:41:08 2f39f015ded8: Waiting 11:41:08 33b1e0a273af: Waiting 11:41:08 3a2ae6a8a46f: Waiting 11:41:08 5c69ac0246d0: Verifying Checksum 11:41:08 5c69ac0246d0: Download complete 11:41:08 3a2ae6a8a46f: Verifying Checksum 11:41:08 3a2ae6a8a46f: Download complete 11:41:09 33b1e0a273af: Verifying Checksum 11:41:09 33b1e0a273af: Download complete 11:41:09 5d3b04190fa2: Verifying Checksum 11:41:09 5d3b04190fa2: Download complete 11:41:09 ec43610c2a17: Verifying Checksum 11:41:09 ec43610c2a17: Download complete 11:41:09 5eb5b503b376: Download complete 11:41:09 2f39f015ded8: Download complete 11:41:10 5eb5b503b376: Pull complete 11:41:10 5c69ac0246d0: Pull complete 11:41:11 ec43610c2a17: Pull complete 11:41:11 3a2ae6a8a46f: Pull complete 11:41:11 33b1e0a273af: Pull complete 11:41:11 5d3b04190fa2: Pull complete 11:41:16 2f39f015ded8: Pull complete 11:41:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:41:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:16 prd-ubuntu20.04-docker-8c-8g-4680 does not seem to be running inside a container 11:41:16 $ 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-276 -v /w/workspace/foundry_device-usb-camera_PR-276:/w/workspace/foundry_device-usb-camera_PR-276:rw,z -v /w/workspace/foundry_device-usb-camera_PR-276@tmp:/w/workspace/foundry_device-usb-camera_PR-276@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 11:41:23 $ docker top 56c73e04c3cb5813ab255a1882f03d591fb191359dbcc50b7735834962edf10c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:24 ---> job-cost.sh 11:41:24 lf-activate-venv: SKIPPING 11:41:24 INFO: No Stack... 11:41:24 INFO: Retrieving Pricing Info for: v3-standard-8 11:41:25 INFO: Archiving Costs [Pipeline] sh 11:41:25 + cat /w/workspace/foundry_device-usb-camera_PR-276/archives/cost.csv 11:41:25 + cut -d, -f6 [Pipeline] lock 11:41:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] 11:41:25 Resource [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] did not exist. Created. 11:41:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:41:25 + echo total: 0.2199999988079071 [Pipeline] stash 11:41:25 Stashed 1 file(s) [Pipeline] } 11:41:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:41:26 $ docker stop --time=1 56c73e04c3cb5813ab255a1882f03d591fb191359dbcc50b7735834962edf10c 11:41:27 $ docker rm -f --volumes 56c73e04c3cb5813ab255a1882f03d591fb191359dbcc50b7735834962edf10c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:42:08 Removing intermediate container 816958c609a7 11:42:08 ---> e1c8d7fea055 11:42:08 Step 11/13 : COPY . . 11:42:08 ---> 8aa6ae27adb3 11:42:08 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 11:42:08 ---> Running in aeae112d21e8 11:42:08  % Total % Received % Xferd Average Speed Time Time Time Current 11:42:08  Dload Upload Total Spent Left Speed 11:42:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5342 0 --:--:-- --:--:-- --:--:-- 5377 11:42:08 Removing intermediate container aeae112d21e8 11:42:08 ---> f10544dd944f 11:42:08 Step 13/13 : RUN ${MAKE} 11:42:08 ---> Running in 0d101e5c66d8 11:42:08 noop 11:42:08 Removing intermediate container 0d101e5c66d8 11:42:08 ---> 8d7fe814f766 11:42:08 Successfully built 8d7fe814f766 11:42:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:08 + docker inspect -f . ci-base-image-arm64 11:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:08 prd-ubuntu20.04-docker-arm64-4c-16g-4681 does not seem to be running inside a container 11:42:08 $ 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 ******** ci-base-image-arm64 cat 11:42:10 $ docker top 642b869b8eeccb21a296f8133e3b095d6055d051e0c9783de8016f6951ecb784 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:10 + go version 11:42:10 go version go1.20.6 linux/arm64 [Pipeline] } 11:42:10 $ docker stop --time=1 642b869b8eeccb21a296f8133e3b095d6055d051e0c9783de8016f6951ecb784 11:42:12 $ docker rm -f --volumes 642b869b8eeccb21a296f8133e3b095d6055d051e0c9783de8016f6951ecb784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:13 + docker inspect -f . ci-base-image-arm64 11:42:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:13 prd-ubuntu20.04-docker-arm64-4c-16g-4681 does not seem to be running inside a container 11:42:13 $ 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 ******** ci-base-image-arm64 cat 11:42:14 $ docker top 283028e57ca4db251b8ebf5dd310257255ca8b528fc40fedf142801bc548c186 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:15 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 11:42:15 + make test 11:42:15 go test ./... -coverprofile=coverage.out ./... 11:42:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 11:44:54 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 11:44:55 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.094s coverage: 4.4% of statements 11:44:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:44:56 go vet ./... 11:45:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:45:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:45:22 ./bin/test-attribution-txt.sh [Pipeline] echo 11:45:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:45:23 $ docker stop --time=1 283028e57ca4db251b8ebf5dd310257255ca8b528fc40fedf142801bc548c186 11:45:24 $ docker rm -f --volumes 283028e57ca4db251b8ebf5dd310257255ca8b528fc40fedf142801bc548c186 [Pipeline] // withDockerContainer [Pipeline] sh 11:45:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:45:26 Warning: overwriting stash ‘coverage-report’ 11:45:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:45:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:45:27 + ls -al . 11:45:27 total 216 11:45:27 drwxrwxr-x 9 jenkins jenkins 4096 Aug 27 11:42 . 11:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:39 .. 11:45:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 11:40 .git 11:45:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 .github 11:45:27 -rw-rw-r-- 1 jenkins jenkins 414 Aug 27 11:40 .gitignore 11:45:27 -rw-rw-r-- 1 jenkins jenkins 45 Aug 27 11:40 .golangci.yml 11:45:27 -rw-rw-r-- 1 jenkins jenkins 77 Aug 27 11:40 .hadolint.yml 11:45:27 -rw-rw-r-- 1 jenkins jenkins 10851 Aug 27 11:40 Attribution.txt 11:45:27 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 27 11:40 CHANGELOG.md 11:45:27 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 27 11:40 Dockerfile 11:45:27 -rw-rw-r-- 1 jenkins jenkins 678 Aug 27 11:40 GOVERNANCE.md 11:45:27 -rw-rw-r-- 1 jenkins jenkins 659 Aug 27 11:40 Jenkinsfile 11:45:27 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 27 11:40 LICENSE 11:45:27 -rw-rw-r-- 1 jenkins jenkins 2490 Aug 27 11:40 Makefile 11:45:27 -rw-rw-r-- 1 jenkins jenkins 622 Aug 27 11:40 OWNERS.md 11:45:27 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 27 11:40 README.md 11:45:27 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 11:38 VERSION 11:45:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:40 bin 11:45:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 cmd 11:45:27 -rw-r--r-- 1 jenkins jenkins 53857 Aug 27 11:44 coverage.out 11:45:27 -rwxrwxr-x 1 jenkins jenkins 140 Aug 27 11:40 docker-entrypoint.sh 11:45:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:40 docs 11:45:27 -rw-rw-r-- 1 jenkins jenkins 3951 Aug 27 11:40 go.mod 11:45:27 -rw-rw-r-- 1 jenkins jenkins 34252 Aug 27 11:40 go.sum 11:45:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 internal 11:45:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:40 snap 11:45:27 -rw-rw-r-- 1 jenkins jenkins 231 Aug 27 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:27 + 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=b32e0de166ef07144d8b851e45802f1a26ce80fc --label arch=arm64 --label version=0.0.0 . 11:45:28 Sending build context to Docker daemon 1.348MB 11:45:28 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 11:45:28 Step 2/36 : FROM ${BASE} AS builder 11:45:28 ---> 8d7fe814f766 11:45:28 Step 3/36 : ARG ADD_BUILD_TAGS="" 11:45:28 ---> Running in b70034d134f9 11:45:29 Removing intermediate container b70034d134f9 11:45:29 ---> d8646498d3ed 11:45:29 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:45:29 ---> Running in 1d07917b8681 11:45:29 Removing intermediate container 1d07917b8681 11:45:29 ---> e11cfbd216a3 11:45:29 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 11:45:29 ---> Running in ce4261ed1e02 11:45:29 Removing intermediate container ce4261ed1e02 11:45:29 ---> b073dd82cef8 11:45:29 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 11:45:29 ---> Running in 9173313a712a 11:45:30 Removing intermediate container 9173313a712a 11:45:30 ---> 86b7c07c804d 11:45:30 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:45:30 ---> Running in 25259ac367d5 11:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:45:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:45:33 OK: 271 MiB in 67 packages 11:45:33 Removing intermediate container 25259ac367d5 11:45:33 ---> aaff0306d9f1 11:45:33 Step 8/36 : WORKDIR /device-usb-camera 11:45:33 ---> Running in b92f97f8ea0f 11:45:33 Removing intermediate container b92f97f8ea0f 11:45:33 ---> e87518120efb 11:45:33 Step 9/36 : COPY go.mod vendor* ./ 11:45:34 ---> d86e84e053c9 11:45:34 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:45:34 ---> Running in 608926f0d708 11:45:37 Removing intermediate container 608926f0d708 11:45:37 ---> 5aa64f2d6868 11:45:37 Step 11/36 : COPY . . 11:45:37 ---> a6d1bb8a34f4 11:45:37 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 11:45:37 ---> Running in 178664bf3336 11:45:38  % Total % Received % Xferd Average Speed Time Time Time Current 11:45:38 Dload Upload Total Spent Left Speed 11:45:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4083 0 --:--:-- --:--:-- --:--:-- 4094 11:45:39 Removing intermediate container 178664bf3336 11:45:39 ---> 36a91521bfd7 11:45:39 Step 13/36 : RUN ${MAKE} 11:45:39 ---> Running in ddf0282cdb26 11:45:40 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 11:48:17 Removing intermediate container ddf0282cdb26 11:48:17 ---> eebd860c8f3d 11:48:17 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 11:48:17 v0.21.6: Pulling from aler9/rtsp-simple-server 11:48:17 8766b47fe142: Pulling fs layer 11:48:17 8766b47fe142: Verifying Checksum 11:48:17 8766b47fe142: Pull complete 11:48:17 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 11:48:17 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 11:48:17 ---> 69d40e2cb93c 11:48:17 Step 15/36 : FROM alpine:3.17 11:48:17 3.17: Pulling from library/alpine 11:48:17 4060ece20d7a: Pulling fs layer 11:48:17 4060ece20d7a: Verifying Checksum 11:48:17 4060ece20d7a: Download complete 11:48:17 4060ece20d7a: Pull complete 11:48:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:48:17 Status: Downloaded newer image for alpine:3.17 11:48:17 ---> 8650cd65339b 11:48:17 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 11:48:17 ---> Running in 33d0a540cb95 11:48:17 Removing intermediate container 33d0a540cb95 11:48:17 ---> 2578a8edd573 11:48:17 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 11:48:17 ---> Running in 2320d329d9c4 11:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:48:17 (1/83) Installing dumb-init (1.2.5-r2) 11:48:17 (2/83) Installing sdl2 (2.26.5-r0) 11:48:17 (3/83) Installing libxau (1.0.10-r0) 11:48:17 (4/83) Installing libmd (1.0.4-r0) 11:48:17 (5/83) Installing libbsd (0.11.7-r0) 11:48:17 (6/83) Installing libxdmcp (1.1.4-r0) 11:48:17 (7/83) Installing libxcb (1.15-r0) 11:48:17 (8/83) Installing libx11 (1.8.4-r1) 11:48:17 (9/83) Installing aom-libs (3.5.0-r0) 11:48:17 (10/83) Installing alsa-lib (1.2.8-r0) 11:48:17 (11/83) Installing libexpat (2.5.0-r0) 11:48:17 (12/83) Installing brotli-libs (1.0.9-r9) 11:48:17 (13/83) Installing libbz2 (1.0.8-r4) 11:48:17 (14/83) Installing libpng (1.6.39-r0) 11:48:17 (15/83) Installing freetype (2.12.1-r0) 11:48:17 (16/83) Installing fontconfig (2.14.1-r0) 11:48:17 (17/83) Installing fribidi (1.0.12-r0) 11:48:17 (18/83) Installing libffi (3.4.4-r0) 11:48:17 (19/83) Installing libintl (0.21.1-r1) 11:48:17 (20/83) Installing libblkid (2.38.1-r1) 11:48:17 (21/83) Installing libmount (2.38.1-r1) 11:48:17 (22/83) Installing pcre2 (10.42-r0) 11:48:17 (23/83) Installing glib (2.74.7-r0) 11:48:17 (24/83) Installing graphite2 (1.3.14-r2) 11:48:17 (25/83) Installing harfbuzz (5.3.1-r1) 11:48:17 (26/83) Installing libass (0.16.0-r1) 11:48:17 (27/83) Installing libdav1d (1.0.0-r2) 11:48:17 (28/83) Installing libdrm (2.4.114-r0) 11:48:17 (29/83) Installing gmp (6.2.1-r2) 11:48:17 (30/83) Installing nettle (3.8.1-r0) 11:48:17 (31/83) Installing p11-kit (0.24.1-r1) 11:48:17 (32/83) Installing libtasn1 (4.19.0-r0) 11:48:17 (33/83) Installing libunistring (1.1-r0) 11:48:17 (34/83) Installing gnutls (3.7.8-r3) 11:48:17 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 11:48:17 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 11:48:17 (37/83) Installing lame (3.100-r2) 11:48:17 (38/83) Installing opus (1.3.1-r1) 11:48:17 (39/83) Installing libasyncns (0.8-r1) 11:48:17 (40/83) Installing dbus-libs (1.14.8-r0) 11:48:17 (41/83) Installing libltdl (2.4.7-r1) 11:48:17 (42/83) Installing orc (0.4.33-r0) 11:48:17 (43/83) Installing libgcc (12.2.1_git20220924-r4) 11:48:17 (44/83) Installing libogg (1.3.5-r2) 11:48:17 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 11:48:17 (46/83) Installing flac-libs (1.4.2-r0) 11:48:17 (47/83) Installing libvorbis (1.3.7-r0) 11:48:17 (48/83) Installing libsndfile (1.1.0-r2) 11:48:17 (49/83) Installing libgomp (12.2.1_git20220924-r4) 11:48:17 (50/83) Installing soxr (0.1.3-r3) 11:48:17 (51/83) Installing speexdsp (1.2.1-r0) 11:48:17 (52/83) Installing tdb-libs (1.4.6-r0) 11:48:17 (53/83) Installing libpulse (16.1-r6) 11:48:17 (54/83) Installing cjson (1.7.15-r3) 11:48:17 (55/83) Installing mbedtls (2.28.4-r0) 11:48:17 (56/83) Installing librist (0.2.7-r0) 11:48:17 (57/83) Installing libsrt (1.5.1-r0) 11:48:17 (58/83) Installing libssh (0.10.5-r0) 11:48:17 (59/83) Installing libtheora (1.1.1-r16) 11:48:17 (60/83) Installing libjpeg-turbo (2.1.4-r0) 11:48:17 (61/83) Installing v4l-utils-libs (1.22.1-r2) 11:48:17 (62/83) Installing libxext (1.3.5-r0) 11:48:17 (63/83) Installing libxfixes (6.0.0-r0) 11:48:17 (64/83) Installing wayland-libs-client (1.21.0-r1) 11:48:17 (65/83) Installing libva (2.16.0-r0) 11:48:17 (66/83) Installing libvdpau (1.5-r0) 11:48:17 (67/83) Installing vidstab (1.1.0-r2) 11:48:17 (68/83) Installing libvpx (1.12.0-r1) 11:48:17 (69/83) Installing libwebp (1.2.4-r2) 11:48:17 (70/83) Installing x264-libs (0.164_git20220602-r0) 11:48:17 (71/83) Installing numactl (2.0.16-r1) 11:48:17 (72/83) Installing x265-libs (3.5-r3) 11:48:17 (73/83) Installing xvidcore (1.3.7-r1) 11:48:17 (74/83) Installing libsodium (1.0.18-r2) 11:48:17 (75/83) Installing libzmq (4.3.4-r1) 11:48:17 (76/83) Installing ffmpeg-libs (5.1.3-r0) 11:48:17 (77/83) Installing ffmpeg (5.1.3-r0) 11:48:17 (78/83) Installing udev-init-scripts (35-r1) 11:48:17 (79/83) Installing eudev-libs (3.2.11-r4) 11:48:17 (80/83) Installing xz-libs (5.2.9-r0) 11:48:17 (81/83) Installing zstd-libs (1.5.5-r0) 11:48:17 (82/83) Installing kmod-libs (30-r1) 11:48:17 (83/83) Installing eudev (3.2.11-r4) 11:48:17 Executing busybox-1.35.0-r29.trigger 11:48:17 Executing eudev-3.2.11-r4.trigger 11:48:17 OK: 86 MiB in 98 packages 11:48:18 Removing intermediate container 2320d329d9c4 11:48:18 ---> a5c4a699a08d 11:48:18 Step 18/36 : WORKDIR / 11:48:18 ---> Running in ee98ad5b907a 11:48:18 Removing intermediate container ee98ad5b907a 11:48:18 ---> cf361db5176f 11:48:18 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 11:48:20 ---> d0ebd3d9a3c9 11:48:20 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 11:48:20 ---> 4e44f3c49f89 11:48:20 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 11:48:23 ---> 8150cc5b2ce9 11:48:23 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 11:48:23 ---> 2a318ab37da6 11:48:23 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 11:48:23 ---> 4a808a5b661d 11:48:23 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 11:48:24 ---> 5d042a31463e 11:48:24 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 11:48:25 ---> f98a2b745031 11:48:25 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 11:48:25 ---> Running in 4b1b90d93708 11:48:27 Removing intermediate container 4b1b90d93708 11:48:27 ---> 6cc834fece88 11:48:27 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 11:48:27 ---> Running in 2cbf8601ed2a 11:48:28 Removing intermediate container 2cbf8601ed2a 11:48:28 ---> 16660e85bef5 11:48:28 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 11:48:28 ---> Running in 5632f2dbee33 11:48:30 Removing intermediate container 5632f2dbee33 11:48:30 ---> b4c4ea539abc 11:48:30 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 11:48:30 ---> Running in d3b33efd009f 11:48:32 Removing intermediate container d3b33efd009f 11:48:32 ---> f4293d8d4f67 11:48:32 Step 30/36 : EXPOSE 59983 11:48:32 ---> Running in 7af370b3bdeb 11:48:32 Removing intermediate container 7af370b3bdeb 11:48:32 ---> 7e7c8fbe24f4 11:48:32 Step 31/36 : EXPOSE 8554 11:48:32 ---> Running in 1f4631dfb7e3 11:48:32 Removing intermediate container 1f4631dfb7e3 11:48:32 ---> 83ebb370a6ee 11:48:32 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 11:48:32 ---> Running in 0b0afdaa8042 11:48:33 Removing intermediate container 0b0afdaa8042 11:48:33 ---> 9884366def98 11:48:33 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 11:48:33 ---> Running in b71067162520 11:48:33 Removing intermediate container b71067162520 11:48:33 ---> 370e33d74edd 11:48:33 Step 34/36 : LABEL arch=arm64 11:48:33 ---> Running in b34428e15d6f 11:48:33 Removing intermediate container b34428e15d6f 11:48:33 ---> db29b6cb396d 11:48:33 Step 35/36 : LABEL git_sha=b32e0de166ef07144d8b851e45802f1a26ce80fc 11:48:33 ---> Running in d9dbaa6ac6c2 11:48:33 Removing intermediate container d9dbaa6ac6c2 11:48:33 ---> cfee13884912 11:48:33 Step 36/36 : LABEL version=0.0.0 11:48:34 ---> Running in b441607c9229 11:48:34 Removing intermediate container b441607c9229 11:48:34 ---> 6aa7142eb5ac 11:48:34 [Warning] One or more build-args [ARCH] were not consumed 11:48:34 Successfully built 6aa7142eb5ac 11:48:34 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 11:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:35 11:48:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:35 arm64: Pulling from edgex-lftools-log-publisher 11:48:35 8998bd30e6a1: Pulling fs layer 11:48:35 04944245beec: Pulling fs layer 11:48:35 699f458cf7ca: Pulling fs layer 11:48:35 765212b225bb: Pulling fs layer 11:48:35 f23df028b6ca: Pulling fs layer 11:48:35 d65c8cfc05b1: Pulling fs layer 11:48:35 2437ff75d9bd: Pulling fs layer 11:48:35 765212b225bb: Waiting 11:48:35 f23df028b6ca: Waiting 11:48:35 d65c8cfc05b1: Waiting 11:48:35 2437ff75d9bd: Waiting 11:48:36 04944245beec: Verifying Checksum 11:48:36 04944245beec: Download complete 11:48:36 765212b225bb: Verifying Checksum 11:48:36 765212b225bb: Download complete 11:48:36 f23df028b6ca: Verifying Checksum 11:48:36 f23df028b6ca: Download complete 11:48:36 d65c8cfc05b1: Verifying Checksum 11:48:36 d65c8cfc05b1: Download complete 11:48:36 699f458cf7ca: Verifying Checksum 11:48:36 699f458cf7ca: Download complete 11:48:36 8998bd30e6a1: Download complete 11:48:38 2437ff75d9bd: Verifying Checksum 11:48:38 2437ff75d9bd: Download complete 11:48:40 8998bd30e6a1: Pull complete 11:48:41 04944245beec: Pull complete 11:48:42 699f458cf7ca: Pull complete 11:48:42 765212b225bb: Pull complete 11:48:43 f23df028b6ca: Pull complete 11:48:43 d65c8cfc05b1: Pull complete 11:48:58 2437ff75d9bd: Pull complete 11:48:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:48:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:48:58 prd-ubuntu20.04-docker-arm64-4c-16g-4681 does not seem to be running inside a container 11:48:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:49:01 $ docker top 3520980d4112acf931b1b6e66de13a01170b80f129d9d80225d4042b1b23314e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:49:01 ---> job-cost.sh 11:49:01 lf-activate-venv: SKIPPING 11:49:01 INFO: No Stack... 11:49:02 INFO: Retrieving Pricing Info for: v3-standard-4 11:49:03 INFO: Archiving Costs [Pipeline] sh 11:49:03 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 11:49:03 + cut -d, -f6 [Pipeline] lock 11:49:03 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] 11:49:03 Resource [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] did not exist. Created. 11:49:03 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:49:04 /w/workspace/device-usb-camera/1@tmp/durable-5098c4b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:49:05 + echo total: 0.10999999940395355 [Pipeline] stash 11:49:05 Warning: overwriting stash ‘stack-cost’ 11:49:05 Stashed 1 file(s) [Pipeline] } 11:49:05 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:49:05 $ docker stop --time=1 3520980d4112acf931b1b6e66de13a01170b80f129d9d80225d4042b1b23314e 11:49:06 $ docker rm -f --volumes 3520980d4112acf931b1b6e66de13a01170b80f129d9d80225d4042b1b23314e [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 11:49:07 provisioning config files... 11:49:07 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-276@tmp/config10613868294163810413tmp [Pipeline] { [Pipeline] sh 11:49:07 + set +x 11:49:07 + curl -s https://codecov.io/bash 11:49:07 + bash -s -- 11:49:08 11:49:08 _____ _ 11:49:08 / ____| | | 11:49:08 | | ___ __| | ___ ___ _____ __ 11:49:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:49:08 | |___| (_) | (_| | __/ (_| (_) \ V / 11:49:08 \_____\___/ \__,_|\___|\___\___/ \_/ 11:49:08 Bash-1.0.6 11:49:08 11:49:08 11:49:08 ==> git version 2.25.1 found 11:49:08 ==> 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 11:49:08 Release-Date: 2020-01-08 11:49:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:49:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:49:08 ==> Jenkins CI detected. 11:49:08 current dir:  /w/workspace/foundry_device-usb-camera_PR-276 11:49:08 project root: . 11:49:08 --> token set from env 11:49:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:49:08 ==> Running gcov in . (disable via -X gcov) 11:49:08 ==> Python coveragepy not found 11:49:08 ==> Searching for coverage reports in: 11:49:08 + . 11:49:08 -> Found 1 reports 11:49:08 ==> Detecting git/mercurial file structure 11:49:08 ==> Reading reports 11:49:08 + ./coverage.out bytes=53857 11:49:08 ==> Appending adjustments 11:49:08 https://docs.codecov.io/docs/fixing-reports 11:49:08 + Found adjustments 11:49:08 ==> Gzipping contents 11:49:08 8.0K /tmp/codecov.P9yLIh.gz 11:49:08 ==> Uploading reports 11:49:08 url: https://codecov.io 11:49:08 query: branch=PR-276&commit=560a9e1cd9e564b5955a2ae2220e5059c3c1269b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 11:49:08 -> Pinging Codecov 11:49:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-276&commit=560a9e1cd9e564b5955a2ae2220e5059c3c1269b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=276&job=&cmd_args= 11:49:08 -> Uploading to 11:49:08 https://storage.googleapis.com/codecov/v4/raw/2023-08-27/73D8F5FF140700D3E01443B452E23636/560a9e1cd9e564b5955a2ae2220e5059c3c1269b/9e0201d9-6f30-4018-bb9b-b9825458b7f5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230827%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230827T114908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91f91ac776f3d7e8814b72a0cb3a575f6c331ad9f72eb244757d844e5bfd8686 11:49:08 % Total % Received % Xferd Average Speed Time Time Time Current 11:49:08 Dload Upload Total Spent Left Speed 11:49:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6868 0 0 100 6868 0 36338 --:--:-- --:--:-- --:--:-- 36338 11:49:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/560a9e1cd9e564b5955a2ae2220e5059c3c1269b [Pipeline] } 11:49:08 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 11:49:10 + [ -d /w/workspace/foundry_device-usb-camera_PR-276/archives ] 11:49:10 + ls -al /w/workspace/foundry_device-usb-camera_PR-276/archives 11:49:10 total 16 11:49:10 drwxr-xr-x 3 root root 4096 Aug 27 11:41 . 11:49:10 drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 11:41 .. 11:49:10 drwxr-xr-x 2 root root 4096 Aug 27 11:41 cost 11:49:10 -rw-r--r-- 1 root root 89 Aug 27 11:41 cost.csv 11:49:10 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-276/archives 11:49:10 + ls -al /w/workspace/foundry_device-usb-camera_PR-276/archives 11:49:10 total 16 11:49:10 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 11:41 . 11:49:10 drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 11:41 .. 11:49:10 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 11:41 cost 11:49:10 -rw-r--r-- 1 jenkins jenkins 89 Aug 27 11:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:49:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:49:11 ---> package-listing.sh 11:49:11 ++ facter osfamily 11:49:11 ++ tr '[:upper:]' '[:lower:]' 11:49:11 + OS_FAMILY=debian 11:49:11 + workspace=/w/workspace/foundry_device-usb-camera_PR-276 11:49:11 + START_PACKAGES=/tmp/packages_start.txt 11:49:11 + END_PACKAGES=/tmp/packages_end.txt 11:49:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:49:11 + PACKAGES=/tmp/packages_start.txt 11:49:11 + '[' /w/workspace/foundry_device-usb-camera_PR-276 ']' 11:49:11 + PACKAGES=/tmp/packages_end.txt 11:49:11 + case "${OS_FAMILY}" in 11:49:11 + dpkg -l 11:49:11 + grep '^ii' 11:49:11 + '[' -f /tmp/packages_start.txt ']' 11:49:11 + '[' -f /tmp/packages_end.txt ']' 11:49:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:49:11 + '[' /w/workspace/foundry_device-usb-camera_PR-276 ']' 11:49:11 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-276/archives/ 11:49:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-276/archives/ [Pipeline] echo 11:49:12 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-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:49:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:49:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:49:13 prd-ubuntu20.04-docker-8c-8g-4680 does not seem to be running inside a container 11:49:13 $ 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-276/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-276 -v /w/workspace/foundry_device-usb-camera_PR-276:/w/workspace/foundry_device-usb-camera_PR-276:rw,z -v /w/workspace/foundry_device-usb-camera_PR-276@tmp:/w/workspace/foundry_device-usb-camera_PR-276@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 11:49:13 $ docker top 366c7763d1f06cfafbf3d2522b24eaff414749d6fc438cc8d36a97aaeb0efbba -eo pid,comm [Pipeline] { [Pipeline] sh 11:49:13 + touch /tmp/pre-build-complete [Pipeline] sh 11:49:13 + mkdir -p /var/log/sysstat [Pipeline] sh 11:49:14 + ls /var/log/sa-host 11:49:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:49:14 provisioning config files... 11:49:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-276@tmp/config7662333224558785783tmp [Pipeline] { [Pipeline] echo 11:49:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:49:14 ---> create-netrc.sh [Pipeline] } 11:49:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:49:15 ---> python-tools-install.sh [Pipeline] echo 11:49:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:49:15 ---> sudo-logs.sh 11:49:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:49:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:49:16 ---> job-cost.sh 11:49:16 lf-activate-venv: SKIPPING 11:49:16 DEBUG: total: 0.2199999988079071 11:49:16 INFO: Retrieving Stack Cost... 11:49:16 INFO: Retrieving Pricing Info for: v3-standard-8 11:49:16 INFO: Archiving Costs [Pipeline] echo 11:49:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:49:17 ---> logs-deploy.sh 11:49:17 lf-activate-venv: SKIPPING 11:49:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-276/1 11:49:17 INFO: archiving workspace using pattern(s): 11:49:18 Archives upload complete. 11:49:18 INFO: archiving logs to Nexus 11:49:19 ---> uname -a: 11:49:19 Linux prd-ubuntu20-04-docker-8c-8g-4680 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:49:19 11:49:19