Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3144

make_dist.py broken

    XMLWordPrintable

    Details

      Description

      I had a problem during the release of version 3.6.2 with the make_dist script. Here is the output:

      root@build:/srv/openattic# ./utils/make_dist.py create release --adapt-debian-changelog --revision=stable --tag --sign --push-changes --source=/srv/openattic
      WARNING:root:/srv/openattic
      __main__ 2018-03-01 14:43:34,859 INFO  'which' 'npm'
      INFO:__main__: 'which' 'npm'
      __main__ 2018-03-01 14:43:34,863 INFO File .npmrc has been extended.
      INFO:__main__:File .npmrc has been extended.
      __main__ 2018-03-01 14:43:34,863 INFO  'bash' '-c' 'hash -r'
      INFO:__main__: 'bash' '-c' 'hash -r'
      __main__ 2018-03-01 14:43:34,866 INFO Skipping retrieval of https://bitbucket.org/openattic/oa_cache because it already exists in /root/.cache/openattic-build/oa_cache
      INFO:__main__:Skipping retrieval of https://bitbucket.org/openattic/oa_cache because it already exists in /root/.cache/openattic-build/oa_cache
      __main__ 2018-03-01 14:43:34,866 INFO /root/.cache/openattic-build/oa_cache 'git' 'pull'
      INFO:__main__:/root/.cache/openattic-build/oa_cache 'git' 'pull'
      __main__ 2018-03-01 14:43:36,457 INFO  'cp' '-r' '/srv/openattic' '/tmp/oa_tmp_build_dir/openattic'
      INFO:__main__: 'cp' '-r' '/srv/openattic' '/tmp/oa_tmp_build_dir/openattic'
      __main__ 2018-03-01 14:44:05,795 INFO  'git' 'rev-parse' 'HEAD'
      INFO:__main__: 'git' 'rev-parse' 'HEAD'
      __main__ 2018-03-01 14:44:05,799 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'add' '--all'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'add' '--all'
      __main__ 2018-03-01 14:44:05,835 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'commit' '-s' '-a' '-m' 'Testbuild'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'commit' '-s' '-a' '-m' 'Testbuild'
      __main__ 2018-03-01 14:44:05,850 ERROR failed to commit. Ignoring
      Traceback (most recent call last):
        File "./utils/make_dist.py", line 606, in build
          _commit_changes('Testbuild', self._tmp_oa_clone_dir)
        File "./utils/make_dist.py", line 296, in _commit_changes
          exit_on_error=exit_on_error)
        File "./utils/make_dist.py", line 217, in process_run
          raise Exception('Error occurred, exiting')
      Exception: Error occurred, exiting
      ERROR:__main__:failed to commit. Ignoring
      Traceback (most recent call last):
        File "./utils/make_dist.py", line 606, in build
          _commit_changes('Testbuild', self._tmp_oa_clone_dir)
        File "./utils/make_dist.py", line 296, in _commit_changes
          exit_on_error=exit_on_error)
        File "./utils/make_dist.py", line 217, in process_run
          raise Exception('Error occurred, exiting')
      Exception: Error occurred, exiting
      __main__ 2018-03-01 14:44:05,851 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'fetch'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'fetch'
      __main__ 2018-03-01 14:44:06,559 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'checkout' 'da90cd7540836ee389a75467d310420288a034c2'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'checkout' 'da90cd7540836ee389a75467d310420288a034c2'
      Note: checking out 'da90cd7540836ee389a75467d310420288a034c2'.You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this
      state without impacting any branches by performing another checkout.If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -b with the checkout command again. Example:  git checkout -b <new-branch-name>HEAD is now at da90cd7... Merged in Exotelis/openattic/stable (pull request #843)
      __main__ 2018-03-01 14:44:06,579 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'reset' '--hard' 'da90cd7540836ee389a75467d310420288a034c2'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'reset' '--hard' 'da90cd7540836ee389a75467d310420288a034c2'
      __main__ 2018-03-01 14:44:06,595 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'clean' '-dfx'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'clean' '-dfx'
      __main__ 2018-03-01 14:44:06,977 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'checkout' 'da90cd7540836ee389a75467d310420288a034c2'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'checkout' 'da90cd7540836ee389a75467d310420288a034c2'
      HEAD is now at da90cd7... Merged in Exotelis/openattic/stable (pull request #843)
      __main__ 2018-03-01 14:44:06,997 INFO /tmp/oa_tmp_build_dir/openattic 'debchange' '--distribution' 'unstable' '--force-distribution' '--force-bad-version' '--newversion' '3.6.2-1' 'New upstream release 3.6.2-1, see CHANGELOG for details'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'debchange' '--distribution' 'unstable' '--force-distribution' '--force-bad-version' '--newversion' '3.6.2-1' 'New upstream release 3.6.2-1, see CHANGELOG for details'
      utf8 "\xFC" does not map to Unicode at /usr/bin/debchange line 1268, <S> chunk 6.
      Malformed UTF-8 character (unexpected non-continuation byte 0x6c, immediately after start byte 0xfc) in print at /usr/bin/debchange line 1268, <S> chunk 6.
      Code point 0x0000 is not Unicode, may not be portable at /usr/bin/debchange line 1268, <S> chunk 6.
      __main__ 2018-03-01 14:44:07,140 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'add' '--all'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'add' '--all'
      __main__ 2018-03-01 14:44:07,150 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'commit' '-s' '-a' '-m' 'Update `debian/changelog` for release'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'commit' '-s' '-a' '-m' 'Update `debian/changelog` for release'
      __main__ 2018-03-01 14:44:07,158 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'tag' 'v3.6.2-1'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'tag' 'v3.6.2-1'
      __main__ 2018-03-01 14:44:07,161 INFO /tmp/oa_tmp_build_dir/openattic 'git' 'push'
      INFO:__main__:/tmp/oa_tmp_build_dir/openattic 'git' 'push'
      fatal: No configured push destination.
      Either specify the URL from the command-line or configure a remote repository using    git remote add <name> <url>and then push using the remote name    git push <name>Traceback (most recent call last):
        File "./utils/make_dist.py", line 686, in <module>
          dist_builder.run()
        File "./utils/make_dist.py", line 676, in run
          abs_tarball_file_path = self.build()
        File "./utils/make_dist.py", line 653, in build
          _push_changes(self._tmp_oa_clone_dir)
        File "./utils/make_dist.py", line 300, in _push_changes
          process_run(['git', 'push'], cwd=repo_dir)
        File "./utils/make_dist.py", line 217, in process_run
          raise Exception('Error occurred, exiting')
      Exception: Error occurred, exiting
      
      

      Since Sebastian Wagner was the last person who worked on it I assigned it to him. I hope you don't mind

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                swagner Sebastian Wagner
                Reporter:
                skrah Krah, Sebastian
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: