Unable to fetch a patch on github (openembedded repository: unnecessary-to-check-libpcap.patch) - github

Setup
On Yocto environment, I have a bitbake recipe which fetch a patch on github:
SRC_URI = " \
[...]
https://raw.githubusercontent.com/openembedded/meta-oe/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch;name=patch \
"
When fetching this patch I have the error: ERROR 404: Not Found (since a few days).
Issue
WARNING: Failed to fetch URL https://raw.githubusercontent.com/openembedded/meta-oe/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch;name=patch, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
https://raw.githubusercontent.com/openembedded/meta-oe/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch:
2020-08-19 12:21:44 ERROR 404: Not Found.
ERROR: Function failed: Fetcher failure for URL: 'https://raw.githubusercontent.com/openembedded/meta-oe/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch;name=patch'. Unable to fetch URL from any source.
Tests
I tried to access the link directly on internet, it doesn't work.
Also tried with the following link, doesn't work (without raw.githubusercontent.com option):
https://github.com/openembedded/meta-oe/blob/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
I tried to find this patch on github with no success:
Find in openembedded/meta-openembeded not openembedded/meta-oe (https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch) not the same patch
Find in http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-distro/recipes-support/tcpdump/tcpdump-4.6.1/unnecessary-to-check-libpcap.patch?h=master not the same project
Thanks

please find the new link below:
https://raw.githubusercontent.com/openembedded/meta-openembedded/master/meta-networking/recipes-support/tcpdump/tcpdump/unnecessary-to-check-libpcap.patch
Seems like the url changed.

Related

Pipeline sync is failing with error: "Failed to sync hook with err: Webhook creation failed with err: postHook returned error 422"

When I try to add my pipeline source, sync fails with the error:
Failed to sync hook with err: Webhook creation failed for path:
deepika/demoApp and integration: deepikaGithub with err: postHook
returned error 422 for deepika/demoApp
How can I resolve this error?
This is usually the result of too many webhooks. GitHub allows 20 webhooks per repository.
This can be resolved by performing following steps:
In GitHub, go to the Settings | Webhooks tab for the relevant repository
Delete all the failed webhooks

yocto gtest-1.8.0-r0 do_fetch: Fetcher failure

I'm trying a yocto compile for phytech board, but I'm getting this do fetch error, and I'm quite new at this
ERROR: gtest-1.8.0-r0 do_fetch: Fetcher failure: Unable to find revision ec44c6c1675c25b9827aacd08c02433cccde7780 in branch master even from upstream
ERROR: gtest-1.8.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/google/googletest.git;protocol=https;'. Unable to fetch URL from any source.
ERROR: gtest-1.8.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/mmrfic/BSP-Yocto-TISDK-AM57xx-PD20.1.2/build/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/gtest/1.8.0-r0/temp/log.do_fetch.3140224
ERROR: Task (/home/mmrfic/BSP-Yocto-TISDK-AM57xx-PD20.1.2/sources/meta-openembedded/meta-oe/recipes-test/gtest/gtest_1.8.0.bb:do_fetch) failed with exit code '1'
I've tried to follow the steps from the official page phytech page

getting an Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Clearsigned file isn't valid, got 'NOSPLIT'

i'm trying to install devstack and getting the mentioned error
Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Error

Github pages Deploy Error: Error: Error: Request failed with status code 400 [duplicate]

This error is popping-up intermittently while trying to deploy my github webpages. I have no clue what to do, I already deleted and recreated the repository but the error persists. I have the same problem for all my github pages repositories.
Here is one repository example: https://github.com/cnftstats/borgs
Run actions/deploy-pages#v1
Actor: github-pages[bot]
Action ID: 1998855719
Artifact URL: https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/workflows/1998855719/artifacts?api-version=6.0-preview
{"count":1,"value":[{"containerId":359584,"size":14684160,"signedContent":null,"fileContainerResourceUrl":"https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/resources/Containers/359584","type":"actions_storage","name":"github-pages","url":"https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/1/runs/21/artifacts?artifactName=github-pages","expiresOn":"2022-06-15T13:26:01.9505756Z","items":null}]}
Creating deployment with payload:
{
"artifact_url": "https://pipelines.actions.githubusercontent.com/odmqpuZ7yGar25NNWIM53v9pBjO9vEwDjecGIYtf9ECZfcxi8V/_apis/pipelines/1/runs/21/artifacts?artifactName=github-pages&%24expand=SignedContent",
"pages_build_version": "bf8f96d22c5dd116a5d94ee24cd398bdda60035f",
"oidc_token": "***"
}
Failed to create deployment for bf8f96d22c5dd116a5d94ee24cd398bdda60035f.
{"message":"Deployment request failed for bf8f96d22c5dd116a5d94ee24cd398bdda60035f due to in progress deployment. Please cancel e92de3f483b775a12d4f784d7cc661ff2847fa62 first or wait for it to complete.","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-github-pages-deployment"}
Error: Error: Request failed with status code 400
Error: Error: Request failed with status code 400
Sending telemetry for run id 1998855719
GitHub Actions is currently experiencing degraded performance and published this on their status page. Therefore, you are most likely experiencing a side effect of the current problems. Other users are reporting the same issue as well. Try again later when the issue has been resolved by GitHub.
Update: More products are now affected and experience degraded performance. Check their status page for more details: https://www.githubstatus.com
[It was a bug of GitHub, happens to all its users---date: 18/03/2022]
It happens to me today too.. :(
Maybe is a bug of GitHub pages: https://github.com/actions/deploy-pages/issues/22
https://github.community/t/pages-deploy-wedged-incorrect-request-failed-due-to-in-progress-deployment/234793/4

hudson.plugins.git.GitException: Could not fetch from any repository

I want to configure hudson+git and want to create a build. But I am getting following exception:
Started by user nitish
Checkout:workspace / /root/.hudson/jobs/NightlyGit/workspace - hudson.remoting.LocalChannel#dd7efd
Using strategy: Default
Checkout:workspace / /root/.hudson/jobs/NightlyGit/workspace - hudson.remoting.LocalChannel#dd7efd
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/test/eng.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway
ERROR: (Underlying report) : Error performing command: /usr/bin/git fetch -t https://github.com/test/eng.git +refs/heads/nightly:refs/remotes/origin/nightly
Command "/usr/bin/git fetch -t https://github.com/test/engile.git +refs/heads/nightly:refs/remotes/origin/nightly" returned status code 128: error: The requested URL returned error: 401 while accessing https://github.com/test/eng.git/info/refs
fatal: HTTP request failed
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:887)
at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:845)
at hudson.FilePath.act(FilePath.java:758)
at hudson.FilePath.act(FilePath.java:740)
at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:845)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:622)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1483)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424)
at hudson.model.Run.run(Run.java:1366)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
I am newbie to the git ,I dont know what is the exact problem is there any creadentials required while using git with hudson?. Right now I have created the hudson job and providing the git repository link but it throws above exception. can somebody help me to sort out this issue.
Try this:
Go to the job's "Configure" page.
Under Source Code Management → Git → Additional Behaviors, add a behavior "Wipe out repository & force clone":
Click on Save button.
Try to Build again.
I have created the SSH key on hudson server and added it to my github account that solved my issue.
Sometimes the permission of the workspace also can cause the same error.
sudo chown -R jenkins: <workspace>