From: Changqing Li <changqing.li@windriver.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] ruby: workaround ptest hang problem
Date: Wed, 3 Nov 2021 16:01:12 +0800 [thread overview]
Message-ID: <741da653-7ce5-0eff-83fe-7eb15f973c94@windriver.com> (raw)
In-Reply-To: <CANNYZj_O1AcmhHYm=uuOS74Ma=JU9MP7uXxWVE8Hy5apOx66DA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3548 bytes --]
On 11/3/21 2:36 PM, Alexander Kanavin wrote:
>
> **[Please note: This e-mail is from an EXTERNAL e-mail address]
>
> Thanks, does this mean t can be moved out of ptest_problems list?
test_smtp hang problem should caused by openssl upgrade to 3.0. but
ruby_ptest is moved into ptest_problems when openssl is 1.1,
so I am not sure why ruby_ptest timeout in the past. But after I
remove test_smtp, I can run ruby test successfully.
if no objection, maybe I can try move it out of ptest_problems and send
a V2
//Changqing
>
> Alex
>
> On Wed 3. Nov 2021 at 6.50, Changqing Li <changqing.li@windriver.com
> <mailto:changqing.li@windriver.com>> wrote:
>
> From: Changqing Li <changqing.li@windriver.com
> <mailto:changqing.li@windriver.com>>
>
> since openssl 3 not compatible problem, ruby have disable openssl
> extention. But disable openssl extention make test_smtp.rs
> <https://urldefense.com/v3/__http://test_smtp.rs__;!!AjveYdw8EvQ!KRwgmqCbWpbd4POOmjciuyaTRY8ELuICspkVDw3exWGHI7r5_v_SA8NhwdyWxhbCjFDmlw$>
> hang at
> test case "test_start".
>
> Net::TestSMTP#test_start:
> NameError: uninitialized constant Net::SMTP::OpenSSL
> Did you mean? Open3
> /usr/lib64/ruby/3.0.0/net/smtp.rb:195:in `default_ssl_context'
> /usr/lib64/ruby/3.0.0/net/smtp.rb:552:in `start'
> /usr/lib64/ruby/3.0.0/net/smtp.rb:475:in `start'
> /usr/lib64/ruby/ptest/test/net/smtp/test_smtp.rb:199:in `test_start'
>
> temporarily remove the hang case to make other testcases can be run.
>
> Signed-off-by: Changqing Li <changqing.li@windriver.com
> <mailto:changqing.li@windriver.com>>
> ---
> meta/recipes-devtools/ruby/ruby.inc | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-devtools/ruby/ruby.inc
> b/meta/recipes-devtools/ruby/ruby.inc
> index 2b5caf35f5..776c409f6c 100644
> --- a/meta/recipes-devtools/ruby/ruby.inc
> +++ b/meta/recipes-devtools/ruby/ruby.inc
> @@ -42,3 +42,7 @@ do_configure:prepend() {
> do_configure:prepend() {
> rm -rf ${S}/ext/openssl/extconf.rb
> }
> +# Remove this test temporarily until it compatible with openssl 3
> +do_install_ptest:append() {
> + rm -rf ${D}${PTEST_PATH}/test/net/smtp/test_smtp.rb
> +}
> --
> 2.17.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#157818):
> https://lists.openembedded.org/g/openembedded-core/message/157818
> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/157818__;!!AjveYdw8EvQ!KRwgmqCbWpbd4POOmjciuyaTRY8ELuICspkVDw3exWGHI7r5_v_SA8NhwdyWxhYfrjf3Gg$>
> Mute This Topic:
> https://lists.openembedded.org/mt/86785429/1686489
> <https://urldefense.com/v3/__https://lists.openembedded.org/mt/86785429/1686489__;!!AjveYdw8EvQ!KRwgmqCbWpbd4POOmjciuyaTRY8ELuICspkVDw3exWGHI7r5_v_SA8NhwdyWxhZ-072GZw$>
> Group Owner: openembedded-core+owner@lists.openembedded.org
> <mailto:openembedded-core%2Bowner@lists.openembedded.org>
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub
> <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!AjveYdw8EvQ!KRwgmqCbWpbd4POOmjciuyaTRY8ELuICspkVDw3exWGHI7r5_v_SA8NhwdyWxhbrqz8_YA$>
> [alex.kanavin@gmail.com <mailto:alex.kanavin@gmail.com>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #2: Type: text/html, Size: 6223 bytes --]
next prev parent reply other threads:[~2021-11-03 8:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 5:48 [PATCH] ruby: workaround ptest hang problem changqing.li
2021-11-03 6:36 ` [OE-core] " Alexander Kanavin
2021-11-03 8:01 ` Changqing Li [this message]
2021-11-03 8:20 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=741da653-7ce5-0eff-83fe-7eb15f973c94@windriver.com \
--to=changqing.li@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.