Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installer coming from cache does not complete in 360 minutes #16

Open
gcarreno opened this issue Jun 2, 2022 · 6 comments
Open
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed in-progress This issue is being delt with

Comments

@gcarreno
Copy link
Owner

gcarreno commented Jun 2, 2022

After implementing caching for the installer files, looks like the cached windows executable gets somehow damaged or altered that it now does not complete the installation and hangs for at least the 360 minutes allotted by GitHub actions.

I don't even know how to start debugging this one!

I've started this thread on the forums to see if I can get some help: https://forum.lazarus.freepascal.org/index.php/topic,59531.0.html

@gcarreno gcarreno added bug Something isn't working help wanted Extra attention is needed labels Jun 2, 2022
@gcarreno gcarreno self-assigned this Jun 2, 2022
@pashagolub
Copy link

pashagolub added a commit to cybertec-postgresql/pg_timetable_gui that referenced this issue Dec 28, 2022
@gcarreno
Copy link
Owner Author

Hey Y'all

I'm hoping that the last Pull Request that I merged from @ZhymabekRoman has resolved this issue!!

I'll need to confirm, but I also need to update the current Stable version, since I've been lazy and postponed it.

Cheers,
Gus

@ZhymabekRoman
Copy link
Contributor

ZhymabekRoman commented Feb 17, 2023

@gcarreno, thank you, I did not set out to fix this problem, but it seems to me that perhaps it should be solved. Have you tried to check the hash of the files is supplied in the cache? Maybe the files are corrupted in some way

@gcarreno
Copy link
Owner Author

Hey Zhymabek (@ZhymabekRoman),

thank you

You are more than welcome!!

I did not set out to fix this problem, but it seems to me that perhaps it should be solved.

To be honest I don't even know if it will solve it, but it's a start!

ave you tried to check the hash of the files is supplied in the cache? Maybe the files are corrupted in some way

Nope, and I'll tell you why: The cache system does not corrupt the .deb files, nor the .pkg/.dmg.
The only binary that has an issue is the Windows Setup one.
But, nonetheless, it maybe a good thing to actually experiment with a hash.

Thanks for the suggestion!!
I'll have a look into it once I get off my lazy arse and do the update of the current Stable version!!

Cheers,
Gus

pashagolub added a commit to cybertec-postgresql/pg_timetable_gui that referenced this issue Feb 17, 2023
pashagolub added a commit to cybertec-postgresql/pg_timetable_gui that referenced this issue Feb 17, 2023
…GHA-cache

[+] use Lazarus setup cache for GHA workflows, fixed gcarreno/setup-lazarus#16
@gcarreno
Copy link
Owner Author

Hey Y'all,

From the looks of it, the /SP- does not solve the issue :(

I've now disabled caching for windows all together.
I'm now a bit out of my depth since I don't know what else I should do in terms of debugging this.

Trying to build a personal runner would be a probability, but I don't mess with Windows any more 😞

I'll need some help from you peeps!!

Cheers,
Gus

@gcarreno gcarreno added the in-progress This issue is being delt with label May 17, 2023
@gcarreno
Copy link
Owner Author

gcarreno commented May 23, 2023

Hey Y'all,

From my latest "bang-my-head-against-a-wall" trying to find a solution for an OPM package that has spaces in the path(The issue is with OPM data, not setup-lazarus) I'm beginning to suspect that the cache for macOS is also having some issues.

I'm not quite sure because I haven't dig into the problem to eliminate my own stupidity 😃

I'll keep you posted when I have time to "bang-my-head-against-a-wall" on this particular development.

If it turns out that I cannot find a solution, in case this is an actual issue, I'm gonna give up on cache all together.
If it turns out that only Linux is OK with cache, it's not feasible to implement the cache. Sorry!!

Cheers,
Gus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed in-progress This issue is being delt with
Projects
None yet
Development

No branches or pull requests

3 participants