Where can I get a Recent-Git-Build of FreeBASIC?

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Thank you and OK for the restart in December.
But now, no update of the documentation and the compiler since January 1, 2020 ?
St_W
Posts: 1618
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by St_W »

Thanks for the hint, the machine ran out of disk space. I've cleaned up some space so that it should work now again. A documentation build will be triggered when a new change is detected (from now on again). (Change history is queried using the RSS feed XML: https://freebasic.net/wiki/wikka.php?wa ... hanges.xml )
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

OK now. Thank you.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

It's been four times since a documentation update did not trigger the generation of the .chm file at http://users.freebasic-portal.de/stw/builds/ !
St_W
Posts: 1618
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by St_W »

Thanks a lot for the hint,fxm. Last known good was on 2020-05-23, first recorded failure was on 2020-06-09 (and 4 more times since then). The problem was an expired SSL certificate on the freebasic-portal.de server, which caused the CHM upload to fail. As I cannot do any changes to the configuration of that server I've disabled certificate checks during the upload for now. This should fix the documentation upload (and other build artifact uploads).
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Thank you so much.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Blocked again?
St_W
Posts: 1618
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by St_W »

No, the problem is that no build has been triggered at all:
Image

I'm not sure what caused the issue, but for some reason the Recent-Changes RSS feed of the FreeBasic Wiki couldn't be fetched from the server, according to the logs:

Code: Select all

Invoking the url: 
 https://freebasic.net/wiki/wikka.php?wakka=RecentChanges/recentchanges.xml
[ERROR] - Polling error...
[ERROR] - Error message: java.net.UnknownHostException: freebasic.net
[ERROR] - Error cause: freebasic.net
I'm not sure what exactly caused the RSS-feed fetching to fail. The freebasic website is not too reliable and fetching that RSS feed is really slow, but it doesn't look like this occured a single time only. Also Windows Updates were pending, which sometimes causes weird system behavior, maybe that was the cause. Whatever kind of network issue occured, it caused the build system to miss the documentation change and thus not trigger a new build. So I restarted the machine and manually triggered a documentation build just now. I'll check whether the RSS-feed fetching works in the next few days.
counting_pine
Site Admin
Posts: 6323
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by counting_pine »

java.net.UnknownHostException: freebasic.net
A failure to resolve freebasic.net sounds like a DNS issue.
It suggests the build server couldn't reach its DNS provider. So either the DNS provider had an outage, or the Internet connection went down.
If you can configure the DNS server, Cloudflare (1.1.1.1) or Google (8.8.8.8) should be rock solid.
Or to guard against Internet problems, maybe the first thing the build script should do is attempt to ping freebasic.net, and abort on failure.
That would ensure the Internet, DNS, and (to a very minimal extent) the freebasic.net host, are all working.
St_W
Posts: 1618
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by St_W »

Thanks counting_pine, I guess it was some kind of internet connectivity issue. Google's DNS is currently configured as secondary DNS server.
I'm using the Jenkins URLTrigger plugin to check for changes and trigger the build if any have been detected (= result of XPath expression //pubDate[1] changed). Unfortunately the plugin doesn't provide any means to customize the check, perform any pre-checks or have some kind of retry mechanism. Also the plugin doesn't persist the context (other than in-memory) so a change is only detected if it happened between two sucessfull polls. For performance reasons (not having too many documentation builds) I've configured to poll only once a day (cron: H 3 * * *).
Anyway, polling for changes worked again this night (timestamp is GMT+2):

Code: Select all

Polling started on 05.07.2020 03:38:00
Polling for the job FreeBasic Documentation
Looking nodes where the poll can be run.
Looking for a node to the restricted label master.
Restrict on master label. Polling on master.

Polling on master.
Resolving environment variables using global values
Invoking the url: 
 https://freebasic.net/wiki/wikka.php?wakka=RecentChanges/recentchanges.xml
Inspecting the content
Capturing URL context. Waiting next schedule to check a change.

Polling complete. Took 38 seconds.
No changes.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

It seems to be working fine this time while I update the wiki documentation almost every day.
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

It was too good to last :-(
St_W
Posts: 1618
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by St_W »

Documentation build was stuck for some reason (during page download). Added a timeout of 2 hours. Thanks a lot for your documentation work fxm!
srvaldez
Posts: 3373
Joined: Sep 25, 2005 21:54

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by srvaldez »

yes, thank you fxm :-)
fxm
Moderator
Posts: 12081
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Where can I get a Recent-Git-Build of FreeBASIC?

Post by fxm »

Thanks, I'm glad some people are thanking me for my work on the documentation.
Otherwise, I might think that I am working for nothing, or rather for myself alone (I often consult the pages I wrote some time ago!).
Post Reply