Contribute to Open Source. Search issue labels to find the right project for you!

CI: fixes and improvements

intel/intel-iot-refkit
  1. Fixing cleanup of older build trees: cleanup was not reliable Cleaning better to run in early stage using parallel stmt to avoid blocking other activity. Previous way, running it later in parallel with on-device testing created problems:
  2. in case of queued runs, same slot got busy with another job before cleaning thread;
  3. in case of failure during post-build, cleanup was not run at all

  4. encapsulating all Github status set calls into common function, makes it easier to change use of this API if needed

  5. Add python3-unittest-xml-reporting to docker image This enables CI-publishing test reports from oe-selftest phase.

Signed-off-by: Olev Kartau olev.kartau@intel.com

Updated 26/06/2017 11:25

Cypress hangs if spec file is outside the integration folder

cypress-io/cypress
  • Operating System: Mac
  • Cypress Version: 0.19.4
  • Browser/Browser Version: built-in electron browser

Are you requesting a feature or reporting a bug?

reporting a bug

Current behavior:

I made a repo with the setup: https://github.com/bahmutov/test-moved-cypress-spec

I put the spec file a-spec.js NOT in the cypress/integration folder (which is empty) but in the root of the repo. When running the test from the command line Cypress hangs

command json { "scripts": { "test": "cypress run --spec a-spec.js" } } ``` $ npm test

test-moved-cypress-spec@1.0.0 test /Users/irinakous/git/test-cypress-module cypress run –spec a-spec.js

⧖ Verifying Cypress executable… ! Installed version (0.19.4) does not match package version (0.20.0-dev.20170620.121030)

✓ Successfully verified Cypress executable

Started video recording: /Users/irinakous/git/test-cypress-module/cypress/videos/jfmrg.mp4

(Tests Starting) ^C ```

I can show the browser window with the UI error

$ ./node_modules/cypress/dist/Cypress.app/Contents/MacOS/Cypress --project $PWD --spec a-spec.js --show-headless-gui

screen shot 2017-06-21 at 8 52 17 am

First, the spec file fails to load (I would expect that) http://localhost:58231/__cypress/a-spec.js 404 (Not Found)

