# Failing analysis ID: AYahv1qEgOyFzq3Rc5p8

**URL:** <https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038>\
**Category:** SonarQube Cloud\
**Tags:** autoscan\
**Created:** [March 2, 2023, 10:06am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038 "2023-03-02T10:06:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 2, 2023, 10:06am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/1 "2023-03-02T10:06:34Z")

</div>

The following analysis is failing for me: AYahv1qEgOyFzq3Rc5p8

Besides these, it seems like no PR analysis run at all? E.g.: [GitHub actions update by basrieter · Pull Request #1683 · retrospect-addon/plugin.video.retrospect · GitHub](https://github.com/retrospect-addon/plugin.video.retrospect/pull/1683)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 2, 2023, 10:13am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/2 "2023-03-02T10:13:59Z")

</div>

It looks like no analysis has been run on this repo since May 2022: [https://sonarcloud.io/project/overview?id=retrospect-addon%3Aplugin.video.retrospect](https://sonarcloud.io/project/overview?id=retrospect-addon%3Aplugin.video.retrospect)

And, it looks like your repo has both a [.sonarcloud.properties](https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/.sonarcloud.properties) file (used for Automatic Analysis) _and_ a [sonar-project.properties](https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/sonar-project.properties) file (which should only be used for CI-based analysis).

I would suggest removing the _sonar-project.properties_ file from your repo (and any branches that you’re currently trying to scan), if you want to keep using [Automatic Analysis](https://docs.sonarcloud.io/advanced-setup/automatic-analysis/).

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 2, 2023, 10:28am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/3 "2023-03-02T10:28:31Z")

</div>

Thanks for the fast reply. I will change that. I know I kept the sonar-project.properties file to set the `sonar.projectVersion=` property so it would show up correctly in the GUI of SonarCloud.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 2, 2023, 10:36am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/4 "2023-03-02T10:36:40Z")

</div>

I just checked the code and `sonar.projectVersion` should be supported through `.sonarcloud.properties`, but isn’t documented as such. I’ll ping our docs team!

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 2, 2023, 10:41am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/6 "2023-03-02T10:41:03Z")

</div>

That is good to hear!

I just merged the changes but still get errors: ID=AYah5PK9-qmZzTSKajtl

Perhaps it would make more sense to enable CI analysis using GitHub Actions?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [March 2, 2023, 11:07am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/8 "2023-03-02T11:07:07Z")

</div>

There’s a weird error on the backend. I’m going to flag this for attention – but you can try to switch to CI-based analysis if you want to get it up-and-running right away.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 2, 2023, 11:23am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/10 "2023-03-02T11:23:25Z")

</div>

Thanks. I switched to CI for now to get things working (hopefully). Thanks for the fast support.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 2, 2023, 1:34pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/11 "2023-03-02T13:34:16Z")

</div>

The CI is working now, but not on external PR’s. As they don’t have the secrets stored in the repository the PR orignated from. What is the preferred way of solving this?

EDIT: I think that was the reason I started using the Automatic Analysis.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 6, 2023, 11:35am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/13 "2023-03-06T11:35:13Z")

</div>

