We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0db62d + cd503fa commit c433f10Copy full SHA for c433f10
teuthology/task/internal/syslog.py
@@ -106,7 +106,7 @@ def syslog(ctx, config):
106
log.debug('Checking %s', rem.name)
107
stdout = rem.sh(
108
[
109
- 'egrep', '--binary-files=text',
+ 'grep', '-E', '--binary-files=text',
110
'\\bBUG\\b|\\bINFO\\b|\\bDEADLOCK\\b',
111
run.Raw(f'{archive_dir}/syslog/kern.log'),
112
run.Raw('|'),
@@ -143,11 +143,11 @@ def syslog(ctx, config):
143
144
'grep', '-v', 'container-storage-setup: INFO: Volume group backing root filesystem could not be determined', # noqa
145
146
- 'egrep', '-v', '\\bsalt-master\\b|\\bsalt-minion\\b|\\bsalt-api\\b',
+ 'grep', '-E', '-v', '\\bsalt-master\\b|\\bsalt-minion\\b|\\bsalt-api\\b',
147
148
'grep', '-v', 'ceph-crash',
149
150
- 'egrep', '-v', '\\btcmu-runner\\b.*\\bINFO\\b',
+ 'grep', '-E', '-v', '\\btcmu-runner\\b.*\\bINFO\\b',
151
152
'head', '-n', '1',
153
],
teuthology/task/kernel.py
@@ -560,7 +560,7 @@ def install_and_reboot(ctx, need_install, config):
560
# complex this will totally break.
561
562
kernel_entries = role_remote.sh([
563
- 'egrep',
+ 'grep', '-E',
564
'(submenu|menuentry.*' + kernel_title + ').*{',
565
'/boot/grub/grub.cfg'
566
]).split('\n')
0 commit comments