The JavaScript error Unhandled rejection TypeError: Cannot read property 'options' of null at $Cypress.window.$Cypress.$Cypress.initialize (http://localhost:58231/__cypress/static/js/cypress.js:40:19) at Object.run (http://localhost:58231/__cypress/runner/runner.js:63116:12) at http://localhost:58231/__cypress/runner/runner.js:62179:32

In the expression this.mocha and this.runner are null js $Cypress.prototype.initialize = function(specWindow, $remoteIframe) { this.mocha.options(this.runner);

Expected behavior:

  • [ ] the error should be shown in the UI in this case, not just in the DevTools console.
  • [ ] the error should be shown in the terminal when running in the headless mode and the run should exit with error code

How to reproduce the current behavior:

Clone the repo git@github.com:bahmutov/test-moved-cypress-spec.git and execute npm it to recreate the run. Use the command above to show the GUI during the run

Test code:

describe('cypress example', () => {
  it('works', () => {
    expect(true).to.be.true()
  })
})

Additional Info (images, notes, stack traces, etc)

Updated 21/06/2017 12:59

CI: slowdown

pandas-dev/pandas

something is happening on travis about 8 days ago. our builds took between 2 & 2.5 hrs.

2.5 hrs: https://travis-ci.org/pandas-dev/pandas/builds/241842849

now taking 3.5 hrs +, with very little changes in code. 3.5 hrs: https://travis-ci.org/pandas-dev/pandas/builds/241844274

It seems that the tests themselves are taking 2x longer.

any ideas?

Updated 23/06/2017 18:07 3 Comments

Increase devices in travis testing

MobileApplicationsClub/ARD

Reason - Currently we are only testing api 21 for all our tests. But we need to add checking for api up to 25

Also we need to test the app for devices of various screen sizes as many UI components may not be visible in certain devices

I would suggest to use matrix in travis https://docs.travis-ci.com/user/speeding-up-the-build/

Updated 19/06/2017 08:38 1 Comments

Deadlock test in server_requests_spec.lua hangs on the OS X QB node...

neovim/neovim

I haven’t had time to track down why, but the following test hangs in server_requests_spec.lua on the OS X node:

  describe('when connecting to its own pipe adress', function()
    it('it does not deadlock', function()
      local address = funcs.serverlist()[1]
      local first = string.sub(address,1,1)
      ok(first == '/' or first == '\\')
      local serverpid = funcs.getpid()

      local id = funcs.sockconnect('pipe', address, {rpc=true})

      funcs.rpcrequest(id, 'nvim_set_current_line', 'hello')
      eq('hello', meths.get_current_line())
      eq(serverpid, funcs.rpcrequest(id, "nvim_eval", "getpid()"))

      eq(id, funcs.rpcrequest(id, 'nvim_get_api_info')[1])
    end)
  end)

The hang occurs when calling nvim_set_current_line. I’m not sure what the hang up is, but the test never moves beyond there. I’m also not sure what to do about a test like this. Hanging things up is bad. It’d be nice if there was a way to stage things so that the test could be recognized as a failure and move on.

This appears to always happening on the OS X node, which is why QB is failing every time.

Updated 21/06/2017 22:08 1 Comments

Trigger CI build when dependency is updated

tue-robotics/tue_robocup

Can be done perhaps via http://eng.rightscale.com/2015/04/27/dependent-builds-in-travis.html or https://github.com/mernst/plume-lib/blob/master/bin/trigger-travis.sh i.e. the dependencies trigger a build of it’s dependents.

To determine at least some dependencies, we might use rospack depends-on

Updated 20/06/2017 10:15 3 Comments

Add CI

raxod502/radian

By this point, there are a number of ways I can accidentally drop the ball on my Emacs config and push something stupid:

  • forget to test that a deferred installation actually works
  • forget to freeze my package versions
  • forget to validate my el-patches
  • fail to notice that Emacs errors out on startup (yes, really)

This stuff should be tested by Travis so I can’t get away with it.

Updated 19/06/2017 04:26 1 Comments

Release script should open GitHub issue on failure

yarnpkg/yarn

Do you want to request a feature or report a bug? Feature

What is the current behavior? Errors returned by the release script (CircleCI webhook) don’t appear anywhere in CircleCI’s UI 😢

I do have logs, but that requires me to manually check them. The script should either open GitHub issues or send an email to the maintainers to make the errors more obvious.

cc @arcanis

Updated 22/06/2017 00:44

Fix htmlproofer errors

teamdigitale/teamdigitale.governo.it
bundle exec htmlproofer ./_site --check-html --disable-external --allow-hash-href
Running ["ScriptCheck", "LinkCheck", "ImageCheck", "HtmlCheck"] on ["./_site"] on *.html...


Ran on 7 files!


- ./_site/en/index.html
  *  1:11407: ERROR: Unexpected end tag : a (line 1)
  *  1:5456: ERROR: error parsing attribute name (line 1)
  *  image /images/loghi/demo.png does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image http://teamdigitale.piwikpro.com/piwik.php?idsite=1 does not have an alt attribute (line 12)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*0TWjNRN8tJhvHlANlefKww.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*7VNjzB42sl9tNCTUQoHk_Q.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*Cbxp4iXj-z9RA4XjSqctrQ.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*PdO4Biqp7qa19wBEzAO39w.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*QXjPyHXEHszJhn_gtaVBqA.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*UbESUh8KNy15CNHow-Phpg.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*sT88UU8jlhAIPCzfR1yO7Q.jpeg does not have an alt attribute (line 1)
- ./_site/en/people/fabiana-lanotte.html
  *  1:18268: ERROR: Unexpected end tag : a (line 1)
  *  1:5951: ERROR: error parsing attribute name (line 1)
  *  image /images/loghi/demo.png does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image http://teamdigitale.piwikpro.com/piwik.php?idsite=1 does not have an alt attribute (line 12)
- ./_site/index.html
  *  1:13334: ERROR: Unexpected end tag : a (line 1)
  *  1:5469: ERROR: error parsing attribute name (line 1)
  *  image /images/loghi/demo.png does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image http://teamdigitale.piwikpro.com/piwik.php?idsite=1 does not have an alt attribute (line 12)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/0*_fJ4KuujEVe3uecG. does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*0TWjNRN8tJhvHlANlefKww.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*7VNjzB42sl9tNCTUQoHk_Q.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*Cbxp4iXj-z9RA4XjSqctrQ.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*OlDJdD5NkrFNiy7pizH-mA.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*PdO4Biqp7qa19wBEzAO39w.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*QXjPyHXEHszJhn_gtaVBqA.gif does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*g-m6gim91tUZeqtyUOfwhA.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*iqlFdD2r1ZZgJfetum2A4Q.jpeg does not have an alt attribute (line 1)
  *  image https://cdn-images-1.medium.com/fit/t/800/240/1*sT88UU8jlhAIPCzfR1yO7Q.jpeg does not have an alt attribute (line 1)
- ./_site/it/people/david-greco.html
  *  1:20444: ERROR: Unexpected end tag : a (line 1)
  *  1:5490: ERROR: error parsing attribute name (line 1)
  *  image /images/loghi/demo.png does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image http://teamdigitale.piwikpro.com/piwik.php?idsite=1 does not have an alt attribute (line 12)
- ./_site/it/people/fabiana-lanotte.html
  *  1:19012: ERROR: Unexpected end tag : a (line 1)
  *  1:6016: ERROR: error parsing attribute name (line 1)
  *  image /images/loghi/demo.png does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image /images/loghi/governo.svg does not have an alt attribute (line 1)
  *  image http://teamdigitale.piwikpro.com/piwik.php?idsite=1 does not have an alt attribute (line 12)
htmlproofer 3.7.2 | Error:  HTML-Proofer found 47 failures!
Updated 06/06/2017 14:19

Building Artifactory container for Pineapple CI setup fails with NullPointerException

athrane/pineapple

com.alpha.pineapple.plugin.PluginExecutionFailedException: Operation failed with exception: java.lang.NullPointerException. Operation execution is aborted. at com.alpha.pineapple.plugin.docker.operation.DeployConfiguration.execute(DeployConfiguration.java:134) at com.alpha.pineapple.plugin.session.RetrySessionHandlerImpl.execute(RetrySessionHandlerImpl.java:123) at com.alpha.pineapple.command.InvokePluginsCommand.excuteWithPlugin(InvokePluginsCommand.java:399) at com.alpha.pineapple.command.InvokePluginsCommand.executeModel(InvokePluginsCommand.java:355) at com.alpha.pineapple.command.InvokePluginsCommand.executeModels(InvokePluginsCommand.java:270) at com.alpha.pineapple.command.InvokePluginsCommand.execute(InvokePluginsCommand.java:228) at com.alpha.pineapple.command.execution.CommandRunnerImpl.run(CommandRunnerImpl.java:88) at com.alpha.pineapple.execution.OperationTaskImpl.invokePlugins(OperationTaskImpl.java:391) at com.alpha.pineapple.execution.OperationTaskImpl.executeWithRegisteredContext(OperationTaskImpl.java:215) at com.alpha.pineapple.execution.OperationTaskImpl.execute(OperationTaskImpl.java:133) at com.alpha.pineapple.execution.AsyncOperationTaskImpl.execute(AsyncOperationTaskImpl.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:110) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at com.alpha.pineapple.plugin.docker.model.MapperImpl.mapContainerProperties(MapperImpl.java:403) at com.alpha.pineapple.plugin.docker.model.MapperImpl.mapContainerForCreation(MapperImpl.java:144) at com.alpha.pineapple.plugin.docker.operation.DeployConfiguration.createContainer(DeployConfiguration.java:277) at com.alpha.pineapple.plugin.docker.operation.DeployConfiguration.processModel(DeployConfiguration.java:178) at com.alpha.pineapple.plugin.docker.operation.DeployConfiguration.execute(DeployConfiguration.java:127) … 22 more

Updated 04/06/2017 10:26

Disallow failure of the coverage build in Travis?

python/core-workflow

Since python/cpython#1775 was merged, the coverage build in Travis actually passes all tests. Should we remove the allow_failures key to make sure that it continues to do so? That would mean an extra ~15 minutes between commit and approval from Travis, but as it’s already ~20 minutes, I don’t think it’s that big of a deal. In my experience, I’m not going to sit around waiting for 20 minutes anyway; I’ll have moved on to something else long before then and probably won’t check back until long after the build has finished.

Updated 28/05/2017 19:49 2 Comments

Run luacheck for all lua files in src

neovim/neovim

Lua files in src are growing more and more complex, so it should be a good idea to lint them as test files. In #6789 I have added linting for src/nvim/lua/vim.lua, but there is a bunch of other files in src, primary lists and generators, latter are rather complex and have started to contain modules. Enabling RunLuacheck.cmake for them should be a good idea.

Marking this as entry-level because despite of big number of errors all should be easy to fix: after all, luacheck is not a static analyzer.

Updated 19/06/2017 01:35 11 Comments

TST/CLN: Warnings from pytest 3.1+

pandas-dev/pandas

New versions of pytest print a useful summary of warnings that aren’t caught during the test run. Here’s a log from a couple days ago

<details>


=============================== warnings summary ===============================
pandas/tests/test_downstream.py::test_dask
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/dask/dataframe/__init__.py:3: DeprecationWarning: pandas.util.decorators is deprecated and will be removed in a future version, import from pandas.util
    from .core import (DataFrame, Series, Index, _Frame, map_partitions,

pandas/tests/test_downstream.py::test_xarray
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/xarray/core/formatting.py:16: FutureWarning: The pandas.tslib module is deprecated and will be removed in a future version.
    from pandas.tslib import OutOfBoundsDatetime

pandas/tests/test_downstream.py::test_statsmodels
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/statsmodels/statsmodels/compat/pandas.py:62: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
    from pandas.core import datetools
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/patsy/util.py:652: DeprecationWarning: pandas.core.common.is_categorical_dtype is deprecated. import from the public API: pandas.api.types.is_categorical_dtype instead
    return safe_is_pandas_categorical_dtype(data.dtype)

pandas/tests/test_downstream.py::test_scikit_learn
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)

pandas/tests/test_downstream.py::test_seaborn
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/ipywidgets/widgets/widget_link.py:19: DeprecationWarning: Traits should be given as instances, not types (for example, `Int()`, not `Int`) Passing types is deprecated in traitlets 4.1.
    super(WidgetTraitTuple, self).__init__(Instance(Widget), Unicode, **kwargs)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/seaborn/seaborn/categorical.py:342: DeprecationWarning: pandas.core.common.is_categorical_dtype is deprecated. import from the public API: pandas.api.types.is_categorical_dtype instead
    elif is_categorical(y):

pandas/tests/test_downstream.py::test_pandas_datareader
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas_datareader/data.py:36: ResourceWarning: unclosed <socket.socket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50017), raddr=('216.58.216.100', 80)>
    return GoogleDailyReader(*args, **kwargs).read()

pandas/tests/test_downstream.py::test_geopandas
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/fiona/drvsupport.py:143: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    ogrdrv_names = gdalenv.start().drivers().keys()
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/fiona/collection.py:145: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    self.env.__enter__()

pandas/tests/test_expressions.py::TestExpressions::()::test_integer_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, na_op)

pandas/tests/test_expressions.py::TestExpressions::()::test_float_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, na_op)

pandas/tests/test_expressions.py::TestExpressions::()::test_mixed_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.

    return self._combine_const(other, na_op)

pandas/tests/dtypes/test_missing.py::test_array_equivalent_compat
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/numpy/core/numeric.py:2629: FutureWarning: elementwise == comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
    return bool(asarray(a1 == a2).all())

pandas/tests/frame/test_analytics.py::TestDataFrameAnalytics::()::test_corr_int_and_boolean
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/scipy/stats/stats.py:3577: RuntimeWarning: invalid value encountered in double_scalars
    size * (size - 1) * (size - 2))

pandas/tests/frame/test_analytics.py::TestDataFrameAnalytics::()::test_clip_mixed_numeric
  source:1893: DeprecationWarning: invalid escape sequence \d
  source:2464: DeprecationWarning: invalid escape sequence \(

pandas/tests/frame/test_operators.py::TestDataFrameOperators::()::test_boolean_comparison
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/internals.py:1153: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = func(values, other)

pandas/tests/indexing/test_coercion.py::TestFillnaSeriesCoercion::()::test_fillna_series_float64
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/internals.py:4785: ComplexWarning: Casting complex values to real discards the imaginary part
    nn_at = nn.astype(v.dtype)

pandas/tests/io/test_common.py::TestCommonIOCapabilities::()::test_read_fspath_all[reader7-os-/Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/sas/data/test1.sas7bdat]
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)

pandas/tests/io/parser/test_network.py::TestS3::()::test_s3_fails
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/parser/test_network.py:173: ResourceWarning: unclosed <ssl.SSLSocket fd=28, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50425), raddr=('54.231.33.187', 443)>
    read_csv('s3://nyqpug/asdf.csv')
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/parser/test_network.py:173: ResourceWarning: unclosed <ssl.SSLSocket fd=27, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50424), raddr=('54.231.40.83', 443)>
    read_csv('s3://nyqpug/asdf.csv')

pandas/tests/plotting/test_frame.py::TestDataFramePlots::()::test_line_colors
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/plotting/_core.py:179: UserWarning: 'colors' is being deprecated. Please use 'color'instead of 'colors'
    warnings.warn(("'colors' is being deprecated. Please use 'color'"

pandas/tests/plotting/test_hist_method.py::TestDataFramePlots::()::test_tight_layout
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/plotting/test_hist_method.py:249: UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared
    _check_plot_works(df.hist)

pandas/tests/plotting/test_misc.py::TestDataFramePlots::()::test_parallel_coordinates_with_sorted_labels
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/matplotlib/axes/_base.py:2917: UserWarning: Attempting to set identical left==right results
  in singular transformations; automatically expanding.
  left=0, right=0
    'left=%s, right=%s') % (left, right))

