Subject: Rare project developers
List archive
- From: Alexander Gall <>
- To: <>
- Cc: Frédéric LOUI <>
- Subject: Re: [rare-dev] Automated profile optimizer
- Date: Tue, 7 Feb 2023 14:00:24 +0100
On Tue, 7 Feb 2023 11:09:08 +0100, Alexander Gall <> said:
> On Tue, 7 Feb 2023 11:04:16 +0100, mc36 <> said:
>> hi,
>> On 2/7/23 11:00, mc36 wrote:
>>>> Just remove and re-add the tag. I have enabled some debugging to see
>>>> why it fails when you do this.
>>>>
>>> i'll do it right now...
>>>
> So it failed again. It's very strange. The script reads the message
> body (which is a piece of JSON) like this
> read -n "$CONTENT_LENGTH" body
> I can see in the CGI log that the script is stuck right there
> Feb 07 11:02:46 hydra-nix fcgiwrap[1327450]: + read -n 1266 body
> That suggests that somehow there are not enough bytes in the input and
> the read blocks. It doesn't happen when I add the tag, so I'm a bit
> confused right now :/
I still don't understand it. Maybe "read" somehow chokes on the
non-ASCII characters in your name (part of the JSON blob that the
webhook receives from Bitbucket).
In order to not lose more time I initiated the optimizer myself (by
doing exactly what you did except that I use "git push origin
:optimize_profiles" to delete the remote tag, but that certainly
shouldn't make any difference). We need to debug this some other time.
You can now use the /progress command in the Slack channel to check
the progress.
--
Alex
> --
> Alex
>> mc36@rare:~/rare$ git tag -d optimize_profiles
>> Deleted tag 'optimize_profiles' (was aca161a)
>> mc36@rare:~/rare$ git push origin --tags --force
>> Everything up-to-date
>> mc36@rare:~/rare$ git tag -af optimize_profiles
>> mc36@rare:~/rare$ git push origin --tags --force
>> Enumerating objects: 1, done.
>> Counting objects: 100% (1/1), done.
>> Writing objects: 100% (1/1), 170 bytes | 170.00 KiB/s, done.
>> Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
>> To ssh://bitbucket.software.geant.org:7999/rare/rare.git
>> * [new tag] optimize_profiles -> optimize_profiles
>> mc36@rare:~/rare$ date
>> Tue Feb 7 11:03:19 AM CET 2023
>> mc36@rare:~/rare$
>> br,
>> cs
--
Alexander Gall, Network
SWITCH
Werdstrasse 2, P.O. Box, 8021 Zurich, Switzerland
phone +41 44 268 15 15, direct +41 44 268 15 22
https://switch.ch https://swit.ch/linkedin https://swit.ch/twitter
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/08/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, mc36, 02/07/2023
- Re: [rare-dev] Automated profile optimizer, Alexander Gall, 02/07/2023
Archive powered by MHonArc 2.6.19.