@Colin Did the backend-team find any issue? I had to move back to automatic analysis, but it still won’t work. See [Failing analysis ID: AYaoNxdf4aDtPUkTUP2l - #2 by BasRieter](https://community.sonarsource.com/t/failing-analysis-id-ayaonxdf4adtpuktup2l/85159/2)

---

<div class="post-metadata">

**Author:** ![Peter\_Horvath](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/peter_horvath/32/25675_2.png) [@Peter\_Horvath](https://community.sonarsource.com/u/Peter_Horvath)\
**Post date:** [March 8, 2023, 9:19am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/17 "2023-03-08T09:19:49Z")

</div>

Hello Bas,

I see you created a new post here:

> [@Failing analysis ID: AYaoNxdf4aDtPUkTUP2l](https://community.sonarsource.com/t/failing-analysis-id-ayaonxdf4adtpuktup2l/85159):
>
> Yesterday I noticed automatic analysis was nog working. I moved to CI analysis, but that did not really work as I wanted (it did not see any PR specific analysis). So I re-enabled automatic analysis, but it still fails: AYaoNxdf4aDtPUkTUP2l I am also noticing that the PR’s are not detected correctly: [image] vs [image] EDIT: And more: AYaoNxdf4aDtPUkTUP2l

If I understood correctly, it’s about the same repository as in this post? If so, please avoid creating multiple posts about the same issue, duplicates make it more difficult to resolve the original issue. So in order to have everything in one place, could you please close the new post and copy the content here?

And so could you please summarise what is your latest issue? The problem is with Automatic Analysis or with CI-based analysis not working as expected?

Thanks.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 8, 2023, 9:36am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/18 "2023-03-08T09:36:42Z")

</div>

Hi Peter, sorry about the duplicate post (about the same repo).

The initial issue was with the automatic scans. They apparently just stopped a while ago for my repo.

So I switched over to the CI build but that does not work for external PR’s. So I moved back to the automatic scanning, as the PR’s did work with that. But the Automatic build still fails.

So my issue is with the automatic scans that fail for my repo: [GitHub - retrospect-addon/plugin.video.retrospect: Retrospect is a Kodi video add-on which allows you to watch streams of a number of free and publicly available online TV stream sites.](https://github.com/retrospect-addon/plugin.video.retrospect)

It also does not detect new PR’s in the repo.

---

<div class="post-metadata">

**Author:** ![Peter\_Horvath](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/peter_horvath/32/25675_2.png) [@Peter\_Horvath](https://community.sonarsource.com/u/Peter_Horvath)\
**Post date:** [March 10, 2023, 2:59pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/19 "2023-03-10T14:59:18Z")

</div>

Hello,

Ok thank you for the clarification.

I tried to reproduce your issue. I created a fork of your repository on GitHub and imported it on SonarCloud - the Automatic Analysis was successfully executed and results visible in the UI. I created a PR and it was also detected and analysis was executed.

Would it be possible for you to re-create your project on SonarCloud? It means deleting the project on SonarCloud and re-importing it from GitHub. However, because of this action you would lose the history of your analyses etc.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 10, 2023, 3:20pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/20 "2023-03-10T15:20:56Z")

</div>

It would be unfortunate to loose all that information. Is there no way to find out what the actual error is beloning to the error ID?

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 18, 2023, 6:25pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/21 "2023-03-18T18:25:11Z")

</div>

Any update on this @Peter_Horvath? I went ahead and re-imported the project (and lost all history). But still have issues with PR’s not being done: AYb2yZEbnqQwurb8Y5nn

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 19, 2023, 7:17pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/22 "2023-03-19T19:17:11Z")

</div>

And now again the master branch if failing after a push: AYb7ODL8GANz5WVmDnn.

It seems like the other project in the origanisation is also not working: [https://sonarcloud.io/project/analysis\_method?id=retrospect-addon%3Akodi.emulator.ascii](https://sonarcloud.io/project/analysis_method?id=retrospect-addon%3Akodi.emulator.ascii) and that one will be removed due inactivity (housekeeping) in 22 days. That would not be OK.

---

<div class="post-metadata">

**Author:** ![Peter\_Horvath](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/peter_horvath/32/25675_2.png) [@Peter\_Horvath](https://community.sonarsource.com/u/Peter_Horvath)\
**Post date:** [March 20, 2023, 8:39am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/23 "2023-03-20T08:39:23Z")

</div>

Hello Bas

I am sorry for the lack of information on this.

I am actively analysing your issue and trying to find the root cause, need a bit more time.

Thanks for the additional info. Yes, a new housekeeping policy was implemented for organizations on the free plan and took effect in January.

> [@New housekeeping policy for public projects](https://community.sonarsource.com/t/new-housekeeping-policy-for-public-projects/79245):
>
> Dear SonarCloud users, Please note that we’re putting a new housekeeping policy into place for public projects. This policy affects all public projects that have not run an analysis for over a year, belonging to an organization on a free plan. These public projects will be removed from SonarCloud. Organization and project members will be notified in the web app before the removal of a public project. For more information about this policy, please refer to our housekeeping documentation page. …

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 20, 2023, 9:41am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/24 "2023-03-20T09:41:29Z")

</div>

Thanks for the update. Hopefully we can resolve the issue within 22 days, to prevent the housekeeping from cleaning up.

---

<div class="post-metadata">

**Author:** ![Peter\_Horvath](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/peter_horvath/32/25675_2.png) [@Peter\_Horvath](https://community.sonarsource.com/u/Peter_Horvath)\
**Post date:** [March 24, 2023, 10:39am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/25 "2023-03-24T10:39:03Z")

</div>

Hello,

Just to give you a quick update. I had a look on the failed PR analysis first - the PR created in the forked repository. The problem of the failure is that during the process when we try to clone the remote branch feature-1673, it’s not found. It’s possible that we have a bug there. I’ll continue the investigation.

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 24, 2023, 1:55pm UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/26 "2023-03-24T13:55:49Z")

</div>

Thanks for the update. What about PR [No more python2 by basrieter · Pull Request #1694 · retrospect-addon/plugin.video.retrospect · GitHub](https://github.com/retrospect-addon/plugin.video.retrospect/pull/1694). That one is not from a fork? It fails with code: AYcLcLHZg48Yoyt3YPsd

---

<div class="post-metadata">

**Author:** ![BasRieter](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/basrieter/32/5768_2.png) [@BasRieter](https://community.sonarsource.com/u/BasRieter)\
**Post date:** [March 29, 2023, 9:42am UTC](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038/27 "2023-03-29T09:42:57Z")

</div>

Hi @Peter_Horvath, any update? As this problem is affecting both repositories in (Retrospect and Sake), the latter will be removed due to inactivity soon. Is there any way to prevent that for now? As the analysis won’t trigger.

[Next page](https://community.sonarsource.com/t/failing-analysis-id-ayahv1qegoyfzq3rc5p8/85038.md?page=2)