pandas/tests/plotting/test_series.py::TestSeriesPlots::()::test_pie_series
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/plotting/test_series.py:296: DeprecationWarning: generator 'TestSeriesPlots.test_pie_series.<locals>.<genexpr>' raised StopIteration
    expected_texts = list(next(it) for it in itertools.cycle(iters))

pandas/tests/util/test_testing.py::TestAssertAlmostEqual::()::test_assert_almost_equal_edge_case_ndarrays
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/dtypes/missing.py:308: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    return ((left == right) | (isnull(left) & isnull(right))).all()

-- Docs: http://doc.pytest.org/en/latest/warnings.html

</details>

Some of these will require updates to the test suite to just use the new behavior. Others should be explicitly caught with tm.assert_produces_warning. (I believe the downstream package warnings are already fixed in master for dask and statsmodels)

Updated 24/05/2017 20:05 1 Comments

Reducing Verbosity Terraform in Travis when building image

kubenow/KubeNow

When building image on GCE, during the builder post-processor a script is executed which run Terraform. Problem is that Terraform logs' verbosity switch directly to TRACE, producing a very large number of output lines, forcing travis to turn-off interactive log in favour of the raw one.

Possible Cause: Terraform is being run from Packer and not directly in Travis as part of the script: section

To do: Investigating what to do when Terraform is executed within Packer. Likely need to open an issue on terraform github repo

Updated 24/05/2017 12:13

drishti_gltest + CI

elucideye/drishti

Migrated from #449

The drishti_gltest library should enable OpenGL unit testing (in combination w/ drishti_test_main CMake + GTest automation) in all supported build scenarios. There seem to be roughly 6 separate build cases with slightly different SW needs: 1) Desktop builds - [x] a) w/ GPU and display (local) : current supported - [ ] b) w/ GPU and no display (Remote: Amazon EC2 w/ GPU) - [ ] c) w/o GPU (Remote: CI), requires SW/CPU OpenGL (i.e., Mesa3D) 2) Mobile (Android or iOS) builds - [x] a) local/tethered w/ GPU (via adb or ios-deploy) : main(){} context creation? - [ ] b) remote device (Amazon Device Farm) #58 - [ ] c) device emulator (#468) : feature added #351, #441 main(){} context creation needs testing

