#10301 I cannot push 'halibut' update into the rawhide distgit
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by jskarvad.

Describe what you would like us to do:


$ fedpkg push
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 4 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 761 bytes | 761.00 KiB/s, done.
Total 5 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Unspecified ref refs/heads/rawhide is blocked
remote: Denied push for ref 'refs/heads/rawhide' for user 'jskarvad'
remote: All changes have been rejected
remote: error: hook declined to update refs/heads/rawhide
To ssh://pkgs.fedoraproject.org/rpms/halibut
 ! [remote rejected] rawhide -> rawhide (hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/halibut'
Could not execute push: Failed to execute command.

Push to other projects I am maintaining works OK. I am going to workaround it by PR.

When do you need this to be done by? (YYYY/MM/DD)



Metadata Update from @mohanboddu:
- Issue assigned to mohanboddu
- Issue tagged with: low-gain, low-trouble, ops

2 years ago

Metadata Update from @mohanboddu:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

2 years ago

Looks like you have this sorted but just wanted to say "me too" with my OpenImageIO package.

I got sometimes random errors like [1] e [2] when I retry usually I don't see the error again

[1]

To ssh://pkgs.fedoraproject.org/rpms/dh-make 
! [remote rejected] epel8 -> epel8 (pre-receive hook declined) 
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/dh-make' 
Could not execute push: Failed to execute command. 

[2]

To ssh://pkgs.fedoraproject.org/rpms/dh-make
7f47f02..bb65208  epel8 -> epel8
Could not execute build: The following error occurred while trying to get the active release branches in PDC: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
root@localhost to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Yep, I've been getting a few of those today as well, when pushing to non-rawhide branches. Looks like the git hook sometimes gets HTTP 500 responses from PDC.

I got a few of these as well earlier today.

So, this appears to be the same thing as #10236

I restarted httpd on pdc-web01 and see 0 500's since I have done so. ;(

So, I fear this is some sort of leak or something that causes it to freak out after some time running.

I'll leave this open for a while in case anyone still sees any after this...

Thanks, it seems it works now for me.

Given that we investigated this last time and were not able to track it down, and that we are planning on retiring pdc, I'm going to close this out now.

If you see this happen again, please do reopen or file a new ticket on it.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

I am not sure how to reopen this issue myself but the same happened to me today:

% git push
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 984 bytes | 328.00 KiB/s, done.
Total 5 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Unspecified ref refs/heads/rawhide is blocked
remote: Denied push for ref 'refs/heads/rawhide' for user 'kdudka'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/curl
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/curl'

% git push
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 984 bytes | 984.00 KiB/s, done.
Total 5 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Emitting a message to the fedora-messaging message bus.
remote: * Publishing information for 1 commits
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote:   - to fedora-message
remote: 2022-01-05 09:27:05,149 [WARNING] pagure.lib.notify: pagure is about to send a message that has no schemas: pagure.git.receive
To ssh://pkgs.fedoraproject.org/rpms/curl
   503307b..3e801a6  rawhide -> rawhide

Yup, the issue is back for me too.

Could not execute build: The following error occurred while trying to get the active release branches in PDC: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 root@localhost to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Brand new repo, so I thought I'd give it a few hours (4) to settle, but I have:

$ fedpkg push
X11 forwarding request failed on channel 0
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.82 KiB | 1.82 MiB/s, done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Unspecified ref refs/heads/rawhide is blocked
remote: Denied push for ref 'refs/heads/rawhide' for user 'wef'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/wf-recorder
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/wf-recorder'
Could not execute push: Failed to execute command.

repo is wf-recorder

@wef repository permissions and what I cna see on the system all look correct. Can you try logging out of pkgs.fedoraproject.org and logging back in again to see if that kicks whatever was the issue?

Nope - makes no difference:

$ kdestroy -A
$ klist
klist: Credentials cache 'KCM:1545' not found
$ kinit wef@FEDORAPROJECT.ORG
Password for wef@FEDORAPROJECT.ORG: 
$ klist
Ticket cache: KCM:1545
Default principal: wef@FEDORAPROJECT.ORG

Valid starting     Expires            Service principal
25/12/22 07:39:23  26/12/22 07:39:19  krbtgt/FEDORAPROJECT.ORG@FEDORAPROJECT.ORG
    renew until 01/01/23 07:39:19
$ fedpkg push
X11 forwarding request failed on channel 0
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.82 KiB | 1.82 MiB/s, done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Unspecified ref refs/heads/rawhide is blocked
remote: Denied push for ref 'refs/heads/rawhide' for user 'wef'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/wf-recorder
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/wf-recorder'
Could not execute push: Failed to execute command.

remote: Unspecified ref refs/heads/rawhide is blocked

This seems to be a pdc issue and looking at:
https://pdc.fedoraproject.org/rest_api/v1/component-branches/?global_component=halibut
I can't see rawhide listed there

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog