Skip to content

Conversation

@nmorey
Copy link
Contributor

@nmorey nmorey commented Apr 17, 2019

This works on my branch :)
Only thing you should need to do is go to:
https://travis-ci.org/organizations/linux-rdma/repositories
And enable it for ibsim.

I haven't enabled release publishing as it needs a token from someone with access to the repo.
See https://docs.travis-ci.com/user/deployment/releases/#authenticating-with-an-oauth-token for a howto.

@nmorey
Copy link
Contributor Author

nmorey commented Apr 17, 2019

Also there were 2 declarations for parsedebug. And no extern. I removed one and added an extern declaration as it seems the right thing to do.
Feel free to have 2 static variables if this was not the case

@rleon
Copy link
Member

rleon commented Apr 17, 2019

I enabled in travis-ci.

@rleon
Copy link
Member

rleon commented Apr 17, 2019

Do you want from me to create such OAUTH token?

@nmorey
Copy link
Contributor Author

nmorey commented Apr 17, 2019

That's your call. If you do, you'll get release tarballs automatically generated for you :)

@nmorey
Copy link
Contributor Author

nmorey commented Apr 17, 2019

I'll get on OpenSM tomorrow (and probably do infiniband-diags too so we have all the linux-rdma tools in CI)

@rleon
Copy link
Member

rleon commented Apr 17, 2019

That's your call. If you do, you'll get release tarballs automatically generated for you :)

It is not really my call, I have no intention to release anything besides rdma-core.

1 similar comment
@rleon
Copy link
Member

rleon commented Apr 17, 2019

That's your call. If you do, you'll get release tarballs automatically generated for you :)

It is not really my call, I have no intention to release anything besides rdma-core.

@hnrose
Copy link
Contributor

hnrose commented Apr 18, 2019 via email

Copy link
Contributor

@hnrose hnrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is libibverbs-dev needed ? ibsim doesn't use libibverbs AFAIK.

@hnrose
Copy link
Contributor

hnrose commented Apr 18, 2019

Manually merged first 3 patches. Only the travis patch remains which I'll test once I hear back on libibverbs-dev.

@nmorey nmorey force-pushed the dev/master/travis branch from ba6f961 to e7dd23f Compare April 18, 2019 06:50
@nmorey
Copy link
Contributor Author

nmorey commented Apr 18, 2019

@rleon I though Hal had sent your message. Thus the misunderstanding :)

@hnrose Submitted without the libibverbs-dev. It is in the SUSE spec file for some reason so I put it in there but you're right, it is not needed.

@nmorey nmorey force-pushed the dev/master/travis branch 5 times, most recently from 18b2c76 to ccf6b94 Compare April 18, 2019 08:22
@nmorey
Copy link
Contributor Author

nmorey commented Apr 18, 2019

Should be all good now :)

@hnrose
Copy link
Contributor

hnrose commented Apr 18, 2019

Manually merged this patch series

@hnrose
Copy link
Contributor

hnrose commented Apr 18, 2019

Thanks for doing the heavy lifting!

nmorey added 10 commits April 18, 2019 14:49
ntohll is deprecated in libibumad.
Use the glibc function instead

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Found by sparse

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Fixessparse warnings:
subnet_discover.c:173:30: warning: non-ANSI function declaration of function 'free_unresponded'
subnet_discover.c:564:26: warning: non-ANSI function declaration of function 'print_subnet'

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Found by GCC -Wall -Wextra

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Two issues here:
- 2K on stack is a lot and app tends to segv in -O0 due to that.
- libibmad is not honoring the size constraints on
  some mad_dump_xx. Increase buf to 8k to bypass this.

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
This causes issues when doing
if(x)
	dbg(...)

sparse found one of these:
mcast_storm.c:316:53: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
    dbg("MAD status %x, method %x\n", status, method);

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Allows to run ibsim in the background without stalling
 on readline calls

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
nmorey added 2 commits April 18, 2019 14:49
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
@nmorey nmorey force-pushed the dev/master/travis branch from ccf6b94 to e9f2ed1 Compare April 18, 2019 12:51
@nmorey
Copy link
Contributor Author

nmorey commented Apr 18, 2019

No problem. Here are some more patches to actually run some tests :)

@hnrose
Copy link
Contributor

hnrose commented Apr 18, 2019

Wow!

Manually merged the additional 12 patches.

@nmorey
Copy link
Contributor Author

nmorey commented Apr 18, 2019

@hnrose If you want automated release tarball to be published on github, you'll need to follow the guide here:
https://docs.travis-ci.com/user/deployment/releases/#authenticating-with-an-oauth-token

Or you can ping @rleon. I'm guessing he's familiar with this already :)

@nmorey nmorey closed this Apr 19, 2019
@nmorey nmorey deleted the dev/master/travis branch April 19, 2019 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants