[Buildroot] [PATCH/next 2/3] support/testing; add prosody test

François Perrad francois.perrad at gadz.org
Tue Nov 27 04:52:47 UTC 2018


Le mar. 27 nov. 2018 à 03:43, Ricardo Martincoski <
ricardo.martincoski at gmail.com> a écrit :

> Hello,
>
> On Sat, Nov 24, 2018 at 07:07 AM, Francois Perrad wrote:
>
> > +    def prosody_test(self):
> > +        # prosody was launched as service
> > +        cmd = "prosodyctl status"
> > +        output, exit_code = self.emulator.run(cmd)
> > +        self.assertEqual(exit_code, 0)
> > +        self.assertIn("Prosody is running", output[0])
>
> I get an error message before the expected string:
>
> # prosodyctl status
> certmanager         error       SSL/TLS: Error initialising for
> client_https port 0: unknown elliptic curve in "X25519:P-384:P-256:P-521"
> Prosody is running with PID 727
> #
>
> https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/125808115
>
> I don't know if this message is expected in this minimal config or not.
> If it is expected, we could add a comment and run something like this:
>         self.assertIn("Prosody is running", output[1])
>
> Any ideas?
>
>
We use the same "minimal" config.
We have a reproductibility issue.
I run test_prosody on my local box : "Prosody is running" is in output[0]
You run the same test in Gitlab CI : "Prosody is running" is in output[1]

Could you try to run the test locally ?

François


>
> Regards,
> Ricardo_______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181127/b999f5fb/attachment.html>


More information about the buildroot mailing list