You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems a heal is ran before shd process gets ready.
2. Some testcase rely on the output of command, such as touch in ./tests/bugs/replicate/issue-1254-prioritize-enospc.t, as the judge standard of a sub-testcase. However,the output of touch may be changed into diffirent language. And these changes will eventually leads to failure.
Meanwhile, a sub-testcase in ./tests/bugs/fuse/bug-858215.t is failed during obtaining glustershd pid. It is executed during shd startup and hence collects the pid of both the child and parent, which then leads to failure in TEST [ $glustershd_pid != 0 ].
not ok 15 [ 85/ 4] < 45> '[ 40232 40233 != 0 ]' -> ''
In bug-858215.t, it is to complex by getting mount_pid from all glusterfs pids except for shd and nfs. Whether it's ok by getting mount_pid directly from ps auxwww?
The exact command to reproduce the issue:
The full output of the command that failed:
Expected results:
regression testcases should return the same result even in diffirent environments.
The text was updated successfully, but these errors were encountered:
Results of some regression tests may vary on diffirent env,
due to the unready status of shd process or unexpected
output language of key commands in test case.
So, it should be made sure that shd process has got ready before
a `gluster v heal` cmd is triggered in testcase. And if the output
of command is the judge standard of sub-testcase, we also shuold
assure it is shown in specified language as expected.
Fixes: gluster#4432
Signed-off-by: chenjinhao <[email protected]>
Description of problem:
The result of some regression testcases may vary on diffirent envrionments, they get failed in env A, while succeed in env B.
After further analysis, I found there are mainly 2 reasons that cause failure:
gluster volume heal
failed in some testcases with log:The corresponding testcase is:
It seems a
heal
is ran before shd process gets ready.2. Some testcase rely on the output of command, such as
touch
in./tests/bugs/replicate/issue-1254-prioritize-enospc.t
, as the judge standard of a sub-testcase. However,the output of touch may be changed into diffirent language. And these changes will eventually leads to failure.Meanwhile, a sub-testcase in
./tests/bugs/fuse/bug-858215.t
is failed during obtainingglustershd
pid. It is executed during shd startup and hence collects the pid of both the child and parent, which then leads to failure inTEST [ $glustershd_pid != 0 ]
.In
bug-858215.t
, it is to complex by gettingmount_pid
from all glusterfs pids except for shd and nfs. Whether it's ok by getting mount_pid directly fromps auxwww
?The exact command to reproduce the issue:
The full output of the command that failed:
Expected results:
The text was updated successfully, but these errors were encountered: