Pull request #28 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 5e2c71cde042aab28cd2ab9db121249fb6cc1202+a193e592b38d26fd25d0e1783a09c429068bfbdb (e115a104cce587200b60941ccaf617293e378684) 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-ssh16472249608930872011.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh1242860670691543809.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-28/workspace@libs/edgex-global-pipelines # 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-28/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6156022276868252418.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-28/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4865928565498425914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh17835004629575904196.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-28/workspace@libs/lf-pipelines # 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-28/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13994716974873203146.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [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-64182 in /w/workspace/xfoundry_device-usb-camera_PR-28 [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/xfoundry_device-usb-camera_PR-28 # 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/28/head:refs/remotes/origin/PR-28 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 5e2c71cde042aab28cd2ab9db121249fb6cc1202 Merge succeeded, producing f31cde7b52137751517fc0beea68e4bf30894eb2 Checking out Revision f31cde7b52137751517fc0beea68e4bf30894eb2 (PR-28) > git config core.sparsecheckout # timeout=10 > git checkout -f 5e2c71cde042aab28cd2ab9db121249fb6cc1202 # 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 a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f31cde7b52137751517fc0beea68e4bf30894eb2 # timeout=10 Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:21:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:21:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:21:28 ========================================================= 10:21:28 EdgeX Global Pipelines Version Info 10:21:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:21:29 ------------------- 10:21:29 stable info: 10:21:29 ------------------- 10:21:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:21:29 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:21:29 Message: update stable to v1.0.230 10:21:29 ------------------- 10:21:29 experimental info: 10:21:29 ------------------- 10:21:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:21:29 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 10:21:29 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:21:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-28 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-28 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-28 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f31cde7b52137751517fc0beea68e4bf30894eb2 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f31cde7 [Pipeline] echo 10:21:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:31 provisioning config files... 10:21:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/config3688821332190479589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:31 ---> docker-login.sh 10:21:31 nexus3.edgexfoundry.org:10001 10:21:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:31 Configure a credential helper to remove this warning. See 10:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:31 10:21:31 Login Succeeded 10:21:32 nexus3.edgexfoundry.org:10002 10:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:32 Configure a credential helper to remove this warning. See 10:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:32 10:21:32 Login Succeeded 10:21:32 nexus3.edgexfoundry.org:10003 10:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:32 Configure a credential helper to remove this warning. See 10:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:32 10:21:32 Login Succeeded 10:21:32 nexus3.edgexfoundry.org:10004 10:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:32 Configure a credential helper to remove this warning. See 10:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:32 10:21:32 Login Succeeded 10:21:32 docker.io 10:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:32 Configure a credential helper to remove this warning. See 10:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:32 10:21:32 Login Succeeded 10:21:32 ---> docker-login.sh ends [Pipeline] } 10:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:21:33 + git rev-list -1 --merges f31cde7b52137751517fc0beea68e4bf30894eb2~1..f31cde7b52137751517fc0beea68e4bf30894eb2 [Pipeline] echo 10:21:33 -----------> git rev-list -1 --merges f31cde7b52137751517fc0beea68e4bf30894eb2~1..f31cde7b52137751517fc0beea68e4bf30894eb2 f31cde7b52137751517fc0beea68e4bf30894eb2 10:21:33 f31cde7b52137751517fc0beea68e4bf30894eb2 [false] [Pipeline] sh 10:21:33 + git log --format=format:%s -1 f31cde7b52137751517fc0beea68e4bf30894eb2 [Pipeline] echo 10:21:33 ========================================================= 10:21:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:21:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:21:34 + git log --format=format:%s -1 f31cde7b52137751517fc0beea68e4bf30894eb2 [Pipeline] echo 10:21:34 [semverPrep] GIT_COMMIT: f31cde7b52137751517fc0beea68e4bf30894eb2, Commit Message: Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD [Pipeline] echo 10:21:34 [semverPrep] This is not a build commit. [Pipeline] sh 10:21:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:21:34 + grep -v github /etc/ssh/ssh_known_hosts 10:21:34 + [ -e /tmp/ssh_known_hosts ] 10:21:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:21:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:21:34 + sudo tee -a /etc/ssh/ssh_known_hosts 10:21:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:21:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:21:35 10:21:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:21:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:21:35 latest: Pulling from edgex-devops/py-git-semver 10:21:35 1fe172e4850f: Pulling fs layer 10:21:35 caf521ccaac6: Pulling fs layer 10:21:35 3ead6fa29328: Pulling fs layer 10:21:35 5c2a1cbceb83: Pulling fs layer 10:21:35 a8d5f1318db7: Pulling fs layer 10:21:35 c427282e49a2: Pulling fs layer 10:21:35 1827001aaf11: Pulling fs layer 10:21:35 0714d37db230: Pulling fs layer 10:21:35 ac28cf19c067: Pulling fs layer 10:21:35 ca983d60f3e2: Pulling fs layer 10:21:35 9f894cec8388: Pulling fs layer 10:21:35 1827001aaf11: Waiting 10:21:35 0714d37db230: Waiting 10:21:35 ac28cf19c067: Waiting 10:21:35 ca983d60f3e2: Waiting 10:21:35 9f894cec8388: Waiting 10:21:35 5c2a1cbceb83: Waiting 10:21:35 c427282e49a2: Waiting 10:21:35 a8d5f1318db7: Waiting 10:21:35 caf521ccaac6: Download complete 10:21:35 5c2a1cbceb83: Download complete 10:21:35 a8d5f1318db7: Verifying Checksum 10:21:35 a8d5f1318db7: Download complete 10:21:35 3ead6fa29328: Verifying Checksum 10:21:35 3ead6fa29328: Download complete 10:21:35 c427282e49a2: Verifying Checksum 10:21:35 c427282e49a2: Download complete 10:21:35 0714d37db230: Download complete 10:21:35 ac28cf19c067: Verifying Checksum 10:21:35 ac28cf19c067: Download complete 10:21:35 ca983d60f3e2: Verifying Checksum 10:21:35 ca983d60f3e2: Download complete 10:21:35 9f894cec8388: Download complete 10:21:35 1fe172e4850f: Verifying Checksum 10:21:35 1fe172e4850f: Download complete 10:21:35 1827001aaf11: Verifying Checksum 10:21:35 1827001aaf11: Download complete 10:21:36 1fe172e4850f: Pull complete 10:21:37 caf521ccaac6: Pull complete 10:21:37 3ead6fa29328: Pull complete 10:21:37 5c2a1cbceb83: Pull complete 10:21:37 a8d5f1318db7: Pull complete 10:21:37 c427282e49a2: Pull complete 10:21:39 1827001aaf11: Pull complete 10:21:39 0714d37db230: Pull complete 10:21:39 ac28cf19c067: Pull complete 10:21:40 ca983d60f3e2: Pull complete 10:21:40 9f894cec8388: Pull complete 10:21:40 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:21:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:21:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:21:40 prd-ubuntu20.04-docker-8c-8g-64182 does not seem to be running inside a container 10:21:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-28 -v /w/workspace/xfoundry_device-usb-camera_PR-28:/w/workspace/xfoundry_device-usb-camera_PR-28:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-28@tmp:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:21:41 $ docker top d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e -eo pid,comm 10:21:41 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). 10:21:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:42 [ssh-agent] Looking for ssh-agent implementation... 10:21:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:42 $ docker exec d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e ssh-agent 10:21:42 SSH_AUTH_SOCK=/tmp/ssh-ahNWzbECZXmm/agent.33 10:21:42 SSH_AGENT_PID=39 10:21:42 Running ssh-add (command line suppressed) 10:21:42 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-28@tmp/private_key_5715123432750758687.key (/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/private_key_5715123432750758687.key) 10:21:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:42 + git tag --points-at HEAD [Pipeline] } 10:21:42 $ docker exec --env ******** --env ******** d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e ssh-agent -k 10:21:42 unset SSH_AUTH_SOCK; 10:21:42 unset SSH_AGENT_PID; 10:21:42 echo Agent pid 39 killed; 10:21:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:21:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:21:42 [ssh-agent] Looking for ssh-agent implementation... 10:21:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:21:43 $ docker exec d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e ssh-agent 10:21:43 SSH_AUTH_SOCK=/tmp/ssh-XzlWWxINjUzs/agent.73 10:21:43 SSH_AGENT_PID=80 10:21:43 Running ssh-add (command line suppressed) 10:21:43 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-28@tmp/private_key_4392820732570661070.key (/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/private_key_4392820732570661070.key) 10:21:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:21:43 + git semver init 10:21:43 2022-05-20 10:21:43,884 [run_init] DEBUG init version:0.0.0 force:False 10:21:43 2022-05-20 10:21:43,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-28/.semver 10:21:43 2022-05-20 10:21:43,885 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-28/.semver 10:21:43 2022-05-20 10:21:43,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-28/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-28, universal_newlines=False, shell=None, istream=None) 10:21:44 2022-05-20 10:21:44,415 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-28/.git/info/exclude 10:21:44 2022-05-20 10:21:44,415 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-28/.semver/PR-28 with force:False 10:21:44 2022-05-20 10:21:44,415 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-28/.semver/PR-28 10:21:44 2022-05-20 10:21:44,419 [execute] INFO git cat-file --batch-check 10:21:44 2022-05-20 10:21:44,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-28/.semver, universal_newlines=False, shell=None, istream=) 10:21:44 2022-05-20 10:21:44,426 [execute] INFO git cat-file --batch 10:21:44 2022-05-20 10:21:44,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-28/.semver, universal_newlines=False, shell=None, istream=) 10:21:44 2022-05-20 10:21:44,430 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-28/.semver/PR-28 10:21:44 0.0.0 [Pipeline] } 10:21:44 $ docker exec --env ******** --env ******** d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e ssh-agent -k 10:21:44 unset SSH_AUTH_SOCK; 10:21:44 unset SSH_AGENT_PID; 10:21:44 echo Agent pid 80 killed; 10:21:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:21:45 + git semver [Pipeline] } 10:21:45 $ docker stop --time=1 d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e 10:21:46 $ docker rm -f d69937f9fd3b4e7e875ff5aa25d7d031c5f158eb862b86ee71447a392b9a382e [Pipeline] // withDockerContainer [Pipeline] sh 10:21:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:21:47 Stashed 1 file(s) [Pipeline] echo 10:21:47 [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 10:21:48 provisioning config files... 10:21:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/config5028784835851092384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:48 ---> docker-login.sh 10:21:48 nexus3.edgexfoundry.org:10001 10:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:48 Configure a credential helper to remove this warning. See 10:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:48 10:21:48 Login Succeeded 10:21:48 nexus3.edgexfoundry.org:10002 10:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:48 Configure a credential helper to remove this warning. See 10:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:48 10:21:48 Login Succeeded 10:21:48 nexus3.edgexfoundry.org:10003 10:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:48 Configure a credential helper to remove this warning. See 10:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:48 10:21:48 Login Succeeded 10:21:48 nexus3.edgexfoundry.org:10004 10:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:48 Configure a credential helper to remove this warning. See 10:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:48 10:21:48 Login Succeeded 10:21:48 docker.io 10:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:49 Configure a credential helper to remove this warning. See 10:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:49 10:21:49 Login Succeeded 10:21:49 ---> docker-login.sh ends [Pipeline] } 10:21:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:21:49 ========================================================= 10:21:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:21:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:21:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:21:49 Sending build context to Docker daemon 588.3kB 10:21:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:21:49 Step 2/12 : FROM ${BASE} AS builder 10:21:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:21:49 59bf1c3509f3: Pulling fs layer 10:21:49 666ba61612fd: Pulling fs layer 10:21:49 8ed8ca486205: Pulling fs layer 10:21:49 4fe6c5a15a65: Pulling fs layer 10:21:49 22a0e8bec74d: Pulling fs layer 10:21:49 ca2b28591e48: Pulling fs layer 10:21:49 a51346096db8: Pulling fs layer 10:21:49 daebc70d1ce1: Pulling fs layer 10:21:49 0e18a0eac166: Pulling fs layer 10:21:49 ca2b28591e48: Waiting 10:21:49 a51346096db8: Waiting 10:21:49 daebc70d1ce1: Waiting 10:21:49 0e18a0eac166: Waiting 10:21:49 4fe6c5a15a65: Waiting 10:21:49 22a0e8bec74d: Waiting 10:21:49 8ed8ca486205: Verifying Checksum 10:21:49 8ed8ca486205: Download complete 10:21:49 666ba61612fd: Verifying Checksum 10:21:49 666ba61612fd: Download complete 10:21:49 22a0e8bec74d: Download complete 10:21:50 ca2b28591e48: Verifying Checksum 10:21:50 ca2b28591e48: Download complete 10:21:50 59bf1c3509f3: Verifying Checksum 10:21:50 59bf1c3509f3: Download complete 10:21:50 a51346096db8: Verifying Checksum 10:21:50 a51346096db8: Download complete 10:21:50 daebc70d1ce1: Verifying Checksum 10:21:50 daebc70d1ce1: Download complete 10:21:50 59bf1c3509f3: Pull complete 10:21:50 666ba61612fd: Pull complete 10:21:50 8ed8ca486205: Pull complete 10:21:50 0e18a0eac166: Verifying Checksum 10:21:50 0e18a0eac166: Download complete 10:21:50 4fe6c5a15a65: Verifying Checksum 10:21:50 4fe6c5a15a65: Download complete 10:21:55 4fe6c5a15a65: Pull complete 10:21:55 22a0e8bec74d: Pull complete 10:21:55 ca2b28591e48: Pull complete 10:21:55 a51346096db8: Pull complete 10:21:55 daebc70d1ce1: Pull complete 10:21:57 0e18a0eac166: Pull complete 10:21:57 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:21:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:21:57 ---> f018257e8ee9 10:21:57 Step 3/12 : ARG MAKE="make build" 10:21:59 ---> Running in 8ba98b81e215 10:21:59 Removing intermediate container 8ba98b81e215 10:21:59 ---> 77b7c8b71f95 10:21:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:21:59 ---> Running in 649da04dd3e4 10:21:59 Removing intermediate container 649da04dd3e4 10:21:59 ---> 307b3b2091eb 10:21:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:21:59 ---> Running in 4d5f5c3441ad 10:21:59 Removing intermediate container 4d5f5c3441ad 10:21:59 ---> 3618fc95ed4c 10:21:59 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:21:59 ---> Running in f8d52162e303 10:22:00 Removing intermediate container f8d52162e303 10:22:00 ---> 544064258325 10:22:00 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:00 ---> Running in 42480deed8a9 10:22:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:22:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:22:01 (1/81) Installing mesa (21.2.6-r0) 10:22:01 (2/81) Installing libxau (1.0.9-r0) 10:22:01 (3/81) Installing libmd (1.0.3-r0) 10:22:01 (4/81) Installing libbsd (0.11.3-r1) 10:22:02 (5/81) Installing libxdmcp (1.1.3-r0) 10:22:02 (6/81) Installing libxcb (1.14-r2) 10:22:02 (7/81) Installing libx11 (1.7.2-r0) 10:22:02 (8/81) Installing libxext (1.3.4-r0) 10:22:02 (9/81) Installing libxfixes (6.0.0-r0) 10:22:02 (10/81) Installing libxxf86vm (1.1.4-r2) 10:22:02 (11/81) Installing libpciaccess (0.16-r0) 10:22:02 (12/81) Installing libdrm (2.4.109-r0) 10:22:02 Still waiting to schedule task 10:22:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:22:02 (13/81) Installing mesa-glapi (21.2.6-r0) 10:22:02 (14/81) Installing libxshmfence (1.3-r1) 10:22:02 (15/81) Installing mesa-gl (21.2.6-r0) 10:22:03 (16/81) Installing libice (1.0.10-r0) 10:22:03 (17/81) Installing libuuid (2.37.4-r0) 10:22:03 (18/81) Installing libsm (1.2.3-r0) 10:22:03 (19/81) Installing libxt (1.2.1-r0) 10:22:03 (20/81) Installing libxmu (1.1.3-r0) 10:22:03 (21/81) Installing xset (1.2.4-r0) 10:22:03 (22/81) Installing xprop (1.2.5-r0) 10:22:03 (23/81) Installing xdg-utils (1.1.3-r0) 10:22:03 (24/81) Installing dbus-libs (1.12.20-r4) 10:22:03 (25/81) Installing libffi (3.4.2-r1) 10:22:03 (26/81) Installing libintl (0.21-r0) 10:22:03 (27/81) Installing libblkid (2.37.4-r0) 10:22:04 (28/81) Installing libmount (2.37.4-r0) 10:22:04 (29/81) Installing pcre (8.45-r1) 10:22:04 (30/81) Installing glib (2.70.1-r0) 10:22:04 (31/81) Installing icu-libs (69.1-r1) 10:22:05 (32/81) Installing libpcre2-16 (10.39-r0) 10:22:05 (33/81) Installing zstd-libs (1.5.0-r0) 10:22:05 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 10:22:05 (35/81) Installing hicolor-icon-theme (0.17-r1) 10:22:05 (36/81) Installing wayland-libs-server (1.19.0-r1) 10:22:05 (37/81) Installing mesa-gbm (21.2.6-r0) 10:22:05 (38/81) Installing wayland-libs-client (1.19.0-r1) 10:22:06 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 10:22:06 (40/81) Installing libxcomposite (0.4.5-r0) 10:22:06 (41/81) Installing libbz2 (1.0.8-r1) 10:22:06 (42/81) Installing libpng (1.6.37-r1) 10:22:06 (43/81) Installing freetype (2.11.1-r2) 10:22:06 (44/81) Installing fontconfig (2.13.1-r4) 10:22:06 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 10:22:07 (46/81) Installing wayland-libs-egl (1.19.0-r1) 10:22:07 (47/81) Installing xkeyboard-config (2.34-r0) 10:22:07 (48/81) Installing xz-libs (5.2.5-r1) 10:22:07 (49/81) Installing libxml2 (2.9.14-r0) 10:22:07 (50/81) Installing libxkbcommon (1.3.1-r0) 10:22:07 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 10:22:07 (52/81) Installing mesa-egl (21.2.6-r0) 10:22:07 (53/81) Installing avahi-libs (0.8-r5) 10:22:07 (54/81) Installing nettle (3.7.3-r0) 10:22:07 (55/81) Installing p11-kit (0.24.0-r1) 10:22:07 (56/81) Installing libtasn1 (4.18.0-r0) 10:22:08 (57/81) Installing libunistring (0.9.10-r1) 10:22:08 (58/81) Installing gnutls (3.7.1-r0) 10:22:08 (59/81) Installing cups-libs (2.3.3-r5) 10:22:08 (60/81) Installing graphite2 (1.3.14-r0) 10:22:08 (61/81) Installing harfbuzz (3.0.0-r2) 10:22:08 (62/81) Installing libevdev (1.12.0-r0) 10:22:08 (63/81) Installing mtdev (1.1.6-r0) 10:22:08 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 10:22:08 (65/81) Installing libinput-libs (1.19.4-r0) 10:22:08 (66/81) Installing libjpeg-turbo (2.1.2-r0) 10:22:08 (67/81) Installing xcb-util-wm (0.4.1-r1) 10:22:09 (68/81) Installing xcb-util (0.4.0-r3) 10:22:09 (69/81) Installing xcb-util-image (0.4.0-r1) 10:22:09 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 10:22:09 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 10:22:09 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 10:22:09 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 10:22:09 (74/81) Installing v4l-utils-libs (1.22.1-r1) 10:22:09 (75/81) Installing v4l-utils (1.22.1-r1) 10:22:10 (76/81) Installing udev-init-scripts (35-r0) 10:22:10 Executing udev-init-scripts-35-r0.post-install 10:22:10 (77/81) Installing kmod-libs (29-r2) 10:22:10 (78/81) Installing eudev (3.2.11_pre1-r0) 10:22:10 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 10:22:10 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 10:22:10 (81/81) Installing v4l-utils-dev (1.22.1-r1) 10:22:10 Executing busybox-1.34.1-r3.trigger 10:22:10 Executing eudev-3.2.11_pre1-r0.trigger 10:22:10 OK: 335 MiB in 133 packages 10:22:13 Removing intermediate container 42480deed8a9 10:22:13 ---> 44dd022025ce 10:22:13 Step 8/12 : WORKDIR /device-usb-camera 10:22:13 ---> Running in 390fca2aef73 10:22:13 Removing intermediate container 390fca2aef73 10:22:13 ---> 87ffdb22b180 10:22:13 Step 9/12 : COPY go.mod vendor* ./ 10:22:13 ---> d4080c3f4a39 10:22:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:13 ---> Running in 8b814bdddcdc 10:22:31 Removing intermediate container 8b814bdddcdc 10:22:31 ---> 0a277386a468 10:22:31 Step 11/12 : COPY . . 10:22:31 ---> faada2aa5942 10:22:31 Step 12/12 : RUN ${MAKE} 10:22:31 ---> Running in fa3c357725a8 10:22:31 noop 10:22:32 Removing intermediate container fa3c357725a8 10:22:32 ---> 5c81626068a4 10:22:32 Successfully built 5c81626068a4 10:22:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:22:32 + docker inspect -f . ci-base-image-x86_64 10:22:32 . [Pipeline] withDockerContainer 10:22:32 prd-ubuntu20.04-docker-8c-8g-64182 does not seem to be running inside a container 10:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-28 -v /w/workspace/xfoundry_device-usb-camera_PR-28:/w/workspace/xfoundry_device-usb-camera_PR-28:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-28@tmp:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:33 $ docker top ace296d1809ff3b31aa638c6f25d0b091836ea0613f996e9c80c27b4caa8ef2b -eo pid,comm [Pipeline] { [Pipeline] sh 10:22:33 + go version 10:22:33 go version go1.17.6 linux/amd64 [Pipeline] } 10:22:33 $ docker stop --time=1 ace296d1809ff3b31aa638c6f25d0b091836ea0613f996e9c80c27b4caa8ef2b 10:22:35 $ docker rm -f ace296d1809ff3b31aa638c6f25d0b091836ea0613f996e9c80c27b4caa8ef2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:22:35 + docker inspect -f . ci-base-image-x86_64 10:22:35 . [Pipeline] withDockerContainer 10:22:35 prd-ubuntu20.04-docker-8c-8g-64182 does not seem to be running inside a container 10:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-28 -v /w/workspace/xfoundry_device-usb-camera_PR-28:/w/workspace/xfoundry_device-usb-camera_PR-28:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-28@tmp:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:22:36 $ docker top b1d2cddb66e11252fb65e6c0904f6ee1cba7f0352d40c7e76187cfb8d3232bc9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:22:36 + make test 10:22:36 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 10:22:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:22:47 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:22:47 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 10:22:52 CGO_ENABLED=1 go vet ./... 10:22:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:22:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:22:56 ./bin/test-attribution-txt.sh [Pipeline] echo 10:22:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:22:56 $ docker stop --time=1 b1d2cddb66e11252fb65e6c0904f6ee1cba7f0352d40c7e76187cfb8d3232bc9 10:22:58 $ docker rm -f b1d2cddb66e11252fb65e6c0904f6ee1cba7f0352d40c7e76187cfb8d3232bc9 [Pipeline] // withDockerContainer [Pipeline] sh 10:22:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:22:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:23:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:00 + ls -al . 10:23:00 total 164 10:23:00 drwxrwxr-x 9 jenkins jenkins 4096 May 20 10:22 . 10:23:00 drwxrwxr-x 4 jenkins jenkins 4096 May 20 10:21 .. 10:23:00 drwxrwxr-x 8 jenkins jenkins 4096 May 20 10:21 .git 10:23:00 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:21 .github 10:23:00 -rw-rw-r-- 1 jenkins jenkins 349 May 20 10:21 .gitignore 10:23:00 -rw-rw-r-- 1 jenkins jenkins 42 May 20 10:21 .golangci.yml 10:23:00 -rw-rw-r-- 1 jenkins jenkins 77 May 20 10:21 .hadolint.yml 10:23:00 drwxr-xr-x 3 jenkins jenkins 4096 May 20 10:21 .semver 10:23:00 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 10:21 Attribution.txt 10:23:00 -rw-rw-r-- 1 jenkins jenkins 181 May 20 10:21 CHANGELOG.md 10:23:00 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 10:21 Dockerfile 10:23:00 -rw-rw-r-- 1 jenkins jenkins 678 May 20 10:21 GOVERNANCE.md 10:23:00 -rw-rw-r-- 1 jenkins jenkins 659 May 20 10:21 Jenkinsfile 10:23:00 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 10:21 LICENSE 10:23:00 -rw-rw-r-- 1 jenkins jenkins 2030 May 20 10:21 Makefile 10:23:00 -rw-rw-r-- 1 jenkins jenkins 622 May 20 10:21 OWNERS.md 10:23:00 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 10:21 README.md 10:23:00 -rw-rw-r-- 1 jenkins jenkins 5 May 20 10:21 VERSION 10:23:00 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:21 bin 10:23:00 drwxrwxr-x 3 jenkins jenkins 4096 May 20 10:21 cmd 10:23:00 -rw-r--r-- 1 jenkins jenkins 10 May 20 10:22 coverage.out 10:23:00 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:21 docker-compose 10:23:00 -rw-rw-r-- 1 jenkins jenkins 140 May 20 10:21 docker-entrypoint.sh 10:23:00 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 10:21 go.mod 10:23:00 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 10:21 go.sum 10:23:00 drwxrwxr-x 3 jenkins jenkins 4096 May 20 10:21 internal 10:23:00 -rw-rw-r-- 1 jenkins jenkins 231 May 20 10:21 version.go [Pipeline] isUnix [Pipeline] sh 10:23:00 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=f31cde7b52137751517fc0beea68e4bf30894eb2 --label arch=amd64 --label version=0.0.0 . 10:23:00 Sending build context to Docker daemon 589.3kB 10:23:00 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 10:23:00 Step 2/29 : FROM ${BASE} AS builder 10:23:00 ---> 5c81626068a4 10:23:00 Step 3/29 : ARG MAKE="make build" 10:23:00 ---> Running in 77ea6bc5c736 10:23:01 Removing intermediate container 77ea6bc5c736 10:23:01 ---> 3b9766658e13 10:23:01 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:23:01 ---> Running in 803c2e4c6d6b 10:23:01 Removing intermediate container 803c2e4c6d6b 10:23:01 ---> a0132967ce40 10:23:01 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:23:01 ---> Running in 3781da0071f2 10:23:01 Removing intermediate container 3781da0071f2 10:23:01 ---> 10c0457014af 10:23:01 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:01 ---> Running in 716fb53fd915 10:23:01 Removing intermediate container 716fb53fd915 10:23:01 ---> 7b654d88e254 10:23:01 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:23:01 ---> Running in c86dbe834010 10:23:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:03 OK: 335 MiB in 133 packages 10:23:03 Removing intermediate container c86dbe834010 10:23:03 ---> d6c49947ed4b 10:23:03 Step 8/29 : WORKDIR /device-usb-camera 10:23:03 ---> Running in a853afeb9d4d 10:23:03 Removing intermediate container a853afeb9d4d 10:23:03 ---> c8e122d39a05 10:23:03 Step 9/29 : COPY go.mod vendor* ./ 10:23:04 ---> ab5d5e320a21 10:23:04 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:04 ---> Running in a8ccc6d85b00 10:23:04 Removing intermediate container a8ccc6d85b00 10:23:04 ---> e90bc133b42b 10:23:04 Step 11/29 : COPY . . 10:23:04 ---> de0cb52ab771 10:23:04 Step 12/29 : RUN ${MAKE} 10:23:04 ---> Running in ee91668de59e 10:23:05 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 10:23:27 Removing intermediate container ee91668de59e 10:23:27 ---> 1e0906f14f35 10:23:27 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 10:23:27 v0.18.4: Pulling from aler9/rtsp-simple-server 10:23:27 af6660deedbd: Pulling fs layer 10:23:27 97cd0a44c592: Pulling fs layer 10:23:27 97cd0a44c592: Verifying Checksum 10:23:27 97cd0a44c592: Download complete 10:23:27 af6660deedbd: Verifying Checksum 10:23:27 af6660deedbd: Download complete 10:23:27 af6660deedbd: Pull complete 10:23:27 97cd0a44c592: Pull complete 10:23:27 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 10:23:27 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 10:23:27 ---> fea57e182299 10:23:27 Step 14/29 : FROM alpine:3.15 10:23:27 3.15: Pulling from library/alpine 10:23:28 df9b9388f04a: Pulling fs layer 10:23:28 df9b9388f04a: Verifying Checksum 10:23:28 df9b9388f04a: Download complete 10:23:28 df9b9388f04a: Pull complete 10:23:28 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:23:28 Status: Downloaded newer image for alpine:3.15 10:23:28 ---> 0ac33e5f5afa 10:23:28 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:23:28 ---> Running in 94e13c330072 10:23:28 Removing intermediate container 94e13c330072 10:23:28 ---> af6a85679e6e 10:23:28 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 10:23:28 ---> Running in 7bd3178a147d 10:23:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:23:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:23:29 (1/74) Installing dumb-init (1.2.5-r1) 10:23:29 (2/74) Installing sdl2 (2.0.16-r4) 10:23:29 (3/74) Installing libxau (1.0.9-r0) 10:23:29 (4/74) Installing libmd (1.0.3-r0) 10:23:29 (5/74) Installing libbsd (0.11.3-r1) 10:23:29 (6/74) Installing libxdmcp (1.1.3-r0) 10:23:29 (7/74) Installing libxcb (1.14-r2) 10:23:29 (8/74) Installing libx11 (1.7.2-r0) 10:23:29 (9/74) Installing aom-libs (3.2.0-r0) 10:23:29 (10/74) Installing alsa-lib (1.2.5.1-r1) 10:23:29 (11/74) Installing expat (2.4.7-r0) 10:23:29 (12/74) Installing brotli-libs (1.0.9-r5) 10:23:29 (13/74) Installing libbz2 (1.0.8-r1) 10:23:29 (14/74) Installing libpng (1.6.37-r1) 10:23:29 (15/74) Installing freetype (2.11.1-r2) 10:23:29 (16/74) Installing libuuid (2.37.4-r0) 10:23:29 (17/74) Installing fontconfig (2.13.1-r4) 10:23:29 (18/74) Installing fribidi (1.0.11-r0) 10:23:29 (19/74) Installing libffi (3.4.2-r1) 10:23:29 (20/74) Installing libintl (0.21-r0) 10:23:29 (21/74) Installing libblkid (2.37.4-r0) 10:23:29 (22/74) Installing libmount (2.37.4-r0) 10:23:29 (23/74) Installing pcre (8.45-r1) 10:23:29 (24/74) Installing glib (2.70.1-r0) 10:23:29 (25/74) Installing graphite2 (1.3.14-r0) 10:23:29 (26/74) Installing harfbuzz (3.0.0-r2) 10:23:29 (27/74) Installing libass (0.15.2-r0) 10:23:29 (28/74) Installing libdav1d (0.9.2-r0) 10:23:29 (29/74) Installing gmp (6.2.1-r1) 10:23:29 (30/74) Installing nettle (3.7.3-r0) 10:23:29 (31/74) Installing p11-kit (0.24.0-r1) 10:23:29 (32/74) Installing libtasn1 (4.18.0-r0) 10:23:29 (33/74) Installing libunistring (0.9.10-r1) 10:23:29 (34/74) Installing gnutls (3.7.1-r0) 10:23:29 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 10:23:29 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 10:23:29 (37/74) Installing lame (3.100-r0) 10:23:29 (38/74) Installing opus (1.3.1-r1) 10:23:29 (39/74) Installing libgomp (10.3.1_git20211027-r0) 10:23:29 (40/74) Installing soxr (0.1.3-r2) 10:23:29 (41/74) Installing libgcc (10.3.1_git20211027-r0) 10:23:29 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 10:23:29 (43/74) Installing libsrt (1.4.2-r1) 10:23:29 (44/74) Installing libssh (0.9.6-r1) 10:23:29 (45/74) Installing libogg (1.3.5-r0) 10:23:29 (46/74) Installing libtheora (1.1.1-r16) 10:23:29 (47/74) Installing libjpeg-turbo (2.1.2-r0) 10:23:29 (48/74) Installing v4l-utils-libs (1.22.1-r1) 10:23:29 (49/74) Installing libxext (1.3.4-r0) 10:23:29 (50/74) Installing libxfixes (6.0.0-r0) 10:23:29 (51/74) Installing libpciaccess (0.16-r0) 10:23:29 (52/74) Installing libdrm (2.4.109-r0) 10:23:29 (53/74) Installing wayland-libs-client (1.19.0-r1) 10:23:29 (54/74) Installing libva (2.13.0-r0) 10:23:29 (55/74) Installing libvdpau (1.4-r0) 10:23:29 (56/74) Installing vidstab (1.1.0-r1) 10:23:29 (57/74) Installing libvorbis (1.3.7-r0) 10:23:29 (58/74) Installing libvpx (1.10.0-r0) 10:23:29 (59/74) Installing vulkan-loader (1.2.196-r0) 10:23:29 (60/74) Installing libwebp (1.2.2-r0) 10:23:29 (61/74) Installing x264-libs (20210613-r0) 10:23:29 (62/74) Installing x265-libs (3.5-r0) 10:23:29 (63/74) Installing xvidcore (1.3.7-r1) 10:23:29 (64/74) Installing ffmpeg-libs (4.4.1-r2) 10:23:30 (65/74) Installing ffmpeg (4.4.1-r2) 10:23:30 (66/74) Installing udev-init-scripts (35-r0) 10:23:30 Executing udev-init-scripts-35-r0.post-install 10:23:30 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 10:23:30 (68/74) Installing xz-libs (5.2.5-r1) 10:23:30 (69/74) Installing zstd-libs (1.5.0-r0) 10:23:30 (70/74) Installing kmod-libs (29-r2) 10:23:30 (71/74) Installing eudev (3.2.11_pre1-r0) 10:23:30 (72/74) Installing libsodium (1.0.18-r0) 10:23:30 (73/74) Installing libzmq (4.3.4-r0) 10:23:30 (74/74) Installing zeromq (4.3.4-r0) 10:23:30 Executing busybox-1.34.1-r5.trigger 10:23:30 Executing eudev-3.2.11_pre1-r0.trigger 10:23:30 OK: 78 MiB in 88 packages 10:23:32 Removing intermediate container 7bd3178a147d 10:23:32 ---> 51e2f77453f3 10:23:32 Step 17/29 : WORKDIR / 10:23:32 ---> Running in 84b380a9d58c 10:23:32 Removing intermediate container 84b380a9d58c 10:23:32 ---> 2ac003948c2b 10:23:32 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 10:23:33 ---> 827e7a24ea7e 10:23:33 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 10:23:33 ---> 46e85a872d36 10:23:33 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:23:33 ---> bb4210205f6f 10:23:33 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:23:33 ---> f2b532313947 10:23:33 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 10:23:33 ---> d6497d7ce3aa 10:23:33 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 10:23:34 ---> bdfb8921645b 10:23:34 Step 24/29 : EXPOSE 59983 10:23:34 ---> Running in 2aee0452176c 10:23:34 Removing intermediate container 2aee0452176c 10:23:34 ---> 9c540dae08ed 10:23:34 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:23:34 ---> Running in efe23fa780d9 10:23:34 Removing intermediate container efe23fa780d9 10:23:34 ---> e2d288ab0534 10:23:34 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 10:23:34 ---> Running in 3ff9606a545c 10:23:34 Removing intermediate container 3ff9606a545c 10:23:34 ---> 2b4f509c8ad4 10:23:34 Step 27/29 : LABEL arch=amd64 10:23:34 ---> Running in b26567816f7f 10:23:34 Removing intermediate container b26567816f7f 10:23:34 ---> a0fe889f6dc8 10:23:34 Step 28/29 : LABEL git_sha=f31cde7b52137751517fc0beea68e4bf30894eb2 10:23:34 ---> Running in fb4ee633d1ea 10:23:35 Removing intermediate container fb4ee633d1ea 10:23:35 ---> 2eb4397ee14f 10:23:35 Step 29/29 : LABEL version=0.0.0 10:23:35 ---> Running in fddd304a19c0 10:23:35 Removing intermediate container fddd304a19c0 10:23:35 ---> f01fa8d975fb 10:23:35 [Warning] One or more build-args [ARCH] were not consumed 10:23:35 Successfully built f01fa8d975fb 10:23:35 Successfully tagged device-usb-camera:latest [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] sh 10:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:35 10:23:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:23:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:36 latest: Pulling from edgex-lftools-log-publisher 10:23:36 5eb5b503b376: Pulling fs layer 10:23:36 5c69ac0246d0: Pulling fs layer 10:23:36 ec43610c2a17: Pulling fs layer 10:23:36 3a2ae6a8a46f: Pulling fs layer 10:23:36 33b1e0a273af: Pulling fs layer 10:23:36 5d3b04190fa2: Pulling fs layer 10:23:36 2f39f015ded8: Pulling fs layer 10:23:36 3a2ae6a8a46f: Waiting 10:23:36 33b1e0a273af: Waiting 10:23:36 5d3b04190fa2: Waiting 10:23:36 2f39f015ded8: Waiting 10:23:36 5c69ac0246d0: Verifying Checksum 10:23:36 5c69ac0246d0: Download complete 10:23:36 3a2ae6a8a46f: Verifying Checksum 10:23:36 3a2ae6a8a46f: Download complete 10:23:36 33b1e0a273af: Verifying Checksum 10:23:36 33b1e0a273af: Download complete 10:23:36 ec43610c2a17: Verifying Checksum 10:23:36 ec43610c2a17: Download complete 10:23:36 5d3b04190fa2: Verifying Checksum 10:23:36 5d3b04190fa2: Download complete 10:23:36 5eb5b503b376: Verifying Checksum 10:23:36 5eb5b503b376: Download complete 10:23:37 2f39f015ded8: Download complete 10:23:37 5eb5b503b376: Pull complete 10:23:37 5c69ac0246d0: Pull complete 10:23:38 ec43610c2a17: Pull complete 10:23:38 3a2ae6a8a46f: Pull complete 10:23:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64183 in /w/workspace/xfoundry_device-usb-camera_PR-28 [Pipeline] { [Pipeline] ws 10:23:38 33b1e0a273af: Pull complete 10:23:38 5d3b04190fa2: Pull complete 10:23:38 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 10:23:39 Selected Git installation does not exist. Using Default 10:23:39 The recommended git tool is: NONE 10:23:43 2f39f015ded8: Pull complete 10:23:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:23:43 prd-ubuntu20.04-docker-8c-8g-64182 does not seem to be running inside a container 10:23:43 $ 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/xfoundry_device-usb-camera_PR-28 -v /w/workspace/xfoundry_device-usb-camera_PR-28:/w/workspace/xfoundry_device-usb-camera_PR-28:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-28@tmp:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:23:45 $ docker top ce60f7a7d7c4109e0e1bbb89b2312a6376ec492915148e799da5cbd3b44e4458 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:45 using credential edgex-jenkins-ssh 10:23:45 Cloning the remote Git repository 10:23:45 ---> job-cost.sh 10:23:45 lf-activate-venv: SKIPPING 10:23:45 INFO: No Stack... 10:23:46 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:46 INFO: Archiving Costs [Pipeline] sh 10:23:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 10:23:45 > git init /w/workspace/device-usb-camera/1 # timeout=10 10:23:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:23:45 > git --version # timeout=10 10:23:46 > git --version # 'git version 2.25.1' 10:23:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:23:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:23:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 10:23:46 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 10:23:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/28/head:refs/remotes/origin/PR-28 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:23:46 + + cat /w/workspace/xfoundry_device-usb-camera_PR-28/archives/cost.csv 10:23:46 cut -d, -f6 [Pipeline] lock 10:23:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] 10:23:46 Resource [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] did not exist. Created. 10:23:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:47 Merging remotes/origin/main commit a193e592b38d26fd25d0e1783a09c429068bfbdb into PR head commit 5e2c71cde042aab28cd2ab9db121249fb6cc1202 10:23:47 + echo total: 0.2199999988079071 [Pipeline] stash 10:23:47 Stashed 1 file(s) [Pipeline] } 10:23:47 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:47 $ docker stop --time=1 ce60f7a7d7c4109e0e1bbb89b2312a6376ec492915148e799da5cbd3b44e4458 10:23:47 Merge succeeded, producing 39a906fb34d7d480687fd6a9f744d957e2d5fa50 10:23:47 Checking out Revision 39a906fb34d7d480687fd6a9f744d957e2d5fa50 (PR-28) 10:23:47 > git config core.sparsecheckout # timeout=10 10:23:47 > git checkout -f 5e2c71cde042aab28cd2ab9db121249fb6cc1202 # timeout=10 10:23:47 > git remote # timeout=10 10:23:47 > git config --get remote.origin.url # timeout=10 10:23:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:23:47 > git merge a193e592b38d26fd25d0e1783a09c429068bfbdb # timeout=10 10:23:47 > git rev-parse HEAD^{commit} # timeout=10 10:23:47 > git config core.sparsecheckout # timeout=10 10:23:47 > git checkout -f 39a906fb34d7d480687fd6a9f744d957e2d5fa50 # timeout=10 10:23:48 $ docker rm -f ce60f7a7d7c4109e0e1bbb89b2312a6376ec492915148e799da5cbd3b44e4458 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:23:51 Commit message: "Merge commit 'a193e592b38d26fd25d0e1783a09c429068bfbdb' into HEAD" 10:23:51 First time build. Skipping changelog. 10:23:51 > git --version # timeout=10 10:23:51 > git --version # 'git version 2.25.1' 10:23:51 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:23:52 % Total % Received % Xferd Average Speed Time Time Time Current 10:23:52 Dload Upload Total Spent Left Speed 10:23:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50012 0 --:--:-- --:--:-- --:--:-- 50217 [Pipeline] sh 10:23:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:23:53 + + sudo teesudo /etc/docker/daemon.new jq 10:23:53 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:23:53 { 10:23:53 "registry-mirrors": [ 10:23:53 "https://nexus3.edgexfoundry.org:10001" 10:23:53 ], 10:23:53 "bip": "10.250.0.254/24", 10:23:53 "hosts": [ 10:23:53 "tcp://0.0.0.0:5555", 10:23:53 "unix:///var/run/docker.sock" 10:23:53 ], 10:23:53 "mtu": 1458, 10:23:53 "selinux-enabled": true, 10:23:53 "seccomp-profile": "/etc/docker/seccomp.json" 10:23:53 } [Pipeline] sh 10:23:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:23:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:24:12 provisioning config files... 10:24:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6917898644982336313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:24:13 ---> docker-login.sh 10:24:13 nexus3.edgexfoundry.org:10001 10:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:14 Configure a credential helper to remove this warning. See 10:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:14 10:24:14 Login Succeeded 10:24:14 nexus3.edgexfoundry.org:10002 10:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:14 Configure a credential helper to remove this warning. See 10:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:14 10:24:14 Login Succeeded 10:24:14 nexus3.edgexfoundry.org:10003 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 nexus3.edgexfoundry.org:10004 10:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:15 Configure a credential helper to remove this warning. See 10:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:15 10:24:15 Login Succeeded 10:24:15 docker.io 10:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:24:16 Configure a credential helper to remove this warning. See 10:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:24:16 10:24:16 Login Succeeded 10:24:16 ---> docker-login.sh ends [Pipeline] } 10:24:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:24:17 ========================================================= 10:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:24:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:24:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:24:18 Sending build context to Docker daemon 399.9kB 10:24:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:24:18 Step 2/12 : FROM ${BASE} AS builder 10:24:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:24:18 9b3977197b4f: Pulling fs layer 10:24:18 1a89e8eeedd5: Pulling fs layer 10:24:18 94645a83ff95: Pulling fs layer 10:24:18 3f3a8bcf1eab: Pulling fs layer 10:24:18 0c92f367c5e7: Pulling fs layer 10:24:18 3096ccb668a1: Pulling fs layer 10:24:18 e8cf19c19ddd: Pulling fs layer 10:24:18 a4caa8a26152: Pulling fs layer 10:24:18 3f3a8bcf1eab: Waiting 10:24:18 0c92f367c5e7: Waiting 10:24:18 3096ccb668a1: Waiting 10:24:18 e8cf19c19ddd: Waiting 10:24:18 a4caa8a26152: Waiting 10:24:18 94645a83ff95: Download complete 10:24:18 1a89e8eeedd5: Verifying Checksum 10:24:18 1a89e8eeedd5: Download complete 10:24:18 0c92f367c5e7: Verifying Checksum 10:24:18 0c92f367c5e7: Download complete 10:24:18 3096ccb668a1: Download complete 10:24:18 9b3977197b4f: Verifying Checksum 10:24:18 9b3977197b4f: Download complete 10:24:18 e8cf19c19ddd: Verifying Checksum 10:24:18 e8cf19c19ddd: Download complete 10:24:18 9b3977197b4f: Pull complete 10:24:19 1a89e8eeedd5: Pull complete 10:24:20 94645a83ff95: Pull complete 10:24:20 a4caa8a26152: Verifying Checksum 10:24:20 a4caa8a26152: Download complete 10:24:20 3f3a8bcf1eab: Verifying Checksum 10:24:20 3f3a8bcf1eab: Download complete 10:24:33 3f3a8bcf1eab: Pull complete 10:24:33 0c92f367c5e7: Pull complete 10:24:33 3096ccb668a1: Pull complete 10:24:33 e8cf19c19ddd: Pull complete 10:24:40 a4caa8a26152: Pull complete 10:24:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:24:40 ---> 725f1c02e7f9 10:24:40 Step 3/12 : ARG MAKE="make build" 10:24:40 ---> Running in d5ebc648b326 10:24:40 Removing intermediate container d5ebc648b326 10:24:40 ---> a57762f61b97 10:24:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:24:40 ---> Running in 9ac42a3956ae 10:24:41 Removing intermediate container 9ac42a3956ae 10:24:41 ---> d064a0d614be 10:24:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:24:41 ---> Running in 8b1b1f3b9da9 10:24:41 Removing intermediate container 8b1b1f3b9da9 10:24:41 ---> a54d3e1b0c2e 10:24:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:24:41 ---> Running in ca110783c27c 10:24:43 Removing intermediate container ca110783c27c 10:24:43 ---> 005f91ecd35c 10:24:43 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:24:43 ---> Running in d3dbda2633bf 10:24:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:24:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:24:46 (1/14) Installing libintl (0.21-r0) 10:24:46 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 10:24:46 (3/14) Installing libjpeg-turbo (2.1.2-r0) 10:24:46 (4/14) Installing v4l-utils-libs (1.22.1-r1) 10:24:46 (5/14) Installing v4l-utils (1.22.1-r1) 10:24:46 (6/14) Installing udev-init-scripts (35-r0) 10:24:46 Executing udev-init-scripts-35-r0.post-install 10:24:46 (7/14) Installing libblkid (2.37.4-r0) 10:24:47 (8/14) Installing xz-libs (5.2.5-r1) 10:24:47 (9/14) Installing zstd-libs (1.5.0-r0) 10:24:47 (10/14) Installing kmod-libs (29-r2) 10:24:47 (11/14) Installing eudev (3.2.11_pre1-r0) 10:24:47 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 10:24:47 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 10:24:47 (14/14) Installing v4l-utils-dev (1.22.1-r1) 10:24:47 Executing busybox-1.34.1-r3.trigger 10:24:48 Executing eudev-3.2.11_pre1-r0.trigger 10:24:48 OK: 227 MiB in 66 packages 10:24:49 Removing intermediate container d3dbda2633bf 10:24:49 ---> bb49d3b26d53 10:24:49 Step 8/12 : WORKDIR /device-usb-camera 10:24:49 ---> Running in 2076dd3dfd12 10:24:49 Removing intermediate container 2076dd3dfd12 10:24:49 ---> e1772d9925c4 10:24:49 Step 9/12 : COPY go.mod vendor* ./ 10:24:49 ---> 9d11367c530d 10:24:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:24:50 ---> Running in 4cb7c59b7d9b 10:25:37 Removing intermediate container 4cb7c59b7d9b 10:25:37 ---> 7ca99f0bb80e 10:25:37 Step 11/12 : COPY . . 10:25:37 ---> 287bafdb6f78 10:25:37 Step 12/12 : RUN ${MAKE} 10:25:37 ---> Running in 0bcc1212ed5c 10:25:37 noop 10:25:37 Removing intermediate container 0bcc1212ed5c 10:25:37 ---> 7d676107f4a5 10:25:37 Successfully built 7d676107f4a5 10:25:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:25:37 + docker inspect -f . ci-base-image-arm64 10:25:37 . [Pipeline] withDockerContainer 10:25:37 prd-ubuntu20.04-docker-arm64-4c-16g-64183 does not seem to be running inside a container 10:25:37 $ 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 ******** ci-base-image-arm64 cat 10:25:39 $ docker top c449757b0485d26caea2403a011db612dd32333ccbee774d2810ef68167f4a00 -eo pid,comm [Pipeline] { [Pipeline] sh 10:25:40 + go version 10:25:40 go version go1.17.6 linux/arm64 [Pipeline] } 10:25:40 $ docker stop --time=1 c449757b0485d26caea2403a011db612dd32333ccbee774d2810ef68167f4a00 10:25:41 $ docker rm -f c449757b0485d26caea2403a011db612dd32333ccbee774d2810ef68167f4a00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:25:42 + docker inspect -f . ci-base-image-arm64 10:25:42 . [Pipeline] withDockerContainer 10:25:42 prd-ubuntu20.04-docker-arm64-4c-16g-64183 does not seem to be running inside a container 10:25:42 $ 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 ******** ci-base-image-arm64 cat 10:25:44 $ docker top a9fdec49618a3cb9109fdeb2a3e1c1a1dfce98629f969d1ae7b95fca04bdf0ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:25:45 + make test 10:25:45 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 10:25:46 ? github.com/edgexfoundry/device-usb-camera [no test files] 10:27:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 10:27:08 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 10:27:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:27:08 CGO_ENABLED=1 go vet ./... 10:27:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:30 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:33 $ docker stop --time=1 a9fdec49618a3cb9109fdeb2a3e1c1a1dfce98629f969d1ae7b95fca04bdf0ed 10:27:35 $ docker rm -f a9fdec49618a3cb9109fdeb2a3e1c1a1dfce98629f969d1ae7b95fca04bdf0ed [Pipeline] // withDockerContainer [Pipeline] sh 10:27:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:36 Warning: overwriting stash ‘coverage-report’ 10:27:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:37 + ls -al . 10:27:37 total 160 10:27:37 drwxrwxr-x 8 jenkins jenkins 4096 May 20 10:27 . 10:27:37 drwxrwxr-x 4 jenkins jenkins 4096 May 20 10:23 .. 10:27:37 drwxrwxr-x 8 jenkins jenkins 4096 May 20 10:23 .git 10:27:37 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:23 .github 10:27:37 -rw-rw-r-- 1 jenkins jenkins 349 May 20 10:23 .gitignore 10:27:37 -rw-rw-r-- 1 jenkins jenkins 42 May 20 10:23 .golangci.yml 10:27:37 -rw-rw-r-- 1 jenkins jenkins 77 May 20 10:23 .hadolint.yml 10:27:37 -rw-rw-r-- 1 jenkins jenkins 8706 May 20 10:23 Attribution.txt 10:27:37 -rw-rw-r-- 1 jenkins jenkins 181 May 20 10:23 CHANGELOG.md 10:27:37 -rw-rw-r-- 1 jenkins jenkins 1891 May 20 10:23 Dockerfile 10:27:37 -rw-rw-r-- 1 jenkins jenkins 678 May 20 10:23 GOVERNANCE.md 10:27:37 -rw-rw-r-- 1 jenkins jenkins 659 May 20 10:23 Jenkinsfile 10:27:37 -rw-rw-r-- 1 jenkins jenkins 11348 May 20 10:23 LICENSE 10:27:37 -rw-rw-r-- 1 jenkins jenkins 2030 May 20 10:23 Makefile 10:27:37 -rw-rw-r-- 1 jenkins jenkins 622 May 20 10:23 OWNERS.md 10:27:37 -rw-rw-r-- 1 jenkins jenkins 8960 May 20 10:23 README.md 10:27:37 -rw-rw-r-- 1 jenkins jenkins 5 May 20 10:21 VERSION 10:27:37 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:23 bin 10:27:37 drwxrwxr-x 3 jenkins jenkins 4096 May 20 10:23 cmd 10:27:37 -rw-r--r-- 1 jenkins jenkins 10 May 20 10:25 coverage.out 10:27:37 drwxrwxr-x 2 jenkins jenkins 4096 May 20 10:23 docker-compose 10:27:37 -rw-rw-r-- 1 jenkins jenkins 140 May 20 10:23 docker-entrypoint.sh 10:27:37 -rw-rw-r-- 1 jenkins jenkins 3307 May 20 10:23 go.mod 10:27:37 -rw-rw-r-- 1 jenkins jenkins 35656 May 20 10:23 go.sum 10:27:37 drwxrwxr-x 3 jenkins jenkins 4096 May 20 10:23 internal 10:27:37 -rw-rw-r-- 1 jenkins jenkins 231 May 20 10:23 version.go [Pipeline] isUnix [Pipeline] sh 10:27:38 + 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=39a906fb34d7d480687fd6a9f744d957e2d5fa50 --label arch=arm64 --label version=0.0.0 . 10:27:38 Sending build context to Docker daemon 400.9kB 10:27:38 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 10:27:38 Step 2/29 : FROM ${BASE} AS builder 10:27:38 ---> 7d676107f4a5 10:27:38 Step 3/29 : ARG MAKE="make build" 10:27:38 ---> Running in 0635fbc250b9 10:27:38 Removing intermediate container 0635fbc250b9 10:27:38 ---> 8de891d14068 10:27:38 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 10:27:38 ---> Running in 5229346b5b4c 10:27:39 Removing intermediate container 5229346b5b4c 10:27:39 ---> ee30f2c721e9 10:27:39 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 10:27:39 ---> Running in 10480d92b08e 10:27:39 Removing intermediate container 10480d92b08e 10:27:39 ---> 710fa3c45547 10:27:39 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:39 ---> Running in b854848550da 10:27:41 Removing intermediate container b854848550da 10:27:41 ---> c032b92bfedd 10:27:41 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:41 ---> Running in 02fa4f145d43 10:27:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:27:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:27:44 OK: 227 MiB in 66 packages 10:27:45 Removing intermediate container 02fa4f145d43 10:27:45 ---> 6a517b3cb0fc 10:27:45 Step 8/29 : WORKDIR /device-usb-camera 10:27:45 ---> Running in 84ef301da135 10:27:45 Removing intermediate container 84ef301da135 10:27:45 ---> 300da1b903a2 10:27:45 Step 9/29 : COPY go.mod vendor* ./ 10:27:45 ---> 52b0b3f79491 10:27:45 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:45 ---> Running in c0e51ff3fc9e 10:27:47 Removing intermediate container c0e51ff3fc9e 10:27:47 ---> 44f601448da3 10:27:47 Step 11/29 : COPY . . 10:27:48 ---> 94fc337d8a50 10:27:48 Step 12/29 : RUN ${MAKE} 10:27:48 ---> Running in 6607e8de86ba 10:27:49 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 10:29:56 Removing intermediate container 6607e8de86ba 10:29:56 ---> 8ea7907e1ecd 10:29:56 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 10:29:56 v0.18.4: Pulling from aler9/rtsp-simple-server 10:29:56 eab2503cf8f4: Pulling fs layer 10:29:56 97cd0a44c592: Pulling fs layer 10:29:56 97cd0a44c592: Verifying Checksum 10:29:56 97cd0a44c592: Download complete 10:29:56 eab2503cf8f4: Verifying Checksum 10:29:56 eab2503cf8f4: Download complete 10:29:56 eab2503cf8f4: Pull complete 10:29:56 97cd0a44c592: Pull complete 10:29:56 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 10:29:56 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 10:29:56 ---> 7f763cca56b3 10:29:56 Step 14/29 : FROM alpine:3.15 10:29:56 3.15: Pulling from library/alpine 10:29:56 9981e73032c8: Pulling fs layer 10:29:56 9981e73032c8: Verifying Checksum 10:29:56 9981e73032c8: Download complete 10:29:56 9981e73032c8: Pull complete 10:29:56 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:29:56 Status: Downloaded newer image for alpine:3.15 10:29:56 ---> 3fb3c9af89a9 10:29:56 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 10:29:56 ---> Running in 2664a5c5f494 10:29:56 Removing intermediate container 2664a5c5f494 10:29:56 ---> 6713c86dcb4d 10:29:56 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 10:29:56 ---> Running in 03f496d7f4b2 10:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:29:56 (1/73) Installing dumb-init (1.2.5-r1) 10:29:56 (2/73) Installing sdl2 (2.0.16-r4) 10:29:56 (3/73) Installing libxau (1.0.9-r0) 10:29:56 (4/73) Installing libmd (1.0.3-r0) 10:29:56 (5/73) Installing libbsd (0.11.3-r1) 10:29:56 (6/73) Installing libxdmcp (1.1.3-r0) 10:29:56 (7/73) Installing libxcb (1.14-r2) 10:29:56 (8/73) Installing libx11 (1.7.2-r0) 10:29:56 (9/73) Installing aom-libs (3.2.0-r0) 10:29:56 (10/73) Installing alsa-lib (1.2.5.1-r1) 10:29:56 (11/73) Installing expat (2.4.7-r0) 10:29:56 (12/73) Installing brotli-libs (1.0.9-r5) 10:29:56 (13/73) Installing libbz2 (1.0.8-r1) 10:29:56 (14/73) Installing libpng (1.6.37-r1) 10:29:56 (15/73) Installing freetype (2.11.1-r2) 10:29:56 (16/73) Installing libuuid (2.37.4-r0) 10:29:56 (17/73) Installing fontconfig (2.13.1-r4) 10:29:56 (18/73) Installing fribidi (1.0.11-r0) 10:29:56 (19/73) Installing libffi (3.4.2-r1) 10:29:56 (20/73) Installing libintl (0.21-r0) 10:29:56 (21/73) Installing libblkid (2.37.4-r0) 10:29:56 (22/73) Installing libmount (2.37.4-r0) 10:29:56 (23/73) Installing pcre (8.45-r1) 10:29:56 (24/73) Installing glib (2.70.1-r0) 10:29:56 (25/73) Installing graphite2 (1.3.14-r0) 10:29:56 (26/73) Installing harfbuzz (3.0.0-r2) 10:29:56 (27/73) Installing libass (0.15.2-r0) 10:29:56 (28/73) Installing libdav1d (0.9.2-r0) 10:29:56 (29/73) Installing gmp (6.2.1-r1) 10:29:56 (30/73) Installing nettle (3.7.3-r0) 10:29:56 (31/73) Installing p11-kit (0.24.0-r1) 10:29:56 (32/73) Installing libtasn1 (4.18.0-r0) 10:29:56 (33/73) Installing libunistring (0.9.10-r1) 10:29:56 (34/73) Installing gnutls (3.7.1-r0) 10:29:56 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 10:29:56 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 10:29:56 (37/73) Installing lame (3.100-r0) 10:29:56 (38/73) Installing opus (1.3.1-r1) 10:29:56 (39/73) Installing libgomp (10.3.1_git20211027-r0) 10:29:56 (40/73) Installing soxr (0.1.3-r2) 10:29:56 (41/73) Installing libgcc (10.3.1_git20211027-r0) 10:29:56 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 10:29:56 (43/73) Installing libsrt (1.4.2-r1) 10:29:56 (44/73) Installing libssh (0.9.6-r1) 10:29:56 (45/73) Installing libogg (1.3.5-r0) 10:29:56 (46/73) Installing libtheora (1.1.1-r16) 10:29:56 (47/73) Installing libjpeg-turbo (2.1.2-r0) 10:29:56 (48/73) Installing v4l-utils-libs (1.22.1-r1) 10:29:56 (49/73) Installing libxext (1.3.4-r0) 10:29:56 (50/73) Installing libxfixes (6.0.0-r0) 10:29:56 (51/73) Installing libdrm (2.4.109-r0) 10:29:56 (52/73) Installing wayland-libs-client (1.19.0-r1) 10:29:56 (53/73) Installing libva (2.13.0-r0) 10:29:56 (54/73) Installing libvdpau (1.4-r0) 10:29:56 (55/73) Installing vidstab (1.1.0-r1) 10:29:56 (56/73) Installing libvorbis (1.3.7-r0) 10:29:56 (57/73) Installing libvpx (1.10.0-r0) 10:29:56 (58/73) Installing vulkan-loader (1.2.196-r0) 10:29:56 (59/73) Installing libwebp (1.2.2-r0) 10:29:56 (60/73) Installing x264-libs (20210613-r0) 10:29:56 (61/73) Installing x265-libs (3.5-r0) 10:29:56 (62/73) Installing xvidcore (1.3.7-r1) 10:29:56 (63/73) Installing ffmpeg-libs (4.4.1-r2) 10:29:56 (64/73) Installing ffmpeg (4.4.1-r2) 10:29:56 (65/73) Installing udev-init-scripts (35-r0) 10:29:56 Executing udev-init-scripts-35-r0.post-install 10:29:56 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 10:29:56 (67/73) Installing xz-libs (5.2.5-r1) 10:29:56 (68/73) Installing zstd-libs (1.5.0-r0) 10:29:56 (69/73) Installing kmod-libs (29-r2) 10:29:56 (70/73) Installing eudev (3.2.11_pre1-r0) 10:29:56 (71/73) Installing libsodium (1.0.18-r0) 10:29:56 (72/73) Installing libzmq (4.3.4-r0) 10:29:56 (73/73) Installing zeromq (4.3.4-r0) 10:29:56 Executing busybox-1.34.1-r5.trigger 10:29:56 Executing eudev-3.2.11_pre1-r0.trigger 10:29:56 OK: 67 MiB in 87 packages 10:29:57 Removing intermediate container 03f496d7f4b2 10:29:57 ---> 1542680c4b3b 10:29:57 Step 17/29 : WORKDIR / 10:29:57 ---> Running in cabb348913ba 10:29:57 Removing intermediate container cabb348913ba 10:29:57 ---> a7707d10574e 10:29:57 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 10:29:58 ---> 8b6ede02d331 10:29:58 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 10:29:59 ---> e854dc1500fe 10:29:59 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 10:30:00 ---> f808114e80df 10:30:00 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 10:30:00 ---> 736e79e3031a 10:30:00 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 10:30:01 ---> bb71adbc8fa8 10:30:01 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 10:30:02 ---> e4b321940e48 10:30:02 Step 24/29 : EXPOSE 59983 10:30:02 ---> Running in 3f4e465a6b2c 10:30:02 Removing intermediate container 3f4e465a6b2c 10:30:02 ---> 64eadf34c00c 10:30:02 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 10:30:02 ---> Running in f330eec8ef91 10:30:03 Removing intermediate container f330eec8ef91 10:30:03 ---> 1f146e7bd5cd 10:30:03 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 10:30:03 ---> Running in 8a3280f8d17b 10:30:03 Removing intermediate container 8a3280f8d17b 10:30:03 ---> 8ae3b76c9df7 10:30:03 Step 27/29 : LABEL arch=arm64 10:30:03 ---> Running in 9d9a85d733f4 10:30:03 Removing intermediate container 9d9a85d733f4 10:30:03 ---> 8354e21e3ef4 10:30:03 Step 28/29 : LABEL git_sha=39a906fb34d7d480687fd6a9f744d957e2d5fa50 10:30:03 ---> Running in e56b45c36e5d 10:30:04 Removing intermediate container e56b45c36e5d 10:30:04 ---> 38e83a691ba4 10:30:04 Step 29/29 : LABEL version=0.0.0 10:30:04 ---> Running in 0cb7e63b4103 10:30:04 Removing intermediate container 0cb7e63b4103 10:30:04 ---> becbd539cd60 10:30:04 [Warning] One or more build-args [ARCH] were not consumed 10:30:04 Successfully built becbd539cd60 10:30:04 Successfully tagged device-usb-camera-arm64:latest [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] sh 10:30:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:05 10:30:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:30:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:05 arm64: Pulling from edgex-lftools-log-publisher 10:30:05 8998bd30e6a1: Pulling fs layer 10:30:05 04944245beec: Pulling fs layer 10:30:05 699f458cf7ca: Pulling fs layer 10:30:05 765212b225bb: Pulling fs layer 10:30:05 f23df028b6ca: Pulling fs layer 10:30:05 d65c8cfc05b1: Pulling fs layer 10:30:05 2437ff75d9bd: Pulling fs layer 10:30:05 f23df028b6ca: Waiting 10:30:05 d65c8cfc05b1: Waiting 10:30:05 2437ff75d9bd: Waiting 10:30:05 765212b225bb: Waiting 10:30:06 04944245beec: Verifying Checksum 10:30:06 04944245beec: Download complete 10:30:06 765212b225bb: Verifying Checksum 10:30:06 765212b225bb: Download complete 10:30:06 d65c8cfc05b1: Verifying Checksum 10:30:06 d65c8cfc05b1: Download complete 10:30:06 699f458cf7ca: Verifying Checksum 10:30:06 699f458cf7ca: Download complete 10:30:06 8998bd30e6a1: Verifying Checksum 10:30:06 8998bd30e6a1: Download complete 10:30:09 2437ff75d9bd: Verifying Checksum 10:30:09 2437ff75d9bd: Download complete 10:30:10 8998bd30e6a1: Pull complete 10:30:11 04944245beec: Pull complete 10:30:12 699f458cf7ca: Pull complete 10:30:12 765212b225bb: Pull complete 10:30:13 f23df028b6ca: Pull complete 10:30:13 d65c8cfc05b1: Pull complete 10:30:29 2437ff75d9bd: Pull complete 10:30:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:30:29 prd-ubuntu20.04-docker-arm64-4c-16g-64183 does not seem to be running inside a container 10:30:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:30:31 $ docker top bad49308519ee91b984ab39fe1b866a7eaf62a34c4fa07269003403a79a6e4c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:32 ---> job-cost.sh 10:30:32 lf-activate-venv: SKIPPING 10:30:32 INFO: No Stack... 10:30:33 INFO: Retrieving Pricing Info for: v3-standard-4 10:30:34 INFO: Archiving Costs [Pipeline] sh 10:30:34 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 10:30:34 + cut -d, -f6 [Pipeline] lock 10:30:34 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] 10:30:34 Resource [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] did not exist. Created. 10:30:34 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:35 /w/workspace/device-usb-camera/1@tmp/durable-b3da6136/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:30:36 + echo total: 0.10999999940395355 [Pipeline] stash 10:30:36 Warning: overwriting stash ‘stack-cost’ 10:30:36 Stashed 1 file(s) [Pipeline] } 10:30:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-28-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:36 $ docker stop --time=1 bad49308519ee91b984ab39fe1b866a7eaf62a34c4fa07269003403a79a6e4c7 10:30:38 $ docker rm -f bad49308519ee91b984ab39fe1b866a7eaf62a34c4fa07269003403a79a6e4c7 [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 10:30:39 provisioning config files... 10:30:39 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/config2416288929784652254tmp [Pipeline] { [Pipeline] sh 10:30:39 + set +x 10:30:39 + curl -s https://codecov.io/bash 10:30:39 + bash -s -- 10:30:39 10:30:39 _____ _ 10:30:39 / ____| | | 10:30:39 | | ___ __| | ___ ___ _____ __ 10:30:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:30:39 | |___| (_) | (_| | __/ (_| (_) \ V / 10:30:39 \_____\___/ \__,_|\___|\___\___/ \_/ 10:30:39 Bash-1.0.6 10:30:39 10:30:39 10:30:39 ==> git version 2.25.1 found 10:30:39 ==> 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 10:30:39 Release-Date: 2020-01-08 10:30:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:30:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:30:39 ==> Jenkins CI detected. 10:30:39 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-28 10:30:39 project root: . 10:30:39 --> token set from env 10:30:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:30:39 ==> Running gcov in . (disable via -X gcov) 10:30:39 ==> Python coveragepy not found 10:30:39 ==> Searching for coverage reports in: 10:30:39 + . 10:30:39 -> Found 1 reports 10:30:39 ==> Detecting git/mercurial file structure 10:30:39 ==> Reading reports 10:30:39 + ./coverage.out bytes=10 10:30:39 ==> Appending adjustments 10:30:39 https://docs.codecov.io/docs/fixing-reports 10:30:39 + Found adjustments 10:30:39 ==> Gzipping contents 10:30:39 4.0K /tmp/codecov.wEBPIi.gz 10:30:39 ==> Uploading reports 10:30:39 url: https://codecov.io 10:30:39 query: branch=PR-28&commit=f31cde7b52137751517fc0beea68e4bf30894eb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-28%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=28&job=&cmd_args= 10:30:39 -> Pinging Codecov 10:30:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-28&commit=f31cde7b52137751517fc0beea68e4bf30894eb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-28%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=28&job=&cmd_args= 10:30:40 -> Uploading to 10:30:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-20/73D8F5FF140700D3E01443B452E23636/f31cde7b52137751517fc0beea68e4bf30894eb2/6247dd0d-e28a-44bc-970a-1c9dde6f1bec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220520T103039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99c926815e09adb937a432494052f09972b7deb1e1d0763801790c26aa8db0b6 10:30:40 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:40 Dload Upload Total Spent Left Speed 10:30:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1006 0 0 100 1006 0 4593 --:--:-- --:--:-- --:--:-- 4593 10:30:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/f31cde7b52137751517fc0beea68e4bf30894eb2 [Pipeline] } 10:30:40 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 10:30:42 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-28/archives ] 10:30:42 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-28/archives 10:30:42 total 16 10:30:42 drwxr-xr-x 3 root root 4096 May 20 10:23 . 10:30:42 drwxrwxr-x 10 jenkins jenkins 4096 May 20 10:23 .. 10:30:42 drwxr-xr-x 2 root root 4096 May 20 10:23 cost 10:30:42 -rw-r--r-- 1 root root 87 May 20 10:23 cost.csv 10:30:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-28/archives 10:30:42 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-28/archives 10:30:42 total 16 10:30:42 drwxr-xr-x 3 jenkins jenkins 4096 May 20 10:23 . 10:30:42 drwxrwxr-x 10 jenkins jenkins 4096 May 20 10:23 .. 10:30:42 drwxr-xr-x 2 jenkins jenkins 4096 May 20 10:23 cost 10:30:42 -rw-r--r-- 1 jenkins jenkins 87 May 20 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:30:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:30:43 ---> package-listing.sh 10:30:43 ++ facter osfamily 10:30:43 ++ tr '[:upper:]' '[:lower:]' 10:30:43 + OS_FAMILY=debian 10:30:43 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-28 10:30:43 + START_PACKAGES=/tmp/packages_start.txt 10:30:43 + END_PACKAGES=/tmp/packages_end.txt 10:30:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:30:43 + PACKAGES=/tmp/packages_start.txt 10:30:43 + '[' /w/workspace/xfoundry_device-usb-camera_PR-28 ']' 10:30:43 + PACKAGES=/tmp/packages_end.txt 10:30:43 + case "${OS_FAMILY}" in 10:30:43 + dpkg -l 10:30:43 + grep '^ii' 10:30:43 + '[' -f /tmp/packages_start.txt ']' 10:30:43 + '[' -f /tmp/packages_end.txt ']' 10:30:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:30:43 + '[' /w/workspace/xfoundry_device-usb-camera_PR-28 ']' 10:30:43 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-28/archives/ 10:30:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-28/archives/ [Pipeline] echo 10:30:43 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/xfoundry_device-usb-camera_PR-28/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:30:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:44 . [Pipeline] withDockerContainer 10:30:44 prd-ubuntu20.04-docker-8c-8g-64182 does not seem to be running inside a container 10:30:44 $ 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/xfoundry_device-usb-camera_PR-28/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-28 -v /w/workspace/xfoundry_device-usb-camera_PR-28:/w/workspace/xfoundry_device-usb-camera_PR-28:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-28@tmp:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:30:45 $ docker top 808b128352a36d577bb088d13473d11d23f22960824b94d1fac5a8c5ca69f5a1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:45 + touch /tmp/pre-build-complete [Pipeline] sh 10:30:45 + mkdir -p /var/log/sysstat [Pipeline] sh 10:30:46 + ls /var/log/sa-host 10:30:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:46 provisioning config files... 10:30:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-28@tmp/config2455550855846073095tmp [Pipeline] { [Pipeline] echo 10:30:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:30:46 ---> create-netrc.sh [Pipeline] } 10:30:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:30:47 ---> python-tools-install.sh [Pipeline] echo 10:30:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:30:47 ---> sudo-logs.sh 10:30:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:30:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:30:48 ---> job-cost.sh 10:30:48 lf-activate-venv: SKIPPING 10:30:48 DEBUG: total: 0.2199999988079071 10:30:48 INFO: Retrieving Stack Cost... 10:30:48 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:48 INFO: Archiving Costs [Pipeline] echo 10:30:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:30:49 ---> logs-deploy.sh 10:30:49 lf-activate-venv: SKIPPING 10:30:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-28/1 10:30:49 INFO: archiving workspace using pattern(s): 10:30:50 Archives upload complete. 10:30:50 INFO: archiving logs to Nexus