Links: * https://github.com/OKaluza/LavaVu/wiki/Headless-rendering * https://github.com/Uroc327Mirrors/mesa3d : EGL_MESA_platform_surfaceless … * https://github.com/glfw/glfw: (OS X, Linux, MSVC) * https://github.com/brackeen/glfm (iOS, Android)

Updated 05/06/2017 15:56 1 Comments

Require macOS testing for Travis

python/core-workflow

It was initially left off due to how much time it added to a complete run, but since the migration, Travis has added more macOS capacity. It might be time to turn it on again and see how it impacts CI run time.

Updated 03/06/2017 17:35 3 Comments

Update testing on travis from Python 3.4 to 3.5

INM-6/h5py_wrapper

With #59 , the wrapper supports Python 3. Although it actually supports Python 3.5, we only test for Python 3.4 for now because conda reports a package conflict for Python 3.5 and h5py.

We should keep an eye on this and remedy this once the problem is solved on the conda level.

Updated 11/05/2017 07:55

create CI job for k2cli

samsung-cnct/k2cli

k2cli should be getting built and published via a Jenkinsfile in the new CI system. This Jenkinsfile should: - build/test all PRs - publish a new ‘HEAD’ version of k2cli whenever a PR gets pushed to master

This job should not - push a new major or minor version of k2cli. that will remain a manual process until we have a common story for versioning across projects.

Updated 26/06/2017 20:52 4 Comments

clean up k2 Jenkinsfile

samsung-cnct/k2

the current k2 Jenkinsfile uses an e2etester docker image that is far too large, isn’t checking for correct fork (ie samsung_cnct vs coffeepac) when pushing a new image, has no concept of versioning and probably more.

This issue should be used to tackle the topics in the previous paragraph (except versioning) and should be used to collect further desired improvements. These improvements should then be converted into issues. When the first three issues are cleaned up this issues should be closed and any further CI work should be in the normal flow of work.

Updated 07/06/2017 17:53

Flake: "Git commands for CompositeGitStrategy ... prefers user-configured credential helpers if present"

atom/github

Test failure seen on Travis on a Mac instance.

 1) Git commands for CompositeGitStrategy made of [GitShellOutStrategy] https authentication prefers user-configured credential helpers if present:
     git fetch mock master in /private/var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/git-fixture-11743-4030-13lithw.6bnws714i exited with code 128
stdout: 
stderr: 
  Error
      at new GitError (/Users/travis/build/atom/github/git-shell-out-strategy.js:26:18)
      at /Users/travis/build/atom/github/git-shell-out-strategy.js:181:23
      at next (<anonymous>)
      at step (/Users/travis/build/atom/github/git-shell-out-strategy.js:16:1)
      at /Users/travis/build/atom/github/git-shell-out-strategy.js:16:1
Updated 03/05/2017 14:20

Stalled builds

atom/github

We’ve been seeing Travis builds sporadically get stuck and killed for inactivity recently. Let’s start collecting data on them so that we have a chance to suss out any patterns and figure out the root cause(s).

If you see a build get stuck, please update the count here:

Platform Occurrences
Mac 0
Linux 3
Windows [Stable] 0
Windows [Beta] 0

/cc @kuychaco @BinaryMuse

Updated 05/05/2017 12:53 3 Comments

Automate platform builds and deployments

bcdev/jpy

Currently, the jpy built and release management is way too expensive, we should automate it:

  • [ ] Configure TravisCI for Linux
  • [ ] Configure TravisCI for Darwin
  • [ ] Configure AppVeyor for Windows
  • [ ] Configure CodeCov
  • [ ] Deploy Conda package to some channel
  • [ ] Deploy PiPy package
  • [ ] Deploy Maven package
Updated 03/05/2017 09:29 1 Comments

test faiilures: Test_with_partial_callback, Test_oneshot

neovim/neovim

Some legacy tests are failing often.

From test_timers.vim:
Found errors in Test_with_partial_callback():
function RunTheTest[9]..Test_with_partial_callback line 11: Expected range 40 - 130, but got 37

