-
Notifications
You must be signed in to change notification settings - Fork 123
Build Server stuff #160
Comments
Just pushed a few build system related fixes. But you need to fix some packages on your stable debian-stable machine as well:
|
Looks good, thanks for fixing those issues. I also did those steps on debian-stable agent. For other machines installing qtdeclarative5-dev was not possible, because it conflicts with qdbus which is needed by kde4. So I restored the previous script configure-debian-wheezy as configure-debian-wheezy-local. I also added the installation steps you mentioned as notes in the README.md because they might be of interest by others. |
Thanks for upgrading the agents! Stuff that is missing on stable 1.) latex (+ I think texlive-latex-recommended is needed, too)
2.) Can you install clang (for elektra-clang, clang of wheezy won't work)? |
Why do you need wine? Btw, you should change |
Thank you for docu! wine is needed to execute the cross-compiled windows binaries (e.g. exporterrors.exe) I think you installed the mingw that builds for w64. In the mingw32 package, there is still a A new toolchain file for w64 is nevertheless appreciated. |
I installed |
Wine installed on both containers. |
Actually, the mingw build is bound to stable, so that should not be an issue. MinGW-w64 is a fork on mingw and is quite a different target. Nobody tested it up to now. |
thanks for installing wine |
Mingw-w64 looks superior. Maybe it's time to move on :-) |
Contributions welcome ;) I do not have any machine to test it. |
I am afraid you got the wrong wine, it should be apt-get install wine32 see also http://build.libelektra.org:8080/job/elektra-gcc-configure-mingw/218/console |
Nope.
|
ok, Edit: I'll see if I can get elektra build with mingw-w64 so I don't need to install tons of i686 libs. |
The problem is I do not have a spare jessie machine and wheezy's mingw does not know C++11. |
I managed to get mingw-w64 working. However std::mutex is not available because there's no glibc on windows and std::mutex depends on pthreads. Any ideas? |
Wow, thanks!
Does it lead to a compilation error? The std::mutex is not used for internal
functionality, but only in a header file to be included by a user. It is used
in test cases though.
One solution for compiliation problems is to provide a std::mutex in the mingw
case throwing system errors on every attempt to lock/unlock. Actually, I would
expect the mingw people to at least provide something like that (e.g. when
some macro is set, similar to -D_GLIBCXX_USE_NANOSLEEP)
https://github.com/meganz/mingw-std-threads might be another way. But that is
most likely only useful if all test cases except the ones involving std::mutex
already run.
Basically, this is only one instance of C++11 not properly available.
|
mingw status right now:
Right now I'm building with If I switch from I think our best bet is using |
Again, I am surprised that you even have this problem. Up to now we were happy when we got a libelektra.dll. I cannot say anything about this Does this decision even has an effect on libelektra.dll? If its only for the test cases, no one will care (as long as the build server is able to run it). If the test cases run, it will be a huge benefit. (See #270 where the unit tests unveiled some strange bugs on Mac OS X) It seems like that @beku What do you think? Do you have time to test our latest 0.8.13 mingw-w64 build on Windows together with oyranos? |
Are tests usually enabled for the mingw build job? Yesterday all of them were disabled. |
Yes, they were disabled. But afaik examples/benchmarks like |
I compiled the whole repo with C++11 enabled. Nothing more. But executables like bin/basename.exe built with -posix run fine as long as you copy the required dlls to the bin directory (thank you windows for not having RPATH). I haven't found a way to a) let cmake find the dll directory + b) point wine to the dll directory. |
@markus2330 I managed to get elektra to compile with mingw + running with wine without copying any dlls. The trick is to always enable static linking for both executable AND shared objects ( To work around duplicated symbols I've added version-scripts for libelektra and libelektratools. This way only our symbols get exported. This works really fine. e.g.
Even bin/cpp11_benchmark_thread.exe works. Other things just crash:
Right now I've simply added the version-script stuff without thinking about other compilers. Shall I continue my work or not interested? |
crashes in src/plugins/wresolver/wresolver.c because pk->filename is NULL |
pk is of type I tried to take a look at the plugin but I fail to understand the for-loop in |
Thanks for pointing that out! The code is obviously broken since the introduction in c87ae8e I fixed it in About continuing work: On the one hand, it would be nice if the compiled stuff also runs. On the other hand, the release should happen this weekend, so a pull request would be important soon (there should be at least a chance of a short feedback circle, e.g. what the version-scripts actually does) But imho its enough if only one variant (the static compilation) works. Great to see the kdb-tool running! |
Now it was i7, I cleaned and restarted. Everything should work again, otherwise please report here. EDIT: Also happened on v2. I restarted the two master builds that failed. |
And once again, |
Are there really this many PRs that require rebuilding Docker images recently? It almost seems as if there is actually a different problem here... |
@markus2330 @lukashartl see #4779 for my proposal to avoid the build-up of Docker images |
Please no discussions here as many people are subscribed. Only status reports of CI infrastructure. @lukashartl l1 seems to be down again? |
a7 has no space left on device, cleaning up. Maybe related to #4795. Failed build was retrigger on master: https://build.libelektra.org/blue/organizations/jenkins/libelektra/detail/master/940/pipeline EDIT 16:10: /ssd is now cleaned up (15%), I retrigger master. |
a7, i7, l1 and v2 will be restarted to apply important updates (kernel, etc.) and to test UPDATE: done. |
I just applied the patch for sudo, CVE-2023-22809. |
EDIT: done. |
EDIT: reboot didn't help at all. |
Jenkins has been upgraded due to important security fixes. Everything is up and running again. |
For the past two weeks, Jenkins continually fails at docker pull See for example
Command Output``` + docker pull hub.libelektra.org/build-elektra-debian-bullseye:202304-5401e635bf4ecef13011d26d223ae7ffd7ec6810d370cd9ed620b4c8d701648e202304-5401e635bf4ecef13011d26d223ae7ffd7ec6810d370cd9ed620b4c8d701648e: Pulling from build-elektra-debian-bullseye b0248cf3e63c: Pulling fs layer 31be8d2127f7: Pulling fs layer 6bdfde3f76a9: Pulling fs layer d3a02b34ef39: Pulling fs layer bb31511815c5: Pulling fs layer 857252a3cce5: Pulling fs layer 44374bef8a4c: Pulling fs layer 7a7d0ea7565f: Pulling fs layer 7dd6ac2f41a1: Pulling fs layer e9c9746c0c1f: Pulling fs layer df04be6a58c4: Pulling fs layer fc2f83bee459: Pulling fs layer 5f8bfc51628f: Pulling fs layer b7ad29071e14: Pulling fs layer 857252a3cce5: Waiting 44374bef8a4c: Waiting df04be6a58c4: Waiting 7a7d0ea7565f: Waiting fc2f83bee459: Waiting 5f8bfc51628f: Waiting 7dd6ac2f41a1: Waiting b7ad29071e14: Waiting e9c9746c0c1f: Waiting bb31511815c5: Waiting d3a02b34ef39: Waiting b0248cf3e63c: Retrying in 5 seconds 6bdfde3f76a9: Verifying Checksum 6bdfde3f76a9: Download complete d3a02b34ef39: Verifying Checksum d3a02b34ef39: Download complete bb31511815c5: Verifying Checksum bb31511815c5: Download complete b0248cf3e63c: Retrying in 4 seconds 857252a3cce5: Verifying Checksum 857252a3cce5: Download complete 44374bef8a4c: Verifying Checksum 44374bef8a4c: Download complete 7a7d0ea7565f: Download complete b0248cf3e63c: Retrying in 3 seconds b0248cf3e63c: Retrying in 2 seconds b0248cf3e63c: Retrying in 1 second b0248cf3e63c: Retrying in 10 seconds b0248cf3e63c: Retrying in 9 seconds b0248cf3e63c: Retrying in 8 seconds b0248cf3e63c: Retrying in 7 seconds b0248cf3e63c: Retrying in 6 seconds b0248cf3e63c: Retrying in 5 seconds b0248cf3e63c: Retrying in 4 seconds b0248cf3e63c: Retrying in 3 seconds b0248cf3e63c: Retrying in 2 seconds b0248cf3e63c: Retrying in 1 second b0248cf3e63c: Retrying in 15 seconds b0248cf3e63c: Retrying in 14 seconds b0248cf3e63c: Retrying in 13 seconds b0248cf3e63c: Retrying in 12 seconds b0248cf3e63c: Retrying in 11 seconds b0248cf3e63c: Retrying in 10 seconds b0248cf3e63c: Retrying in 9 seconds b0248cf3e63c: Retrying in 8 seconds b0248cf3e63c: Retrying in 7 seconds b0248cf3e63c: Retrying in 6 seconds b0248cf3e63c: Retrying in 5 seconds b0248cf3e63c: Retrying in 4 seconds b0248cf3e63c: Retrying in 3 seconds b0248cf3e63c: Retrying in 2 seconds 7dd6ac2f41a1: Verifying Checksum 7dd6ac2f41a1: Download complete e9c9746c0c1f: Download complete df04be6a58c4: Verifying Checksum df04be6a58c4: Download complete fc2f83bee459: Verifying Checksum fc2f83bee459: Download complete b0248cf3e63c: Retrying in 1 second b0248cf3e63c: Retrying in 20 seconds b0248cf3e63c: Retrying in 19 seconds b0248cf3e63c: Retrying in 18 seconds 5f8bfc51628f: Verifying Checksum 5f8bfc51628f: Download complete b0248cf3e63c: Retrying in 17 seconds b0248cf3e63c: Retrying in 16 seconds b0248cf3e63c: Retrying in 15 seconds b0248cf3e63c: Retrying in 14 seconds b0248cf3e63c: Retrying in 13 seconds b0248cf3e63c: Retrying in 12 seconds b0248cf3e63c: Retrying in 11 seconds b0248cf3e63c: Retrying in 10 seconds b0248cf3e63c: Retrying in 9 seconds b0248cf3e63c: Retrying in 8 seconds b0248cf3e63c: Retrying in 7 seconds b0248cf3e63c: Retrying in 6 seconds b0248cf3e63c: Retrying in 5 seconds b0248cf3e63c: Retrying in 4 seconds b0248cf3e63c: Retrying in 3 seconds b0248cf3e63c: Retrying in 2 seconds b0248cf3e63c: Retrying in 1 second b0248cf3e63c: Retrying in 25 seconds b0248cf3e63c: Retrying in 24 seconds b0248cf3e63c: Retrying in 23 seconds b0248cf3e63c: Retrying in 22 seconds b0248cf3e63c: Retrying in 21 seconds b0248cf3e63c: Retrying in 20 seconds b0248cf3e63c: Retrying in 19 seconds b0248cf3e63c: Retrying in 18 seconds b0248cf3e63c: Retrying in 17 seconds b0248cf3e63c: Retrying in 16 seconds b0248cf3e63c: Retrying in 15 seconds b0248cf3e63c: Retrying in 14 seconds b0248cf3e63c: Retrying in 13 seconds b0248cf3e63c: Retrying in 12 seconds b0248cf3e63c: Retrying in 11 seconds b0248cf3e63c: Retrying in 10 seconds b0248cf3e63c: Retrying in 9 seconds b0248cf3e63c: Retrying in 8 seconds b0248cf3e63c: Retrying in 7 seconds b0248cf3e63c: Retrying in 6 seconds b0248cf3e63c: Retrying in 5 seconds b0248cf3e63c: Retrying in 4 seconds b0248cf3e63c: Retrying in 3 seconds b0248cf3e63c: Retrying in 2 seconds b0248cf3e63c: Retrying in 1 second b7ad29071e14: Verifying Checksum b7ad29071e14: Download complete 31be8d2127f7: Verifying Checksum 31be8d2127f7: Download complete unexpected EOF script returned exit code 1
|
I am not sure if this is on purpose but I have noticed that if jenkins pipeline is rerun with no changes and all phases in the pipeline finish successfully, shows that the pipeline failed. If I click on details, I am redirected to the Jenkins overview page of this build and I see that all phases are green. At the top of the page it displays in yellow that there are no new changes introduced with this rerun - which is obvious. |
Seems like we ran out of disk space on Jenkins ... |
It was working today for a short time but it ran out of disk again |
We ran out of disk space again |
@lukashartl any ideas why this occurs again? |
From CI debian-unstable-clang-asan
this looks like there's something wrong with
AFAIK |
AFAIK there were no changes for |
No, on mingw you don't have full POSIX. This is off-topic here, please discuss in a separate issue, it is definitely not a build server problem. |
Update 23:00: Updates have been installed (kernel, jenkins, jenkins plugins, etc.). |
Update 23:00: Updates have been installed (kernel, jenkins, jenkins plugins, etc.). |
Thx, if you see it failing, you can do the maintenance tasks. Please retrigger the release afterwards (see #4928). |
Done. |
Something seems to be wrong with Cirrus, the three "Check" checks fail consistently. It looks like the docker build fails. |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. |
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
This issue gives up-to-date information about the health of our build system.
Report here any permanent problems (that cannot be fixed by rerunning the build job). Temporary problems should be reported in #2967.
Current open issues for our Jenkins build system:
make uninstall
leaves a clean system, see make uninstall does not uninstall everything #1244find . | grep -v '^[-_/.a-zA-Z0-9]*$'
see [FLOSS H1] build server check: only allow a-z, 0-9 and _ for file names #1615Fixed issues:
elektra-gcc-configure-debian-optimizations
toelektra-gcc-configure-debian-no-optimizations
debian-wheezy-mr
anddebian-strech-mr
The text was updated successfully, but these errors were encountered: