s means that you have found a kernel bug. Which means that
the bug in the kernel has to be identified and fixed.
--
Cyril Hrubis
chru...@suse.cz
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
This mailing list has been replaced by l...@lists.linux.it long time ago,
please send patches to the new list instead.
--
Cyril Hrubis
chru...@suse.cz
--
Check out the vibrant tech community on one of the world's
review will have to wait at least a week or two.
--
Cyril Hrubis
chru...@suse.cz
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_
I suppose I should have posted to fsdevel and CC Jan anyway...
I do prefer mailing list over pull requests but I work with both.
--
Cyril Hrubis
chru...@suse.cz
--
Check out the vibrant tech community on one of the w
Hi!
This is the old mailing list that has been abandoned a few years ago
when sourceforge had frequent outages, the new one is at l...@lists.linux.it.
--
Cyril Hrubis
chru...@suse.cz
--
Check out the vibrant tech
4_ioc
> netns_comm_ns_exec_ipv6_ioc
> netns_comm_ip_ipv4_netlink
> netns_comm_ip_ipv6_netlink
> netns_comm_ip_ipv4_ioctl
> netns_comm_ip_ipv6_ioctl
The easiest way is to create custom runtest file, i.e. copy
runtest/containers to new file and delete what you do not want to run.
Then you can pass the
shouldn't need anything more than
setting up right compiler:
$ export CC=arm-buildroot-linux-gnueabi-gcc
$ make
--
Cyril Hrubis
chru...@suse.cz
--
Presto, an open source distributed SQL query engine for big data, initially
Hi!
This list has been retired, please use l...@lists.linux.it
(http://lists.linux.it/listinfo/ltp) instead.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp
Hi!
FYI this list has been abandoned, all discussion now happens on
l...@lists.linux.it
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list
ed all LTP documentation to point to this list so if you, for
instance look at README in the LTP git repo it will point you this
page as well...
--
Cyril Hrubis
chru...@suse.cz
--
" %u", attr.sched_deadline, DEADLINE_VAL);
> + fail++;
> + }
> +
> + if (fail)
> + tst_resm(TFAIL, "attributes were read back incorrectly");
> + else
> + tst_resm(TPASS, "attributes were read back correctly")
t; fi
>
> -exit $ret;
> +tst_exit
Unless the whole script is converted to the test.sh the exit $ret must
stay here, otherwise the return status from the test will be always 0.
T
scription <= 50 characters
[empty line]
longer commit description that may span across multiple lines with lines
up to 72 chars long...
[empty line]
Signed-off-by: ...
--
Cyril Hrub
Hi!
> Seems like it's a better and more concise solution. Need I to prepare and
> send a second version of the PATCH?
Ideally yes, if you send a patch I will apply it right away.
--
Cyril Hrubis
chru...@s
kernel
contains the fix.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
d1cdf04b4
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
I've just set up auto reply for this list that we have moved to the new
list at l...@lists.linux.it. Please do not start a new conversations
here and if you have pending patches please resend them to the new
list.
--
Cyril Hrubis
chru...@suse.cz
and
then we will move the discusssion there.
--
Cyril Hrubis
chru...@suse.cz
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place
id *get_func(void *mem)
> +static int page_present(void *p)
> {
> - memcpy(mem, exec_func, getpagesize());
> + int fd;
> +
> + fd = SAFE_OPEN(cleanup, "page_present", O_WRONLY|O_CREAT, 0644);
Why don't we use "/dev/null"?
The rest l
ight, the memory is not touched in the write_null()
function at all.
drivers/char/mem.c:
static ssize_t write_null(struct file *file, const char __user *buf,
size_t count, loff_t *ppos)
{
return count;
}
-
Hi!
> Replace cat with echo, which should be a builtin function
> for most shells. Avoiding to spawn 'cat' for every syscall
> entry can save time when generating linux_syscall_numbers.h:
Nice catch, acked.
--
Cyril Hrubis
chru..
nds on new enough
> machine). Does that still concern anybody?
And since Jan pushed a patch that speeds up the script that generates
the header significantly we can drop it from git now.
I've applied this patch and added a .gitignore record for the header as
well, thanks.
--
ce rest of the file
uses four spaces for indentation and pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
ps://github.com/linux-test-project/ltp/blob/master/include/mk/env_pre.mk#L98
>
> So I've decided to include these configuration files for "clean" target too.
> I've supposed that "clean" target may be invoked even if those files don't
> exist so I've used error suppre
tibility targets. Not that it's apriory
wrong but I would rather be more conservative and only include the
config.mk and features.mk.
One option would be to add the:
-include $(abs_top_builddir)/include/mk/config.mk
-include $(abs_top_builddir)/include/mk/features.mk
before the ifeq tha
+ tst_resm TPASS "case$i($CASETYPE$CASECMD) PASS"
> +elif [ $ret -ne 9 ]; then
> + tst_resm TFAIL "case$i($CASETYPE$CASECMD)FAIL"
> +fi
The rest looks good to me.
--
Cyril Hrubis
chru...@suse.cz
Also we may only want to check that the parameter is a numeric so that
we can tune the test parameters later (and for other parameters that can
be tuned such as number of subgroup as well).
The portable way to do that seems to be case statement:
case $mount_times in
''|*[!0-9]*) usag
mk files generated by configure does not exist but the
tree is not clean. Unless one deletes them manually of course.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
hat still concern anybody?
I guess that what you are trying to solve is that the file is not up to
date and it's not updated automatically because the timestamp for the
*.in files is the same as the linux_syscall_numbers.h since the files
were created at the same time when the git was checked up.
; {
> -return $(get_present_cpus | wc -w)
> + PRESENT_CPUS_NUM=`get_present_cpus | wc -w`
> }
Passing the value by global variable is ugly. Why don't we echo the
value here as:
echo $(get_present_cpus |wc -w), or even just call 'get_presnt_cpus |wc -w'
and do:
if [ $(get_present_cpus_num) -lt 2 ];
, comments or questions should go to to our
mailing list at ltp-list@lists.sourceforge.net.
PS: We had numerous troubles with mailing list on sourceforge, if you are aware
of good and free mailing list hosting service please let us know.
--
Cyril Hrubis
chru...@suse.cz
*** [io_destroy01] Error 1
The -laio is missing from the command line, but since you are seeing the
failure the HAVE_LIBAIO_H must be defined in config.h.
So it's looks like you have hand edited config.h (which is wrong thing
to do) after installing the library instead of
cannot link against them.
If that is the case you can either cross compile the libaio and set
right path for linker etc. or set up an arm virtual machine or chroot
with qemu arm emulation and compile LTP there.
--
Cyril Hrubis
chru...@s
f there's something I could look at prior
> to the final release.
Just now I'm still in the planning and designing phase. I will likely
want to discuss the changes before they get commited to LTP, either as
patches on ML or as separate git repo.
Hi!
I've just pushed last patch that has been requested to be included in
the relese. Unless anybody objects I will proceed with tagging the git,
uploading the tarballs, etc. tomorrow.
If you haven't tested latest git yet, now is the last chance to do so.
--
Cyril Hrubis
chru...@suse.cz
Hi!
There was no response for about three months. If nobody stands up and
fixes the testcase I would go for dropping it since it does not work
reliably as it is.
--
Cyril Hrubis
chru...@suse.cz
--
Monitor Your Dynamic
RHEL5.11GA, ns_ifmove.c gives compilation error since 'IFLA_NET_NS_PID'
> undeclared in the kernel.
Looks like we need a configure check for the enum constant and way to
propagate TCONF from the ns_ifmove to the netns_helper.sh.
I will look
; network
> namespace as it is used in netns testcases. I will rewrite ns_create and
> ns_exec
> after the release.
I was trying to be more defensive and remove everything that is not
needed, but I can live with this solutio
e the
release.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
ill
be the case, at least for any released distribution.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
d in the kernel.
Should be fixed in latest git, please test (don't forget to regenerate
configure script).
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp
and rewriting it after the release?
Everybody: If you have issues with the latest git please report them.
And if you haven't tested it yet please do so ASAP.
--
Cyril Hrubis
chru...@suse.cz
so that each testcase
would fork first, then run the real test in it's own virtual terminal,
etc.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@
r the testcases are
of course welcomed.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
./ns_exec 1234 mnt pid uts ls /
seems a bit confusing to me. Maybe use just $2 and comma-separate the
names? (Also for ns_create, for consistency.)
pid=$(./ns_create pid,mnt,uts,net)
./ns_exec $pid mnt,pid ls /
That's a bit harder to parse but you have the point.
--
Cyril Hrubis
execve(2) after doing setns on user ns
(see capabilities(7), Thread capability sets).
Yes, user namespaces are even bigger PITA than pid namespaces. :)
Looks like that.
--
Cyril Hrubis
chru...@suse.cz
accept the parameters the same way as the ns_create does,
i.e. list of argv parameters. And handle them in two passes, first one
would check that the parameters are correct and the second pass would
actually call the setns() one by one in the order they were specified.
--
Cyril Hrubis
chru...@suse.cz
new user namespace as well it can
succesfully join it.
Why do we attempt to join all namespaces in the ns_exec? I guess that we
will have to change it to get a list of namespaces to join the same way
the ns_create does it.
--
Cyril Hrubis
chru...@suse.cz
the rf |= open_ns_fd(argv[1], user); line above.
Unfortunately EINVAL seems to be catch-all error for setns(), any idea
what is wrong here?
--
Cyril Hrubis
chru...@suse.cz
?
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Can we apply this patch before release?
Sure, acked.
(I wonder how we missed that in the review...)
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp
Hi!
Interesting, probably SRCU is much slower with this older kernel. From my
experiments 100 iterations isn't quite reliable to trigger the oops in my
testing instance. But 400 seem to be good enough.
I've changed the nuber of iterations to 400 and pushed it to git,
thanks.
--
Cyril Hrubis
Hi!
Pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
.
True. Will you remove that kill command on pushing or should I resend the
patch v4 ?
No need to resend, I will fix that before pusing.
--
Cyril Hrubis
chru...@suse.cz
Hi!
Pushed with these changes, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo
when something
will write to stdout and not the one we created.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
Hi!
Pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
I've just pushed complete rewrite of the testcases, please make sure
that netns testcases from latest git works for you.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list
Hi!
I've just pushed complete rewrite of the testcases, please make sure
that netns testcases from latest git works for you.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list
we start pre-release testing, please
let us know.
If nobody objects I would like to freeze LTP git repository on Monday
(24. 08.) and start the pre-release testing.
If there are any patches that should be included the release, please let
me know.
--
Cyril Hrubis
chru...@suse.cz
why exactly it was disabled. So I'm hesitant to enable it
unless we are sure that the code actually works fine on several
distributions.
--
Cyril Hrubis
chru...@suse.cz
Hi!
Pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
+ tst_resm TFAIL sysfs affected by a separate namespace
+fi
+
+tst_exit
Otherwise I'm ready to push these two patches (I did minor fixes in the
first one to silence compiler warnings though).
--
Cyril Hrubis
chru...@suse.cz
Hi!
Both pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
is mistake as
well. Since the NS_HANDLE is pid and it may have been reused if there
was a lot of forking done on the system meanwhile. Which is unlikely but
still possible.
--
Cyril Hrubis
chru...@suse.cz
)
{
tst_brkm(TCONF, ...);
}
#endif /* HAVE_FOO */
+#endif
+ cleanup();
+ tst_exit();
+}
--
Cyril Hrubis
chru...@suse.cz
to
cpuctl_test* to match the filenames. Otherwise these changes looks fine
to me.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
the testcase can work with just two buffers, one
gets initialized in each iteration and one is read back and compared
with the initialized one.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp
start pre-release testing, please
let us know.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists
Hi!
I've reworded the commit message and the TCONF message a bit and pushed,
thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list
Hi!
We can use tst_resm there and we would need to provide one more
parameter to determine was it PASS or FAIL (the expected result). It
will complicate virt_compare_netperf() a bit but still should be OK.
That sounds reasonable to me.
--
Cyril Hrubis
chru...@suse.cz
not support these options. I guess I can live with
that, but I don't like it.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
from perl
community and JUnit that comes from Jenkins.
[1] https://testanything.org/
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
Hi!
Hi,
I'm still not entirely convinced about this test.
So am I. What about checking that we can do at least MAXNEST levels?
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp
Hi!
Does the Lachesis is part of LTP? or Its a standalone linux test
framework available in opensource.
Never heard of it.
There is an pdf on lwn net about it but the links to repository are
dead. I'm afraid that the project does not exist anymore.
--
Cyril Hrubis
chru...@suse.cz
-project/ltp/wiki/Test-Writing-Guidelines#227-doing-real-test-in-the-child-process
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
ENOSYS etc.
* Added inotify06 binary to gitignore.
And checked that it still Opses kernel after these changes, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
res=TFAIL
+
+tst_resm $res done
I would rather see the test issuing one PASS/FAIL for each of the
asserting here. Why cannot we use tst_resm TPASS/TFAIL in the
virt_compare_netperf function?
--
Cyril Hrubis
chru...@suse.cz
.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Cyril Hrubis
chru...@suse.cz
your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Cyril Hrubis
chru...@suse.cz
link delete $vx
+ ROD_SILENT ip link set $vx down
+ ROD_SILENT ip link delete $vx
Do we really want to exit the cleanup if deleting one of the interfaces
has failed?
--
Cyril Hrubis
chru...@suse.cz
skip one test out of many is annoying, which is why I'm
pondering a plan to change bitflags in the test library (both C and bash
one) to counters so that we can say how much of the testcase was
actually skipped.
--
Cyril Hrubis
chru...@suse.cz
@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
Hi!
Most interfaces share the same ip command syntax and the same test
scenarious can be applied to them. So rename vxlan directory to more
general 'virt' directory and add those interfaces to it.
Apart from the minor nitpicks this patchset looks good to me.
--
Cyril Hrubis
chru...@suse.cz
)
+ tst_release_device(NULL, device);
+
+ tst_rmdir();
+}
--
1.8.4.2
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
void cleanup(void)
+{
+ if (mount_flag tst_umount(MNTPOINT))
+ tst_resm(TWARN | TERRNO, Failed to unmount);
+
+ if (device)
+ tst_release_device(NULL, device);
+
+ tst_rmdir();
+}
--
1.8.4.2
--
Cyril Hrubis
chru...@suse.cz
as calling wait().
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
minutes looks like good choice to
me.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp
the commit message and pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
to close file);
+
+ tst_rmdir();
+}
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
--
Cyril Hrubis
chru...@suse.cz
the $? in the if will correspond to the
return value from the sleep 1 and not from the ping.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list
-by: Michal Hocko mho...@suse.cz
Signed-off-by: Cyril Hrubis chru...@suse.cz
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https
Hi!
The current ltp version get name of virtul network interface card
with veth62@veth63 in the newest kernel version,
But we need a file name with veth62.
That looks suspicious, Alexey have you seen this?
--
Cyril Hrubis
chru...@suse.cz
and pushed both patches, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp
, cleanup_fn,
+ %s:%d: getsockname(%d, %p, %p) failed, file, lineno,
+ sockfd, addr, addrlen);
+ }
+
+ return rval;
+}
--
Cyril Hrubis
chru...@suse.cz
. Do we want to really keep these? Because they would need a
bit more work to make them less ugly...
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list
of the testcases.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
___
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
the output from the configure script if it can find usable numa.h
and numaif.h.
Also please add me in mailing list.
Do that yourself on LTP sf.net mailing list page.
--
Cyril Hrubis
chru...@suse.cz
1 - 100 of 1182 matches
Mail list logo