https://s3.amazonaws.com/archive.travis-ci.org/jobs/225979376/log.txt?X-Amz-Expires=29&X-Amz-Date=20170427T100957Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20170427/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=1238e33339701e83ec425da33572fac708e7aad8a5c69f38fac55f534e2febc0

Found errors in Test_oneshot():
function RunTheTest[9]..Test_oneshot line 6: Expected range 40 - 100, but got 36
Updated 27/04/2017 10:10

Host SonarQube ourselves

TCA-Team/iOS

Currently our sonar-server is using sonarqube.com. However, sonarqube.com is a bit limited, as you eg. cannot add or change quality profiles. As a result I think there is no way to disable rules like “Refactor your code to get this URI from a customizable parameter” or set certain rules as not critical.

Furthermore, on a dedicated install, we could use a custom swift quality profile like the following instead of sonars one, which provides some more rules: https://github.com/Backelite/sonar-swift

If we feel over time that sonarqube and the GitHub bot are valuable to the development of the project, we might host it somewhere to have increased flexibility and also make it available to the android repo.

Updated 24/04/2017 15:20

complete build process

Suprnovae/cockpit-app-abctotaal

The following steps need to pass - [ ] script: Copy real api (to copy the real api endpoint instead of the test mocks used for capturing the screenshots) - [ ] react-native-bundle: rebundle the application - [ ] certificate-and-profile-installer - [ ] fastlane: ios beta

Every other issue is less critical since they simply handle the delivery of assets for publishing or review. The points covered in this issue are responsible for the actual build process. The fastlane ios beta component is the most critical in this sense.

Updated 21/04/2017 04:52

CMake の xcode scheme 対応に追従する

srz-zumix/iutest

cmake が xcode scheme に対応したら test もできるようになるはず。 対応後に .yml にする。

CMake Xcode Schemes (!509) · Merge Requests · CMake / CMake · GitLab CMake 3.9 で対応されそう?

対応されてたら、Bitrise の設定を更新する。

Updated 19/04/2017 00:41

pineapple-ci-module fails to to build Jenkins container

athrane/pineapple

Module name is: xx-pineapple-dev-docker-install-ci-linux64 Stack trace:

Plugin execution failed with the error: Operation failed with exception: com.alpha.pineapple.docker.DockerClientException: Could not read JSON: Unrecognized field “Containers” (class com.alpha.pineapple.docker.model.rest.ListedImage), not marked as ignorable (8 known properties: “Size”, “ParentId”, “Created”, “RepoTags”, “Id”, “VirtualSize”, “RepoDigests”, “Labels”]) at [Source: java.io.PushbackInputStream@338462f3; line: 1, column: 18] (through reference chain: com.alpha.pineapple.docker.model.rest.ListedImage[“Containers”]); nested exception is com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field “Containers” (class com.alpha.pineapple.docker.model.rest.ListedImage), not marked as ignorable (8 known properties: “Size”, “ParentId”, “Created”, “RepoTags”, “Id”, “VirtualSize”, “RepoDigests”, “Labels”]) at [Source: java.io.PushbackInputStream@338462f3; line: 1, column: 18] (through reference chain: com.alpha.pineapple.docker.model.rest.ListedImage[“Containers”]). Operation execution is aborted.

Updated 15/04/2017 10:59 1 Comments

Build Docker images in advance

quodlibet/quodlibet

It’s great to have Dockerised build containers after #2222. However, quite a lot of time is spent in CI building the Docker images before using them, yet they change very rarely.

It would be more efficient to push these to our own Docjer Hub space, say, and pull them (caching at Travis should work here too).

To keep them up-to-date the first step would be manual pushes (authenticated). Then we could probably work out some CD process for this itself so that any changes to those Dockerfile files would be published to the hub (before any real build, if still in the QL codebase, or these could live in separate repo).

Updated 19/06/2017 13:55 2 Comments

Failing tests for RawSocketServerProtocol

crossbario/autobahn-python

Hi,

I am in the process of updating autobahn to 0.18.1 for fedora and I encounter failing tests on the build server and on my system. Tests output:

=================================== FAILURES ===================================
_________________________ Test.test_raw_socket_server1 _________________________

self = <test_asyncio_rawsocket.Test testMethod=test_raw_socket_server1>

    def test_raw_socket_server1(self):

>       server = RawSocketServerProtocol(max_size=10000)
E       TypeError: __init__() got an unexpected keyword argument 'max_size'

autobahn/asyncio/test/test_asyncio_rawsocket.py:87: TypeError
______________________ Test.test_raw_socket_server_errors ______________________

self = <test_asyncio_rawsocket.Test testMethod=test_raw_socket_server_errors>

    def test_raw_socket_server_errors(self):

>       server = RawSocketServerProtocol(max_size=10000)
E       TypeError: __init__() got an unexpected keyword argument 'max_size'

autobahn/asyncio/test/test_asyncio_rawsocket.py:110: TypeError
=============== 2 failed, 161 passed, 1 skipped in 0.53 seconds ================

The tests are defined there and from what I see in the definition of RawSocketProtocol here the max_size parameter doesn’t exist which expected. What I find strange is: according to travis everything is fine.

Updated 06/04/2017 21:35 4 Comments

./gradlew build and too many test are failed

appium/java-client

I’m a new one to java-client. I clone repo and ./gradlew build

for compile pass I delete - artifacts { - archives javadocJar, sourcesJar

-}

-signing { - sign configurations.archives -}

-uploadArchives { ….. -}

141 tests completed, 77 failed :test FAILED

too many test are fail. No build guide in this repo. Can any one give me some advice? Thanks.

Updated 05/04/2017 19:55 1 Comments

Speed up test suite(s)

exercism/java

The CI build is approaching 20 minutes. The long pole on the build is (understandably) the journey suite. However, the exercises are guaranteed to be independent: the test suites can be executed in parallel without fear of test pollution. The situation is ripe for parallel execute of tests.

Please update the CI build to minimize both the duration of the total test run and minimize additional added complexity (i.e. readability of the build scripts themselves is paramount).

Updated 12/06/2017 22:22 6 Comments

push produced assets (executables and screenshots) to Github release

Suprnovae/cockpit-app-abctotaal

Problem

After a successful CI run on a PR to dev or master, all assets need to be pushed to the dedicated release on github.

NOTE: Initially, only screenshots will be bundled and posted to the releases on Github since executables are being cryptographically signed in the CI pipeline and should only be pushed to private repositories which we don’t have for this project.

Approach WIP

  • if comment matches the semver pattern MAJOR.MINOR.PATCH[-PRERELEASE] and the comment is not yet used as a tag
    • intended_tag = comment concat meta(build type, date, ref) → resulting to e.g. 2.1.2-beta+ios.20130313144700.5114f85
    • create a Github release w/ intended_tag
      • if PRERELEASE set as prerelease
    • push related assets to release

Our merging approach will require naming our merging appropriately in order to trigger automated release generation. As long as the merge comment complies to the semver pattern exclusing the META clause, a release build should be executable.

References

  • https://developer.github.com/v3/repos/releases/#upload-a-release-asset
Updated 04/04/2017 11:46

fix Snapshot errors in iOS CI pipeline (branched from #3)

Suprnovae/cockpit-app-abctotaal

fix in new branch fix/ios-fastlane-screenshots from setup/sigh-cert-fastlane-ios (see PR #3)

Problem

Currently an attempt is in progress to utilise UI Snapshot test to automate the grabbing of screenshots for the app store for different languages.

screen shot 2017-04-04 at 01 34 35

The test suite breaks because of a timeout in detecting the presence of the NavigationBar.

Possible fixes

  • increase the timeout by 10x in order to determine if it’s just a matter of the Xcode simulator on the CI box needing more time to startup the application UI
  • investigate if the method of referencing in the source ambiguous (i.e.: perhaps it does not produce a reference to the same object, perhaps the zero index item may be different depending on the machine or other time-related variabilities)
  • investigate if an update in the workflow tooling may already result to a different result (i.e.: upgrading the fastlane version and other tools on the CI machine)

The full log of the error may be found on Bitrise

References

  • http://stackoverflow.com/questions/31182637/delay-wait-in-a-test-case-of-xcode-ui-testing
Updated 20/04/2017 12:26 3 Comments

Fork me on GitHub