# PR run failed on GitHub, what can I do?

**URL:** <https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512>\
**Category:** Development\
**Created:** [April 11, 2023, 8:00pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512 "2023-04-11T20:00:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [April 11, 2023, 8:00pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/1 "2023-04-11T20:00:06Z")

</div>

Since a couple of weeks (I think), I’m getting messages from GitHub telling me that a particular PR run failed, for a fix that I pushed to my own fork 8 months ago:

> <https://github.com/gramps-project/gramps/actions/runs/4671289837>

These messages seem to appear weekly, but they didn’t start right after I filed my PR, but just a few weeks ago, and I think this one’s the second, maybe third.

Can anyone tell me what I can do abou this, if anything? Can it be linked to the workflow file? I noticed that @Nick-Hall changed that to run on ubuntu-20.04 on Mar 7. The workflow file associated with this run still mentions 18.04:

> <https://github.com/gramps-project/gramps/actions/runs/4671289837/workflow>

Note that the preview shown on Discourse doesn’t show the actual PR.

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [April 11, 2023, 8:20pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/2 "2023-04-11T20:20:16Z")

</div>

Make sure that your fork is up to date and using the latest workflow file.

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [April 11, 2023, 8:34pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/3 "2023-04-11T20:34:01Z")

</div>

I just did that, and had no idea that this thing even existed. Thanks!

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [April 11, 2023, 8:45pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/4 "2023-04-11T20:45:09Z")

</div>

Oops, I updated that file, but it didn’t solve the problem. The error just showed up in my mail again. There seems to be a faling test that I can’t associate with my fix.

> <https://github.com/gramps-project/gramps/actions/runs/4671754582/jobs/8273126545#step:6:238>

The Discourse preview is still wrong, but the link will show the proper log.

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [April 12, 2023, 11:16am UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/5 "2023-04-12T11:16:06Z")

</div>

I just saw that there are more PR’s suffering from the same problem, like this one:

> <https://github.com/gramps-project/gramps/pull/1409>
>
> RUFNAME is the German word for "call name", i.e. the part of the given name comm…only used to address somebody. Some official documents mark it as such.
> 
> The GEDCOM standards 5.5.1 and 5.5.5 mention this tag.

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [April 12, 2023, 3:22pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/6 "2023-04-12T15:22:10Z")

</div>

This PR had a failing unit test. I have just fixed it.

---

<div class="post-metadata">

**Author:** ![ennoborg](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ennoborg/32/4659_2.png) [@ennoborg](https://gramps.discourse.group/u/ennoborg)\
**Post date:** [April 12, 2023, 3:41pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/7 "2023-04-12T15:41:11Z")

</div>

And I just got another mail, of the same type, for which the log says that the unit test failed. And that log starts with a dozen lines saying: connection refused.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [May 12, 2023, 3:41pm UTC](https://gramps.discourse.group/t/pr-run-failed-on-github-what-can-i-do/3512/8 "2023-05-12T15:41:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
