Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Dockerized Runbot - Missing Image #111

Closed
lasley opened this issue Dec 1, 2016 · 51 comments
Closed

Dockerized Runbot - Missing Image #111

lasley opened this issue Dec 1, 2016 · 51 comments
Assignees

Comments

@lasley
Copy link
Contributor

lasley commented Dec 1, 2016

Randomly Runbot is failing with the following message in the all log (from Runbot build & OCA/server-tools#611 (comment)):

Unable to find image 'oca-server-tools:9bb61bf_3' locally
Pulling repository oca-server-tools
time="2016-12-01T14:47:40Z" level=fatal msg="Error: image library/oca-server-tools:9bb61bf_3 not found" 

Build looks fine:

Sending build context to Docker daemon 24.06 kB

Sending build context to Docker daemon 
Step 0 : FROM vauxoo/odoo-80-image-shippable-auto
latest: Pulling from vauxoo/odoo-80-image-shippable-auto
600f68629688: Already exists
f55680a9f435: Already exists
45aa5b54eb26: Already exists
04e81abeea1d: Already exists
3b8d72e434f8: Already exists
08fe2ef22779: Already exists
45dbfe2621e6: Already exists
fd8638d565b9: Already exists
f9fd3e6c6287: Already exists
e47fd885d98c: Already exists
cb57ee658fe2: Already exists
3d7fb6dd9bff: Already exists
504d62bce149: Already exists
62f906607b33: Already exists
0b0367bd58fd: Already exists
de3c0ca761e0: Already exists
bc1a7c99dee1: Already exists
30a5e802b61e: Already exists
0bf9d24aedcc: Already exists
0f25fe6f3f6c: Already exists
Digest: sha256:73a80d28d41b0c2d5a01951dbe41693a29651a677727c8c9f76db601ee745b4d
Status: Image is up to date for vauxoo/odoo-80-image-shippable-auto:latest
 ---> 0f25fe6f3f6c
Step 1 : ADD files/entrypoint.sh /entrypoint.sh
 ---> 27dedcc9c03a
Removing intermediate container 2713f9a53469
Step 2 : RUN chown -R root:root /entrypoint.sh
 ---> Running in 8d0511a98f0f
 ---> 5016bcedf285
Removing intermediate container 8d0511a98f0f
Step 3 : ADD files/rvm_env.sh /rvm_env.sh
 ---> 04054f378bf0
Removing intermediate container 84ae5c68b6d7
Step 4 : RUN chown -R root:root /rvm_env.sh
 ---> Running in 409969779aa6
 ---> dcb1f4c83687
Removing intermediate container 409969779aa6
Step 5 : ENV HOME /root
 ---> Running in 45d3a76bb504
 ---> 60be03911c08
Removing intermediate container 45d3a76bb504
Step 6 : ADD .ssh $HOME/.ssh
 ---> 91103488411c
Removing intermediate container bf8be5a0f0d4
Step 7 : RUN chown -R root:root $HOME/.ssh
 ---> Running in 0141e38d069a
 ---> 4dd10cd041c1
Removing intermediate container 0141e38d069a
Step 8 : ADD ./files/install /install
 ---> f4c4d144c8dc
Removing intermediate container 9ccfe15a56ca
Step 9 : RUN chown -R root:root /install
 ---> Running in 912582e37517
 ---> 4872d95c52a3
Removing intermediate container 912582e37517
Step 10 : ADD ./files/script /script
 ---> ddc8d6c884d6
Removing intermediate container 64e73448aab5
Step 11 : RUN chown -R root:root /script
 ---> Running in ce6bb113ec0b
 ---> 5802b0b6f3a4
Removing intermediate container ce6bb113ec0b
Step 12 : ADD ./files/after_success /after_success
 ---> 699611c743fb
Removing intermediate container bc26667257ba
Step 13 : RUN chown -R root:root /after_success
 ---> Running in 33e01acdeb4d
 ---> 528c9c78acf2
Removing intermediate container 33e01acdeb4d
Step 14 : RUN apt-get update; apt-get install expect-dev python-lxml
 ---> Running in b173988bb94a
Get:1 http://deb.nodesource.com trusty InRelease [3,914 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:2 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Get:5 http://apt.postgresql.org trusty-pgdg InRelease [46.5 kB]
Get:6 http://ppa.launchpad.net trusty InRelease [15.4 kB]
Get:7 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:8 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:9 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:10 http://deb.nodesource.com trusty/main amd64 Packages [964 B]
Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1,153 kB]
Get:12 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [503 kB]
Get:13 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [694 kB]
Get:15 http://archive.ubuntu.com trusty-security/universe amd64 Packages [189 kB]
Get:16 http://archive.ubuntu.com trusty-security/multiverse amd64 Packages [4,015 B]
Get:17 http://ppa.launchpad.net trusty/main amd64 Packages [2,941 B]
Get:18 http://ppa.launchpad.net trusty/main amd64 Packages [3,419 B]
Get:19 http://ppa.launchpad.net trusty/main amd64 Packages [20.5 kB]
Get:20 http://archive.ubuntu.com trusty/main amd64 Packages [1,743 kB]
Get:21 http://archive.ubuntu.com trusty/universe amd64 Packages [7,589 kB]
Get:22 http://archive.ubuntu.com trusty/multiverse amd64 Packages [169 kB]
Get:23 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [112 kB]
Fetched 12.5 MB in 2s (6,188 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
expect-dev is already the newest version.
Suggested packages:
  python-lxml-dbg
The following NEW packages will be installed:
  python-lxml
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 629 kB of archives.
After this operation, 2,542 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-lxml amd64 3.3.3-1ubuntu0.1 [629 kB]
Fetched 629 kB in 0s (4,902 kB/s)
Selecting previously unselected package python-lxml.
(Reading database ... 39868 files and directories currently installed.)
Preparing to unpack .../python-lxml_3.3.3-1ubuntu0.1_amd64.deb ...
Unpacking python-lxml (3.3.3-1ubuntu0.1) ...
Setting up python-lxml (3.3.3-1ubuntu0.1) ...
 ---> 77322ac18943
Removing intermediate container b173988bb94a
Step 15 : USER root
 ---> Running in 722716603af6
 ---> 02a34d2bbec1
Removing intermediate container 722716603af6
Step 16 : ENV TRAVIS_REPO_SLUG OCA/server-tools
 ---> Running in 9aa1740ad6e9
 ---> 109f18276828
Removing intermediate container 9aa1740ad6e9
Step 17 : ENV TRAVIS_BUILD_DIR ${HOME}/build/${TRAVIS_REPO_SLUG}
 ---> Running in f4e3fc40c0e4
 ---> c47e48335273
Removing intermediate container f4e3fc40c0e4
Step 18 : RUN git init ${TRAVIS_BUILD_DIR}     && cd ${TRAVIS_BUILD_DIR}     && git remote add origin https://github.com/OCA/server-tools     && git fetch --update-head-ok -p origin '+refs/pull/611/head:refs/pull/611'     && git checkout -qf pull/611     && git config --global user.email "None"     && git config --global user.name "None"     && echo 1
 ---> Running in 01afa7be37a7
Initialized empty Git repository in /root/build/OCA/server-tools/.git/
�[91mFrom https://github.com/OCA/server-tools
 * [new ref]         refs/pull/611/head -> refs/pull/611
�[0m1
 ---> 29fa9d593198
Removing intermediate container 01afa7be37a7
Step 19 : RUN cat ${HOME}/.ssh/id_rsa.pub | tee -a ${HOME}/.ssh/authorized_keys
 ---> Running in bc2eb8584647
�[91mcat: /root/.ssh/id_rsa.pub�[0m�[91m: No such file or directory
�[0m ---> c7d44d89b992
Removing intermediate container bc2eb8584647
Step 20 : ENV VERSION "9.0" TESTS "0" LINT_CHECK "0" TRANSIFEX "0" TRANSIFEX_USER '[email protected]' TESTS "1" ODOO_REPO "odoo/odoo"
 ---> Running in 8f35eff004c8
 ---> 2f19ae73cc93
Removing intermediate container 8f35eff004c8
Step 21 : WORKDIR ${TRAVIS_BUILD_DIR}
 ---> Running in c869d1f6e120
 ---> 70cef9d9f10b
Removing intermediate container c869d1f6e120
Step 22 : RUN /bin/bash -c "source /rvm_env.sh && /install"
 ---> Running in 100f5687a815
�[91m/install: line 26: getaddons.py: command not found
�[0m�[91mCloning into '/root/maintainer-quality-tools'...
�[0m/usr/bin/lessc -> /usr/lib/node_modules/less/bin/lessc
/usr/lib
├── [email protected] 
└── [email protected] 

Using Odoo from cache /.repo_requirements
�[91mFrom https://github.com/odoo/odoo
 * branch            9.0        -> FETCH_HEAD
�[0m�[91m * [new branch]      9.0        -> odoo/9.0
�[0mRequirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
Getting addons dependencies
Content of /root:
total 16
drwxr-xr-x 3 root root 4096 Dec  1 14:45 build
drwxr-xr-x 2 root root 4096 Dec  1 14:45 dependencies
drwxr-xr-x 8 root root 4096 Dec  1 14:45 maintainer-quality-tools
lrwxrwxrwx 1 root root   24 Dec  1 14:45 odoo-9.0 -> /.repo_requirements/odoo
drwxr-xr-x 3 root root 4096 Nov 28 17:39 tools
Content of /root/dependencies:
total 0
�[91mln: failed to create symbolic link ‘/openerp/addons/server_environment_files’�[0m�[91m: No such file or directory
�[0mtime="2016-12-01T14:45:51Z" level=info msg="The command [/bin/sh -c /bin/bash -c \"source /rvm_env.sh && /install\"] returned a non-zero code: 1" 
@moylop260 moylop260 self-assigned this Dec 1, 2016
@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

I've experienced this on my own Runbot before too. I can fairly easily replicate the issue by pushing to the same branch a bunch of times.

What I think is happening is that our sandbox between builds is being broken - a previous build is stopping or deleting an image/container when it is done, but a later build is still using it.

@moylop260
Copy link
Contributor

moylop260 commented Dec 1, 2016

What version of docker you have installed in your own Runbot?

Maybe is a symbolic link issue (or maybe in your case a move file issue) from docker

@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

Docker version 1.12.3, build 6b644ec

Docker-gc 0.1.1 (just in case)

@moylop260
Copy link
Contributor

moylop260 commented Dec 1, 2016

The projects with the same issue Are there ln or mv commands?

@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

Like in the code? Nah no shell or file manipulations. I'm pretty sure it's not the code, because I have had instances in which the PR build breaks but the branch build does not. Merging the code or creating/pushing a new branch will typically yield a 🍏 too.

Interesting thing is - once it happens for a branch, it'll just keep happening. That branch is basically toast for the remainder of Runbot eternity.

More examples can be seen on my runbot, vertical-medical repo Build 39 and medical_physician. This example is actually one of the first times I have seen both the PR and Branch build fail at the same time.

For referencing the example, this is the diff causing issues.

@moylop260
Copy link
Contributor

The case for build 39 is a little different.
Because the error is in clone dependencies:

Getting addons dependencies
�[91mfatal: Remote branch origin/feature/10.0/product_service_duration not found in upstream origin
�[0m�[91mTraceback (most recent call last):
  File "/root/maintainer-quality-tools/travis/clone_oca_dependencies", line 123, in <module>
�[0m�[91m    run(deps_checkout_dir, build_dir)
  File "/root/maintainer-quality-tools/travis/clone_oca_dependencies", line 98, in run
    url, branch)
  File "/root/maintainer-quality-tools/travis/clone_oca_dependencies", line 66, in git_checkout
    subprocess.check_call(command)
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
�[0m�[91msubprocess.CalledProcessError�[0m�[91m: Command '['git', 'clone', '-q', 'https://github.com/laslabs/product-attribute.git', '-b', 'origin/feature/10.0/product_service_duration', '/root/dependencies/product-attribute']' returned non-zero exit status 128�[0m�[91m
�[0mThe command '/bin/sh -c /install' returned a non-zero code: 1

Running the same command: git clone -q https://github.com/laslabs/product-attribute.git -b origin/feature/10.0/product_service_duration I had the same output locally:
screen shot 2016-12-01 at 11 07 36 am

@moylop260
Copy link
Contributor

...I mean, the issue was this line

You could fix it:

+product-attribute https://github.com/laslabs/product-attribute.git origin/feature/10.0/product_service_duration
-product-attribute https://github.com/laslabs/product-attribute.git feature/10.0/product_service_duration

Running locally:
git clone -q https://github.com/laslabs/product-attribute.git -b feature/10.0/product_service_duration
Worked fine!

Do you have another example without clone issue?

@moylop260 moylop260 reopened this Dec 1, 2016
@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

Ahh well crap so my example was bad. That also makes sense why it's also the only one I've seen fail on both branches, so I should have known it was effed.

Here's another, same Runbot just use the 40 and medical_center branches (they're the same branch, just the difference between the PR and non). I probably can find a few others by grepping the logs on filesystem if we need more. It happens often enough that my juniors gave a 🎉 when they saw this issue created.

@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

Interesting now that I'm looking, that is a clone issue too - Github timeout (which also makes sense why I've seen it only with parallel branches). And the one reported in the OCA/server-tools#611 (comment) is actually an issue with the environment.

�[91mln: failed to create symbolic link ‘/openerp/addons/server_environment_files’�[0m�[91m: No such file or directory
�[0mtime="2016-12-01T14:45:51Z" level=info msg="The command [/bin/sh -c /bin/bash -c \"source /rvm_env.sh && /install\"] returned a non-zero code: 1" 

So really it seems in all instances, the build is just failing before the tests. I'm curious as to the other reasons it has been failing like this now.

@moylop260
Copy link
Contributor

The real fail is creating symbolic link /openerp/addons/server_environment_files No such file or directory

That line is in /install section from travis.yml

The command should be: ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files

But the path received was /openerp/addons/server_environment_files
Then TRAVIS_BUILD_DIRwas equal to /openerp/addons?

@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

@moylop260
Copy link
Contributor

moylop260 commented Dec 1, 2016

I can confirm that this issue is because we have 2 server with different environments.
Using rebuilds of PR 611 from runbot/server-tools:

build

@gurneyalex Could you help us to get the differences between runbot2 (fine!) and runbot1 (failing), please?

  • docker version
  • travisfile2dockerfile --version
  • Sha of runbot-addons and odoo-extra

@moylop260
Copy link
Contributor

Or wait this looks like as a flaky error

It's not a runbot1 vs runbot2 error because I have the same issue with runbot2 too in a few cases:
screen shot 2016-12-01 at 12 01 54 pm

@moylop260
Copy link
Contributor

moylop260 commented Dec 1, 2016

I saw differences between a test_10_job.log fine and other one failing:

step job_10_test_base-red.txt 🔴 job_10_test_base-green.txt 🍏
19
`RUN cat ${HOME}/.ssh/id_rsa.pub
tee -a ${HOME}/.ssh/authorized_keys` cat: /root/.ssh/id_rsa.pub: No such file or directory
21
RUN /bin/bash -c "source /rvm_env.sh && /install"
/install: line 61: getaddons.py: command not found
/install: line 66: getaddons.py: command not found
Cloning into '/root/maintainer-quality-tools'...
Cloning into '/root/maintainer-quality-tools'...

@moylop260
Copy link
Contributor

@lasley
I think are issues related with a old docker version installed from OCA server.

You have installed a newest, then we can confirm or reject this theory if you have a similar case of this issue in your runbot.

@lasley
Copy link
Contributor Author

lasley commented Dec 1, 2016

@moylop260 I did not find this specific issue in my log grep's. The step you noted is the RVM install though, and I haven't updated my prod runbot to our new changes yet. Shall I do that and monitor?

@Garamotte
Copy link

If it can help, looking at OCA's runbot server, I think the first error in the logs is:

Step 19 : RUN cat ${HOME}/.ssh/id_rsa.pub | tee -a ${HOME}/.ssh/authorized_keys
 ---> Running in c323e29eba97
�[91mcat: /root/.ssh/id_rsa.pub�[0m�[91m: No such file or directory
�[0m ---> 2c13cdafa356
Removing intermediate container c323e29eba97

This error can be seen here and here

@moylop260
Copy link
Contributor

I saw that the real issue is a command not found from step 21

Could you run in your runbot server the following command rgrep "command not found" odoo-extra/runbot/static/build/*/logs --include=job_10_test_base.txtplease?

@moylop260
Copy link
Contributor

@sylvain-garancher
Thanks for tip.

That is not the real error because we have that output from green case and red one. (I just updated my table with that case)

@moylop260
Copy link
Contributor

moylop260 commented Dec 2, 2016

@gurneyalex
I remember issues related with filesystem for old docker version (But I don't have the reference now)
Could we upgrade docker 1.6.2 to 1.12.2?

FYI our http://runbot.vauxoo.com has working fine with the following version:

...
Server:
 Version:      1.12.2
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   bb80604
 Built:        Tue Oct 11 18:29:41 2016
 OS/Arch:      linux/amd64

For this case where a old version of docker is installed you will need apply a manual change base on docker-release-1.12.2 documentation.

release

For new version of docker they are using systemctl and is required a task=inifinity configuration to avoid the error Running in 75818fbb42af rpc error: code = 2 desc = "containerd: container did not start before the specified timeout"

You will need the following configuration:

echo """
[Service]
TasksMax=infinity
""" > /etc/systemd/system/docker.service.d/docker.conf

Maybe we (@ruiztulio and me) could help you to configure the servers together.

Tell us if is a good idea for you

@gurneyalex
Copy link
Member

we are currently running travis2docker-3.0.9-py2.7.egg and Docker version 1.6.2, build 7c8fca2

@gurneyalex
Copy link
Member

I'll handle the upgrade this week end.

@gurneyalex
Copy link
Member

gurneyalex commented Dec 7, 2016

@moylop260 The output of this is quite long...

This one is on runbot1:
grep.txt.gz

This one is on runbot2:
grep2.txt.gz

moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
@moylop260
Copy link
Contributor

moylop260 commented Dec 8, 2016

Reviewing the files from rgrep output (thanks @gurneyalex) I saw that the script files are corrupt by a variable not reseted and items shared.

Thanks in advance.

@moylop260
Copy link
Contributor

moylop260 commented Dec 8, 2016

@gurneyalex
Could we disable OCA/OCB to build from travis2docker?

FYI I saw that the lines inserted come from this project:

But currently t2d is incompatible with this project (WIP)

Forget it @max3903 help me to disable it, thanks

moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
- Use a copy of ids list instead of original pointer
moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
- Use a copy of ids list instead of original pointer
moylop260 added a commit to vauxoo-dev/runbot-addons that referenced this issue Dec 8, 2016
- Helps to fix OCA#111
- Use a unique name of image
- Use a unique path of t2d scripts
- Remove use of global sys.args (Using directly the t2d class)
- Add _log db and logger in order to self-debug
- Use a copy of ids list instead of original pointer
@moylop260 moylop260 reopened this Dec 8, 2016
@moylop260
Copy link
Contributor

moylop260 commented Dec 9, 2016

For record, this issue was a bug in travis2docker with non-ideal cases.

Previous

We have a class with a my_var similar to:

class MyClass(object):
     my_var = None

     def my_method(self, error=None):
         for local_variable in range(10, 11):
                self.my_var = local_variable
                assert not error, error
         self.my_var = None

Ideal case works fine! 🍏

obj1 = MyClass()
obj1.my_method("")
print obj1.my_var  # None: Good!

But if there is a error the variable is dirty 🔴

obj2 = MyClass()
obj2.my_method(error="no ideal case")
print obj2.my_var  # It's not None has the value 10 :(

We have a non-ideal case in OCA's runbot (e.g. OCA/OCB) and the flaky error was injected.
We can reproduce it running:
travisfile2dockerfile https://github.com/OCA/OCB.git 10.0

Traceback (most recent call last):
  File "travisfile2dockerfile", line 11, in <module>
    sys.exit(main())
  File "travis2docker/cli.py", line 184, in main
    raise InvalidRepoBranchError(msg)
travis2docker.exceptions.InvalidRepoBranchError: The repo or the branch is incorrect value, because It can not got the .travis.yml content from [email protected]:OCA/OCB.git 10.0.
Please, verify access repository,
verify exists url and revision,
verify exists .travis.yml

Fixes

Then we need the followings fixes:

class MyClass(object):
-   my_var = None
+ # Fix mutable variable https://github.com/Vauxoo/travis2docker/commit/7128cc2014
+    def __init__(self):
+        self.my_var = None

     def my_method(self, error=None):
+ # Fix reset to start and end: https://github.com/Vauxoo/travis2docker/commit/2b3afcce1b5565c422
+        self.my_var = None
         for local_variable in range(10, 11):
                self.my_var = local_variable
                assert not error, error
         self.my_var = None

Add a .travis.yml to OCA/OCB#10.0 or disable travis2docker check from runbot. (Disabled by @max3903)

Sorry for this issue and thanks for help.

@lasley
Copy link
Contributor Author

lasley commented Dec 9, 2016

Seriously how the hell did you figure this out @moylop260?! I just wanted to drop my wtf, let me know if I can help any 😄

@moylop260
Copy link
Contributor

Offtopic:
We need help to migrate new global-matrix .travis.yml style.
Because we have some projects without the environment variableTESTS="1" and runbot is skipping

@lasley
Copy link
Contributor Author

lasley commented Dec 9, 2016

Yeah I just ran into that a few days ago. It would be nice if we could get a report of the skipping build branches. Maybe an export from Runbot filtered by skipped, grouped by branch?

@moylop260
Copy link
Contributor

Maybe our friend @max3903 could help us with that report

@lasley
Copy link
Contributor Author

lasley commented Dec 9, 2016

Do we have any sort of mass-commit scripts/framework or anything? I know I've seen mass commits before, which is why I ask.

@pedrobaeza
Copy link
Member

They are done for the occasion. You can take a look to https://github.com/OCA/maintainer-tools/blob/master/tools/migrate_branch.py for example that some changes made on live on GitHub.

@gurneyalex
Copy link
Member

hello all, I'm back from a long and mostly offline vacation which was really needed.

@moylop260 congratulations for figuring this out and fixing it! 😻

@lasley I usually do these with bash scripts and the help of the clone_everything script in maintainer tools (1. clone everything and then make a loop on all repos and all branches, sed stuff and commit + push).

@moylop260
Copy link
Contributor

@gurneyalex
In order to close this issue a step is required:
pip install --upgrade travis2docker

Could you help us?

@gurneyalex
Copy link
Member

@moylop260 3.0.13 installed

@moylop260
Copy link
Contributor

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants