www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jake Farrell <jfarr...@apache.org>
Subject Re: python pexpect required for some integration tests
Date Tue, 13 May 2014 15:57:31 GMT
Hi Chris
Recommend using venv so you can install whatever you need for your tests
and then we do not need to maintain and update the given 3rdparty dep when
you decide to update your code. If you need help using or configuring venv
for your tests happy to help

-Jake



On Tue, May 13, 2014 at 2:52 AM, chris snow <chsnow123@gmail.com> wrote:

> Hi Build Team!
>
> I have some integration tests I have created for a command line
> application.  The tests  use python and the pexpect library for
> interacting with the application through stdin, stdout, stderr.
>
> I've added these tests to a git branch and I've set up a jenkins CI
> job:
> https://builds.apache.org/view/All/job/Stratos-CLI-IntegrationTest-Branch-Build/1/console
>
> The  build is failing because pexpect isn't available:
>
> ...
> [INFO] --- exec-maven-plugin:1.3:exec (python-test-common) @
> org.apache.stratos.cli ---
> Downloading:
> http://dist.wso2.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.pom
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.pom
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.pom
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.pom
> (11 KB at 820.6 KB/sec)
> Downloading:
> http://dist.wso2.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
> Downloading:
> http://dist.wso2.org/snapshots/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
> Downloading:
> http://repo.maven.apache.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
> Downloaded:
> http://repo.maven.apache.org/maven2/org/apache/commons/commons-exec/1.2/commons-exec-1.2.jar
> (53 KB at 1284.9 KB/sec)
> Traceback (most recent call last):
>   File "test_common.py", line 23, in <module>
>     import pexpect
> ImportError: No module named pexpect
>
> Would the build team consider installing this library?   The INSTALL
> document for pexpect is here:
> https://github.com/pexpect/pexpect/blob/master/INSTALL
>
> Many thanks,
>
> Chris  - chsnow@apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message