------- Comment From l...@ibm.com 2021-07-30 10:31 EDT-------
> Do you have any suggestion on how I can reproduce the "rpmem_fip/TEST0"
> issue you are hitting? Thanks!

Hi @paride. I spent some time trying to identify the issue. Indeed it occurs 
with
the provided package. Here is some steps to test it:

1. Install the provided librpmem and libfabric
2. Clone PMDK repository https://github.com/pmem/pmdk.git
3. Checkout to branch stable-1.10
4. Compile
5. Configure src/test/testconfig.sh. I will put an example on the end of the 
message
- To do that copy the testconfig.sh.example to testconfig.sh. Fill it with the 
configurations for your system.
- Be sure to set the variable PMDK_LIB_PATH_NONDEBUG with the path to 
librpmem.so.
- As you are not on a DAX device use PMEM_FS_DIR_FORCE_PMEM=1.
- As this will be a librpmem test we need to configure the node variables. Also 
ssh keys must be configured to access the nodes without password. For example, 
using the testconfig.sh bellow you will need to run "ssh-copy-id 127.0.0.1"
6. Inside the src/test/ directory run "./RUNTESTS -b nondebug rpmem_fip -s 
TEST0". This will run only one rpmem_fip/TEST0 for nondebug. It's enough to 
reproduce the
error

Here is an example of testconfig.sh:

PMEM_FS_DIR=/tmp/pmem-fs.d
NON_PMEM_FS_DIR=/tmp/non-pmem-fs.d
PMEM_FS_DIR_FORCE_PMEM=1
PMDK_LIB_PATH_NONDEBUG=/usr/lib/powerpc64le-linux-gnu/
TEST_BUILD="nondebug"
TEST_TIMEOUT=6m
TM=1
KEEP_GOING=y
CLEAN_FAILED=y
UNITTEST_LOG_LEVEL=0
UNITTEST_LOG_LEVEL=1
NODE[0]=127.0.0.1
NODE[1]=127.0.0.1
NODE[2]=127.0.0.1
NODE[3]=127.0.0.1
NODE_ADDR[0]=127.0.0.1
NODE_ADDR[1]=127.0.0.1
NODE_ADDR[2]=127.0.0.1
NODE_ADDR[3]=127.0.0.1
NODE_WORKING_DIR[0]=/tmp/node0
NODE_WORKING_DIR[1]=/tmp/node1
NODE_WORKING_DIR[2]=/tmp/node2
NODE_WORKING_DIR[3]=/tmp/node3
NODE_ENV[0]="PMEM_IS_PMEM_FORCE=1"
NODE_ENV[1]="PMEM_IS_PMEM_FORCE=1"
NODE_ENV[2]="PMEM_IS_PMEM_FORCE=1"
NODE_ENV[3]="PMEM_IS_PMEM_FORCE=1"
TEST_PROVIDERS=sockets

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

Title:
  [SRU] Include powerpc port upstream fixes to librpmem 1.10 on pmdk
  package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1931063/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to