[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2026-02-08 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-intel/6.17.0-1007.7
kernel in -proposed solves the problem. Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-questing-linux-intel' to 'verification-done-
questing-linux-intel'. If the problem still exists, change the tag
'verification-needed-questing-linux-intel' to 'verification-failed-
questing-linux-intel'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-questing-linux-intel-v2 
verification-needed-questing-linux-intel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2026-01-23 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
nvidia-6.17/6.17.0-1008.8 kernel in -proposed solves the problem. Please
test the kernel and update this bug with the results. If the problem is
solved, change the tag 'verification-needed-noble-linux-nvidia-6.17' to
'verification-done-noble-linux-nvidia-6.17'. If the problem still
exists, change the tag 'verification-needed-noble-linux-nvidia-6.17' to
'verification-failed-noble-linux-nvidia-6.17'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-noble-linux-nvidia-6.17-v2 
verification-needed-noble-linux-nvidia-6.17

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2026-01-16 Thread Po-Hsu Lin
Verified with q/linux/6.17.0-14.14, this patch is working as expected.

** Tags removed: verification-needed-questing-linux
** Tags added: verification-done-questing-linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2026-01-14 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/6.17.0-14.14 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-questing-linux' to 'verification-done-questing-
linux'. If the problem still exists, change the tag 'verification-
needed-questing-linux' to 'verification-failed-questing-linux'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-questing-linux-v2 
verification-needed-questing-linux

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2026-01-08 Thread Stefan Bader
** Changed in: linux (Ubuntu Questing)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu Questing)
   Status: In Progress => Fix Committed

** Changed in: linux (Ubuntu)
   Status: New => Fix Released

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2025-12-24 Thread Ubuntu Kernel Bot
** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129812

Title:
  bareudp.sh in ubuntu_kselftests_net fails because of dash default
  shell

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2129812/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2129812] Re: bareudp.sh in ubuntu_kselftests_net fails because of dash default shell

2025-12-24 Thread Po-Hsu Lin
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Questing)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Questing)
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: linux (Ubuntu Questing)
   Status: New => In Progress

** Description changed:

+ 
+ [ Impact ]
+ In bareudp.sh, this script uses /bin/sh and it will load another lib.sh
+ BASH script at the very beginning.
+ 
+ But on some operating systems like Ubuntu, /bin/sh is actually pointed to
+ DASH, thus it will try to run BASH commands with DASH and consequently
+ leads to syntax issues:
+   # ./bareudp.sh: 4: ./lib.sh: Bad substitution
+   # ./bareudp.sh: 5: ./lib.sh: source: not found
+   # ./bareudp.sh: 24: ./lib.sh: Syntax error: "(" unexpected
+ 
+ Fix this by explicitly using BASH for bareudp.sh. This fixes test
+ execution failures on systems where /bin/sh is not BASH.
+ 
+ [ Test Plan ]
+ Run the bareudp.sh with this patch applied, the syntax issues above will
+ be fixed and the test can proceed.
+ 
+ [ Where problems could occur ]
+ The change has been applied upstream and 6.17.10, it can be cherry-picked
+ the scope is limited to the test script itself, with no functional changes
+ to the kernel.
+ We may discover new failures through this test. Even if this change is
+ incorrect, it should not make anything worse, as the test has already
+ been blocked by this syntax issue.
+ 
+ 
+ == Original bug report ==
  bareudp.sh execution fails on questing because the shebang /bin/sh under 
ubuntu points to dash.
  Explicitly changing to /bin/bash fixes the issue
  
  20052  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 4: ./lib.sh: Bad substitution
  20053  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 5: ./lib.sh: source: not found
  20054  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 24: ./lib.sh: Syntax error: 
"(" unexpected
  
  Full Log:
  20041  13:57:36 INFO | START ubuntu_kselftests_net.net:bareudp.sh 
ubuntu_kselftests_net.net:bareudp.sh timeout=2700 timestamp=1760968656 
localtime=Oct 20 13:57:36
  20042  13:57:36 DEBUG| Persistent state client._record_indent now set to 2
  20043  13:57:36 DEBUG| Persistent state client.unexpected_reboot now set to 
('ubuntu_kselftests_net.net:bareudp.sh', 'ubuntu_kselftests_net.net:bareudp.sh')
  20044  13:57:36 DEBUG| Waiting for pid 1348605 for 2700 seconds
  20045  13:57:36 WARNI| System python is too old, crash handling disabled
  20046  13:57:36 DEBUG| Running 'make run_tests -C net TEST_PROGS=bareudp.sh 
TEST_GEN_PROGS='' TEST_CUSTOM_PROGS='''
  20047  13:57:36 DEBUG| [stdout] make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'
  20048  13:57:36 DEBUG| [stdout] TAP version 13
  20049  13:57:36 DEBUG| [stdout] 1..1
  20050  13:57:36 DEBUG| [stdout] # timeout set to 0
  20051  13:57:36 DEBUG| [stdout] # selftests: net: bareudp.sh
  20052  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 4: ./lib.sh: Bad substitution
  20053  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 5: ./lib.sh: source: not found
  20054  13:57:37 DEBUG| [stdout] # ./bareudp.sh: 24: ./lib.sh: Syntax error: 
"(" unexpected
  20055  13:57:37 DEBUG| [stdout] not ok 1 selftests: net: bareudp.sh # exit=2
  20056  13:57:37 DEBUG| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kselftests_net/src/linux/tools/testing/selftests/net'
  20057  13:57:37 ERROR| Exception escaping from test:
  20058  Traceback (most recent call last):
  20059   File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
  20060   _call_test_function(self.execute, *p_args, **p_dargs)
  20061   ~~~^^
  20062   File "/home/ubuntu/autotest/client/shared/test.py", line 823, in 
_call_test_function
  20063   return func(*args, **dargs)
  20064   File "/home/ubuntu/autotest/client/shared/test.py", line 290, in 
execute
  20065   self._call_run_once(constraints, profile_only,
  20066   ~~~^^^
  20067   postprocess_profiled_run, args, dargs)
  20068   ^^
  20069   File "/home/ubuntu/autotest/client/shared/test.py", line 212, in 
_call_run_once
  20070   self.run_once(*args, **dargs)
  20071   ~
  20072   File 
"/home/ubuntu/autotest/client/tests/ubuntu_kselftests_net/ubuntu_kselftests_net.py",
 line 174, in run_once
  20073   raise error.TestError(test_name + ' failed.')
  20074  autotest.client.shared.error.TestError: net:bareudp.sh failed.
  20075  13:57:37 ERROR| child process failed
  20076  13:57:37 DEBUG| Traceback (most recent call last):
  20077  13:57:37 DEBUG| File "/home/ubuntu/autotest/client/shared/test.py", 
line 411, in _exec
  20078  13:57:37 DEBUG| _call_test_function(self.execute, *p_args, **p_dargs)
  20079  13:57:37 DEBUG| ~~~^^
  20080  13:57:37 DEBUG| File "/ho